Skip to toolbar

WordPress.org

New to Translating WordPress? Read through our Translator Handbook to get started. Hide

Translation of Development Readme (trunk): Chinese (Taiwan)

1 2 3 4 12
Filter ↓ Sort ↓ All (180) Untranslated (180) Waiting (0) Fuzzy (0) Warnings (0)
Prio Original string Translation
If you wish to completely replace Document Gallery styling with your own CSS, you can prevent any any CSS being loaded by returning false in <code>dg_use_default_gallery_style</code> filter, like so: add_filter('dg_use_default_gallery_style', '__return_false'); You have to log in to add a translation. Details

Original untranslated

If you wish to completely replace Document Gallery styling with your own CSS, you can prevent any any CSS being loaded by returning false in <code>dg_use_default_gallery_style</code> filter, like so: add_filter('dg_use_default_gallery_style', '__return_false');
Comment

Found in installation paragraph, faq paragraph.

You have to log in to edit this translation.

Meta

Status:
untranslated
Priority of the original:
normal
One example use-case would be to include images in your gallery (which are not included by default). To do this, you would simply set mime_types=application,video,text,audio,image, where "image" is the only difference from the default value. You could also create a gallery which only includes PDFs by setting <code>mime_types=application/pdf</code>. You have to log in to add a translation. Details

Original untranslated

One example use-case would be to include images in your gallery (which are not included by default). To do this, you would simply set mime_types=application,video,text,audio,image, where "image" is the only difference from the default value. You could also create a gallery which only includes PDFs by setting <code>mime_types=application/pdf</code>.
Comment

Found in installation paragraph, faq paragraph.

You have to log in to edit this translation.

Meta

Status:
untranslated
Priority of the original:
normal
<strong>%size%</strong>: The human-readable file size formatted by <a href="https://codex.wordpress.org/Function_Reference/size_format">size_format</a>. You have to log in to add a translation. Details

Original untranslated

<strong>%size%</strong>: The human-readable file size formatted by <a href="https://codex.wordpress.org/Function_Reference/size_format">size_format</a>.
Comment

Found in installation list item, faq list item.

You have to log in to edit this translation.

Meta

Status:
untranslated
Priority of the original:
normal
<strong>%rows%</strong>: This tag is replaced by all of the document gallery rows. Everything before this string will be rendered before the gallery and everything after this string will be rendered following the gallery. You have to log in to add a translation. Details

Original untranslated

<strong>%rows%</strong>: This tag is replaced by all of the document gallery rows. Everything before this string will be rendered before the gallery and everything after this string will be rendered following the gallery.
Comment

Found in installation list item, faq list item.

You have to log in to edit this translation.

Meta

Status:
untranslated
Priority of the original:
normal
<code>parent</code> - Order by post/page parent id. (Only useful in conjunction with <code>localpost=false</code> option.) You have to log in to add a translation. Details

Original untranslated

<code>parent</code> - Order by post/page parent id. (Only useful in conjunction with <code>localpost=false</code> option.)
Comment

Found in installation list item, faq list item.

You have to log in to edit this translation.

Meta

Status:
untranslated
Priority of the original:
normal
<code>menu_order</code> - This is probably the one you want to use. Menu order is the order that icons appear when seen in the Insert / Upload Media Gallery dialog. To change this order, you simply drag the icons around until they are where you want them. In earlier versions of WordPress, menu_order was modified by the integer fields in the Insert / Upload Media Gallery dialog. These fields no longer exist in recent releases. You have to log in to add a translation. Details

Original untranslated

<code>menu_order</code> - This is probably the one you want to use. Menu order is the order that icons appear when seen in the Insert / Upload Media Gallery dialog. To change this order, you simply drag the icons around until they are where you want them. In earlier versions of WordPress, menu_order was modified by the integer fields in the Insert / Upload Media Gallery dialog. These fields no longer exist in recent releases.
Comment

Found in installation list item, faq list item.

You have to log in to edit this translation.

Meta

Status:
untranslated
Priority of the original:
normal
Place <code>[dg]</code> in any posts or pages you want a document gallery included. See below for additional display options. You have to log in to add a translation. Details

Original untranslated

Place <code>[dg]</code> in any posts or pages you want a document gallery included. See below for additional display options.
Comment

Found in installation list item, faq list item.

You have to log in to edit this translation.

Meta

Status:
untranslated
Priority of the original:
normal
A: Remember that Document Gallery defaults to retrieving just attachments for the current post/page. If you want a broader scope of attachments, you'll also need tell Document Gallery to search everywhere like so: <code>[dg id=-1 category="My Awesome Category"]</code>. You have to log in to add a translation. Details

Original untranslated

A: Remember that Document Gallery defaults to retrieving just attachments for the current post/page. If you want a broader scope of attachments, you'll also need tell Document Gallery to search everywhere like so: <code>[dg id=-1 category="My Awesome Category"]</code>.
Comment

