HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Missing definitions in the Baseline Locale
rene
New
While making the Dutch locale I found some definitions missing in the Baseline Locale. When I could, I added the missing definition at the top of my locale.
@Todd: If you wanted to make the Baseline locale more complete you could check my captured.php and captured_admin.php files. (http://vanillaforums.org/addon/dutch-locale)
There are still some translations for the Dashboard missing for which I could not guess a definition.
@Todd: If you wanted to make the Baseline locale more complete you could check my captured.php and captured_admin.php files. (http://vanillaforums.org/addon/dutch-locale)
There are still some translations for the Dashboard missing for which I could not guess a definition.
Tagged:
0
Comments
These definitions were missing in captured.php:
$Definition['Save Comment'] $Definition['Unannounce'] $Definition['Announcement'] $Definition['Dismiss'] $Definition['Closed'] $Definition['Reopen'] $Definition['Old Password'] $Definition['New Password'] $Definition['Change Password'] $Definition['Add a Comment'] $Definition['Edit Discussion'] $Definition['Uninvite'] $Definition['Send Again'] $Definition['Pending']
And these were missing in captured_admin.php:
$Definition['Change Picture'] $Definition['Edit Thumbnail'] $Definition['Remove Picture'] $Definition['Get More Themes'] $Definition['Add Role'] $Definition['Role Name'] $Definition['Check all permissions that apply to this role:'] $Definition['Allow'] $Definition['Manage'] //Forum settings: $Definition['Add Category'] $Definition['Don\'t use Categories'] $Definition['Authors can always edit their posts'] $Definition['Authors can edit for 1 month after posting'] $Definition['Authors can edit for 1 week after posting'] $Definition['Authors can edit for 1 day after posting'] $Definition['Authors can edit for 30 minutes after posting'] $Definition['Authors can edit for 15 minutes after posting'] $Definition['Authors can edit for 5 minutes after posting'] $Definition['Authors cannot edit their posts'] $Definition['Don\'t Refresh'] $Definition['Every 5 seconds'] $Definition['Every 10 seconds'] $Definition['Every 30 seconds'] $Definition['Every 1 minute'] $Definition['Every 5 minutes'] $Definition['Use categories to organize discussions'] $Definition['Exclude archived discussions from the discussions list'] //Addons: $Definition['Get More Plugins'] $Definition['Get More Applications'] //Settings: $Definition['Use an SMTP server to send email'] $Definition['Get more information on creating custom routes'] //Import: $Definition['Use My Current Password']
i.e. "This discussion has been closed" found in the footer of a closed topic.
When I check applications/vanilla/views/discussion/index.php I see:
line 57:
<div class="Note Closed"><?php echo T('This discussion has been closed.'); ?></div>
But when I add a $definition to the Dutch captured.php Vanilla doesn't 'see' it.
How can we fix this?
Thanks,
Sander
Tried to change the translation in the top menu bar, 'discussion', but it won't change.. strange, because there's allready a Dutch translation for it.. I just want to use another word ;-)
Any ideas?
Thanks,
Sander
captured_admin.php:
// These additions taken from http://vanillaforums.org/discussion/14081/missing-definitions-in-the-baseline-locale $Definition['Change Picture'] = 'Change Picture'; $Definition['Edit Thumbnail'] = 'Edit Thumbnail'; $Definition['Remove Picture'] = 'Remove Picture'; $Definition['Get More Themes'] = 'Get More Themes'; $Definition['Add Role'] = 'Add Role'; $Definition['Role Name'] = 'Role Name'; $Definition['Check all permissions that apply to this role:'] = 'Check all permissions that apply to this role:'; $Definition['Allow'] = 'Allow'; $Definition['Manage'] = 'Manage'; //Forum settings: $Definition['Add Category'] = 'Add Category'; $Definition['Don\'t use Categories'] = 'Don\'t use Categories'; $Definition['Authors can always edit their posts'] = 'Authors can always edit their posts'; $Definition['Authors can edit for 1 month after posting'] = 'Authors can edit for 1 month after posting'; $Definition['Authors can edit for 1 week after posting'] = 'Authors can edit for 1 week after posting'; $Definition['Authors can edit for 1 day after posting'] = 'Authors can edit for 1 day after posting'; $Definition['Authors can edit for 30 minutes after posting'] = 'Authors can edit for 30 minutes after posting'; $Definition['Authors can edit for 15 minutes after posting'] = 'Authors can edit for 15 minutes after posting'; $Definition['Authors can edit for 5 minutes after posting'] = 'Authors can edit for 5 minutes after posting'; $Definition['Authors cannot edit their posts'] = 'Authors cannot edit their posts'; $Definition['Don\'t Refresh'] = 'Don\'t Refresh'; $Definition['Every 5 seconds'] = 'Every 5 seconds'; $Definition['Every 10 seconds'] = 'Every 10 seconds'; $Definition['Every 30 seconds'] = 'Every 30 seconds'; $Definition['Every 1 minute'] = 'Every 1 minute'; $Definition['Every 5 minutes'] = 'Every 5 minutes'; $Definition['Use categories to organize discussions'] = 'Use categories to organize discussions'; $Definition['Exclude archived discussions from the discussions list'] = 'Exclude archived discussions from the discussions list'; //Addons: $Definition['Get More Plugins'] = 'Get More Plugins'; $Definition['Get More Applications'] = 'Get More Applications'; //Settings: $Definition['Use an SMTP server to send email'] = 'Use an SMTP server to send email'; $Definition['Get more information on creating custom routes'] = 'Get more information on creating custom routes'; //Import: $Definition['Use My Current Password'] = 'Use My Current Password';
captured.php:
// These additions taken from http://vanillaforums.org/discussion/14081/missing-definitions-in-the-baseline-locale $Definition['Save Comment'] = 'Save Comment'; $Definition['Unannounce'] = 'Unannounce'; $Definition['Announcement'] = 'Announcement'; $Definition['Dismiss'] = 'Dismiss'; $Definition['Closed'] = 'Closed' ; $Definition['Reopen'] = 'Reopen'; $Definition['Old Password'] = 'Old Password'; $Definition['New Password'] = 'New Password'; $Definition['Change Password'] = 'Change Password'; $Definition['Add a Comment'] = 'Add a Comment'; $Definition['Edit Discussion'] = 'Edit Discussion'; $Definition['Uninvite'] = 'Uninvite'; $Definition['Send Again'] = 'Send Again'; $Definition['Pending'] = 'Pending';
(ps groetjes en dank rene)
Thanks!
https://github.com/vanillaforums/Garden/blob/master/applications/dashboard/locale/en-CA/definitions.php#L100