i18n issues
-
Hi Brajesh,
i got some translation errors in mpp-admin.php
Line 276, ‘label’ has a whitespace after %s'label' => sprintf( _x( 'Allowed extensions for %s ', 'Settings page', 'mediapress' ), $type ),
This space is not visible in poEdit, so it throws an error when you don’t add it at the end of the phrase. That’s very annoying. Removing the space solve the issue.
Line 277, ‘desc’ contains a var %s which make it unable to get translated in poEdit.
This was a nightmare to debug and i have no clue what happens here. I presume it’s because label and desc share the same $type, in which case %s is only recognized once by gettext. But they’re 2 %s… So i would change the description to something more simple, such as:
'desc' => _x( 'Separate file extensions by comma', 'Settings page', 'mediapress' ),
This solution is working.
Missing i18n for label on line 489
'label' => 'Enable Commenting on single Gallery?',
Replace by:
'label' => _x( 'Enable Commenting on single Gallery?', 'admin theme comment settings', 'mediapress' ),
On frontend, while on manage gallery, add a media, the breadcrumb final remains in english.
URL: ../manage/add/
Breadcrumb: Your Galleries/gallery_name/AddUnsure where this “add” is coded, so i have no solution for this at the moment.
Hope you can arrange this in a next update.
- The topic ‘i18n issues’ is closed to new replies.