French translation updated, and a few other minor things fixed
-
Hi bjorsq,
Thank you for this nice and really helpful plugin with templates that can deal with Excerpts (or that are modified to do it)!
I found some issues regarding the translation file names: they must have the language code AND the country code, like this: rich-text-excerpts-fr_FR.po. If not, the translation doesn’t work (at least with WP 3.6)…
So, I did this for the french language and I updated the tranlsations (even the .pot file, for a few more strings).
I also made two minor changes into rich-text-excerpts.php, at lines:
– #255 to #260: I changed
add_settings_section( 'post-type-options', 'Post Types', array( __CLASS__, 'options_section_text' ), 'rte' );
to
add_settings_section( 'post-type-options', __('Post Types', 'rich-text-excerpts'), array( __CLASS__, 'options_section_text' ), 'rte' );
– #339: I changed
printf('<p class="rte-post-types-inputs"><input class="rte-post-types" type="checkbox" name="rich_text_excerpts_options[supported_post_types][]" id="supported_post_types-%s" value="%s"%s /> <label for="supported_post_types-%s">%s</label></p>', $post_type, $post_type, $chckd, $post_type, $post_type);
to
printf('<p class="rte-post-types-inputs"><input class="rte-post-types" type="checkbox" name="rich_text_excerpts_options[supported_post_types][]" id="supported_post_types-%s" value="%s"%s /> <label for="supported_post_types-%s">%s</label></p>', $post_type, $post_type, $chckd, $post_type, __(ucfirst($post_type)));
I also integrates some CSS rules as told in this topic > https://www.ads-software.com/support/topic/better-look-with-a-few-extra-lines-of-code
All are in this ZIP file > https://www.nicolasullern.net/_Upload/rich-text-excerpts_1.2.1_Modded.zip
A preview of the Settings page in french (with also a custom content type in the Content list) > https://img843.imageshack.us/img843/4472/xvo7.png
Regards,
Johan
- The topic ‘French translation updated, and a few other minor things fixed’ is closed to new replies.