[TikiWiki-commits] [Git][tikiwiki/tiki][master] [TRA] fr - Add French translations for calendar-related terms
"luci \(@luciash\) via TikiWiki-cvs" <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.cvs |
|---|---|
| Message-ID | <699c5a926b4f5_3b186eb0-3f6@gitlab-sidekiq-low-urgency-cpu-bound-v2-5b77bfdff7-42f2q.mail> |
luci pushed to branch master at Tiki Wiki CMS Groupware / Tiki
Commits:
5f9c6ddd by Bruno Kambere at 2026-02-23T13:34:09+00:00
[TRA] fr - Add French translations for calendar-related terms
---
* [TRA] fr - Add French translations for calendar-related terms and update button labels
See merge request tikiwiki/tiki!9629
- - - - -
2 changed files:
- lang/fr/language.js
- src/js/jquery-tiki/tiki-calendar.js
Changes:
=====================================
lang/fr/language.js
=====================================
@@ -52,6 +52,21 @@ lang = {
"Select Some Options" : "Sélectionnez quelques options",
"No results match" : "Aucun résultat ne correspond",
"Warning: You have exceeded the allowed limit of %0 characters" : "Attention : vous avez dépassé la limite autorisée de %0 caractères.",
+ "Bogus entry" : "Entrée erronnée",
+ "day" : "jour",
+ "today" : "aujourd'hui",
+ "all-day" : "toute la journée",
+ "week" : "semaine",
+ "month" : "mois",
+ "One-Month" : "Un mois",
+ "Quarter" : "Trimestre",
+ "Semester" : "Semestre",
+ "list" : "liste",
+ "Loading..." : "Chargement...",
+ "Copy link to this event" : "Copier le lien de cet événement",
+ "Copied to clipboard" : "Copié dans le presse-papiers",
+ "Failure to copy. Check permissions for clipboard" : "Échec de la copie. Vérifiez les permissions du presse-papiers",
+ "New event" : "Nouvel événement",
+ "Edit event" : "Modifier l'événement"
// remember the IE does not support ending comma on last item
- "Bogus entry" : "Entrée erronnée"
};
=====================================
src/js/jquery-tiki/tiki-calendar.js
=====================================
@@ -56,8 +56,19 @@ $.fn.setupEventCalendar = function (
if (!document.getElementById("quarter")) {
const ecStart = document.querySelector(".ec-start");
const buttonMonthView = document.createElement("div");
+ const quarterText = tr("Quarter");
+ const semesterText = tr("Semester");
+ const oneMonthText = tr("One-Month");
buttonMonthView.innerHTML =
- '<button class="ec-button" id="one-month">One-Month</button><button class="ec-button" id="quarter">Quarter</button><button class="ec-button" id="semester">Semester</button>';
+ '<button class="ec-button" id="one-month">' +
+ oneMonthText +
+ "</button>" +
+ '<button class="ec-button" id="quarter">' +
+ quarterText +
+ "</button>" +
+ '<button class="ec-button" id="semester">' +
+ semesterText +
+ "</button>";
ecStart.appendChild(buttonMonthView);
}
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/5f9c6ddd1475f45b9dafb7cfad5f579a3c7b4ecd
--
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/5f9c6ddd1475f45b9dafb7cfad5f579a3c7b4ecd
You're receiving this email because of your account on gitlab.com. Manage all notifications: https://gitlab.com/-/profile/notifications | Help: https://gitlab.com/help
_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs