translate the ShareLink action sheet label to French
Cette révision appartient à :
@@ -1,7 +1,6 @@
|
|||||||
(function () {
|
(function () {
|
||||||
var pluginId = "68540b76-ee74-436d-85ff-2abc884bbea6";
|
var pluginId = "68540b76-ee74-436d-85ff-2abc884bbea6";
|
||||||
var copyLabel = "Copy Stream URL";
|
var copyLabel = "Copy Stream URL";
|
||||||
var actionLabel = "ShareLink";
|
|
||||||
var clientVersion = "1.0.6-ui-1";
|
var clientVersion = "1.0.6-ui-1";
|
||||||
var allowedItemStorageKey = "sharelinks.allowedItemId";
|
var allowedItemStorageKey = "sharelinks.allowedItemId";
|
||||||
var guestClassName = "sharelinks-guest";
|
var guestClassName = "sharelinks-guest";
|
||||||
@@ -127,6 +126,7 @@
|
|||||||
hours: "hours",
|
hours: "hours",
|
||||||
day: "day",
|
day: "day",
|
||||||
days: "days",
|
days: "days",
|
||||||
|
shareAction: "ShareLink",
|
||||||
},
|
},
|
||||||
fr: {
|
fr: {
|
||||||
modalTitle: "Créer un lien invité",
|
modalTitle: "Créer un lien invité",
|
||||||
@@ -163,6 +163,7 @@
|
|||||||
hours: "heures",
|
hours: "heures",
|
||||||
day: "jour",
|
day: "jour",
|
||||||
days: "jours",
|
days: "jours",
|
||||||
|
shareAction: "Partager un lien",
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -1024,8 +1025,8 @@
|
|||||||
// duplicate an existing menu item's id and let the action sheet run that
|
// duplicate an existing menu item's id and let the action sheet run that
|
||||||
// command instead; strip it.
|
// command instead; strip it.
|
||||||
action.removeAttribute("data-id");
|
action.removeAttribute("data-id");
|
||||||
action.setAttribute("aria-label", actionLabel);
|
action.setAttribute("aria-label", t("shareAction"));
|
||||||
action.setAttribute("title", actionLabel);
|
action.setAttribute("title", t("shareAction"));
|
||||||
action.dataset.sharelinksItemId = itemId;
|
action.dataset.sharelinksItemId = itemId;
|
||||||
|
|
||||||
setActionLabel(action);
|
setActionLabel(action);
|
||||||
@@ -1056,11 +1057,11 @@
|
|||||||
action.querySelector(".actionSheetItemText") ||
|
action.querySelector(".actionSheetItemText") ||
|
||||||
action.querySelector(".listItemBodyText");
|
action.querySelector(".listItemBodyText");
|
||||||
if (text) {
|
if (text) {
|
||||||
text.textContent = actionLabel;
|
text.textContent = t("shareAction");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
action.textContent = actionLabel;
|
action.textContent = t("shareAction");
|
||||||
}
|
}
|
||||||
|
|
||||||
function setActionIcon(action) {
|
function setActionIcon(action) {
|
||||||
|
|||||||
Référencer dans un nouveau ticket
Bloquer un utilisateur