Fork me on GitHub
Current release is 2.1.5 (31 Oct 2014).

Users who have not yet upgraded to 2.1 should get security release 2.0.18.14 (1 Nov 2014). We will stop providing these security releases to 2.0 at the end of this year.

Missing definitions in the Baseline Locale

renerene New
edited June 2011 in Localization
This discussion is related to the Baseline Locale addon.
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. ;)
Tagged:

Comments

  • renerene New
    edited January 2011
    @Todd: I've listed the missing definitions mentioned above so you can easely add them to the Baseline Locale addon.

    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']

  • @rene I'm using your Dutch locale, but seem to be missing some more translations.

    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
  • Hello, me again :)

    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
  • renerene New
    edited March 2011

    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?
    Did you change the file captured.php of captured_admin.php? Some definitions also need to be translated in the captured_admin.php file. Not very logical...
    @rene I'm using your Dutch locale, but seem to be missing some more translations.

    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
    I know. I couldn't find some definitions not mentioned in the baseline lokale. And when I found them I couldn't add the definition in my lokale. I'll look into it as soon as I can and then I'll update the dutch lokale.
  • Anyone planning to add the aforementioned missing items to the baseline locale, copy/paste this into the respective files to save yourself some time:

    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)
  • how(what code) should I put to edit "You need to confirm your email address before you can continue. Please confirm your email address by clicking on the following link: 'link' " from confirmation email?
    Thanks!
  • edited July 2011
    One more thing If someone can help, [edit] solved
Sign In or Register to comment.