Found in faq paragraph.

You have to log in to edit this translation.

Meta

Status:
untranslated
Priority of the original:
normal
Q: I'm using taxonomies, but nothing is showing up in my gallery You have to log in to add a translation. Details

Original untranslated

Q: I'm using taxonomies, but nothing is showing up in my gallery
Comment

Found in faq header.

You have to log in to edit this translation.

Meta

Status:
untranslated
Priority of the original:
normal
The value being filtered is an array of <code>DG_AbstractThumber</code> objects. You will want to look at this abstract class, located in the DG source under <code>inc/thumbers</code> to see how to correctly implement the abstract methods. You'll notice that <code>DG_AbstractThumber::init()</code> will handle creating a singleton instance of your class (though you can opt not to use this logic if you prefer). To register your implementation of <code>DG_AbstractThumber</code> using <code>init()</code>, you would simply call YourThumberClass::init() and all of the work setting up the <code>dg_thumbers</code> filter to include your thumber will be done for you. You have to log in to add a translation. Details

Original untranslated

The value being filtered is an array of <code>DG_AbstractThumber</code> objects. You will want to look at this abstract class, located in the DG source under <code>inc/thumbers</code> to see how to correctly implement the abstract methods. You'll notice that <code>DG_AbstractThumber::init()</code> will handle creating a singleton instance of your class (though you can opt not to use this logic if you prefer). To register your implementation of <code>DG_AbstractThumber</code> using <code>init()</code>, you would simply call YourThumberClass::init() and all of the work setting up the <code>dg_thumbers</code> filter to include your thumber will be done for you.
Comment

Found in installation paragraph, faq paragraph.

You have to log in to edit this translation.

Meta

Status:
untranslated
Priority of the original:
normal
<strong>%data%</strong>: The one ore more data-* attributes for the gallery, which are necessary for client-side operations. You have to log in to add a translation. Details

Original untranslated

<strong>%data%</strong>: The one ore more data-* attributes for the gallery, which are necessary for client-side operations.
Comment

Found in installation list item, faq list item.

You have to log in to edit this translation.

Meta

Status:
untranslated
Priority of the original:
normal
<strong>%class%</strong>: The class attribute value for this gallery. You have to log in to add a translation. Details

Original untranslated

<strong>%class%</strong>: The class attribute value for this gallery.
Comment

Found in installation list item, faq list item.

You have to log in to edit this translation.

Meta

Status:
untranslated
Priority of the original:
normal
<strong>%id%</strong>: The id attribute value for this gallery. You have to log in to add a translation. Details

Original untranslated

<strong>%id%</strong>: The id attribute value for this gallery.
Comment

Found in installation list item, faq list item.

You have to log in to edit this translation.

Meta

Status:
untranslated
Priority of the original:
normal
A: This comes down to how the two programs work. Imagick actually delegates handling of PDFs to Ghostscript behind the scenes, but it doesn't do so intelligently. Before passing off the PDF, it first reads the entire contents of the PDF into memory. Since we only need a single page to generate the thumbnail, this is much more work than is needed. Ghostscript, on the other hand, can handle reading only one page into memory, thus doing much less work before returning our thumbnail. You have to log in to add a translation. Details

Original untranslated

A: This comes down to how the two programs work. Imagick actually delegates handling of PDFs to Ghostscript behind the scenes, but it doesn't do so intelligently. Before passing off the PDF, it first reads the entire contents of the PDF into memory. Since we only need a single page to generate the thumbnail, this is much more work than is needed. Ghostscript, on the other hand, can handle reading only one page into memory, thus doing much less work before returning our thumbnail.
Comment

Found in faq paragraph.

You have to log in to edit this translation.

Meta

Status:
untranslated
Priority of the original:
normal
A: Document Gallery works very hard behind the scenes to ensure that it enables as much as is possible for any given server, but some servers just can't do some of the things that the plugin supports. Document Gallery detects when a server can't do something (run Ghostscript, for example) and disables that option. If you later modify your server to handle one of the thumbnail generation methods, Document Gallery will notice this and re-enable the option on the settings page, though you will need to go in and tell Document Gallery that it should use this newly-enabled method. You have to log in to add a translation. Details

Original untranslated

A: Document Gallery works very hard behind the scenes to ensure that it enables as much as is possible for any given server, but some servers just can't do some of the things that the plugin supports. Document Gallery detects when a server can't do something (run Ghostscript, for example) and disables that option. If you later modify your server to handle one of the thumbnail generation methods, Document Gallery will notice this and re-enable the option on the settings page, though you will need to go in and tell Document Gallery that it should use this newly-enabled method.
Comment

Found in faq paragraph.

You have to log in to edit this translation.

Meta

Status:
untranslated
Priority of the original:
normal
1 2 3 4 12
Legend:
Current
Waiting
Fuzzy
Old
With Warnings

Export as