Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product

Ready to contribute?

Amazing! Sign our contributors' agreement and then join us on GitHub.

Update for critical security issue in PHPMailer included in release Vanilla 2.3.1

TitleLimit Localization thread

This discussion is related to the TitleLimit addon.
K17K17 Français / FrenchNouvelle Aquitaine / La Rochelle ✭✭✭
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.

keesha
Sign In or Register to comment.