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