HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

TitleLimit Localization thread

This discussion is related to the TitleLimit addon.
K17K17 Français / French Paris, France ✭✭✭
edited August 2016 in Localization

Hi everyone!
This thread is here if you have translated the TitleLimit plugin :)

For create a translation, you jusst need to go in the TitleLimit/locale folder, add your translation (If your Vanilla's locale folder is vf_fr, you shoud name the file fr.php), and use this code:

<?php if (!defined('APPLICATION')) exit();

//User message
$Definition['TitleLimit UserAlert'] = "Your title is too long. Title must contain %1$s words or less.";

//Dashboard config
$Definition['Title Limit Settings'] = "Title Limit Settings";
$Definition['Words limit in a discussion title'] = "Words limit in a discussion title";

But translated by you ;) And when it's done, and tested, send it here, I will add yours into the next plugin version.

NB: In the $Definition['TitleLimit UserAlert'], use %1$s to replace the limit number who can be changed in the settings page.

Sign In or Register to comment.