Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

Commit eee00e3

Browse files
committed
Missing translation for desktop notification button.
1 parent 36eb5ee commit eee00e3

File tree

8 files changed

+27
-13
lines changed

8 files changed

+27
-13
lines changed

core/src/plugins/core.notifications/manifest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,12 @@
105105
<processing>
106106
<clientCallback><![CDATA[
107107
if(window.Notification){
108-
alert('Depending on your browser, this will ask for a specific permission. To disable, go through your browser preferences and exceptions. If you have already enabled this feature, probably nothing will hapen.');
108+
alert(pydio.MessageHash["notification_center.12"]);
109109
window.Notification.requestPermission(function(grant) {
110110
['default', 'granted', 'denied'].indexOf(grant) === true
111111
});
112112
}else{
113-
alert('Your browser does not seem to support Desktop Notifications yet.');
113+
alert(pydio.MessageHash["notification_center.13"]);
114114
}
115115
]]></clientCallback>
116116
</processing>

core/src/plugins/core.notifications/res/i18n/de.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,6 @@
3737
"9" => "Aktivit&auml;ten Arbeitsumgebungen",
3838
"10" => "Ordner-Aktivit&auml;ten",
3939
"11" => "Datei-Aktivit&auml;ten",
40+
"12" => "Depending on your browser, this will ask for a specific permission. To disable, go through your browser preferences and exceptions. If you have already enabled this feature, probably nothing will happen.",
41+
"13" => "Your browser does not seem to support Desktop Notifications yet."
4042
);

core/src/plugins/core.notifications/res/i18n/en.php

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,17 @@
1919
* The latest code can be found at <http://pyd.io/>.
2020
*/
2121
$mess=array(
22-
"1" => "Notifications",
23-
"2" => "Notifications feed",
24-
"3" => "Alerts",
25-
"4" => "Notifications",
26-
"5" => "All Events",
27-
"6" => "Go to ...",
28-
"7" => "Dismiss",
29-
"8" => "No alerts",
30-
"9" => "Workspace Activity",
31-
"10"=> "Folder Activity",
32-
"11"=> "File Activity",
22+
"1" => "Notifications",
23+
"2" => "Notifications feed",
24+
"3" => "Alerts",
25+
"4" => "Notifications",
26+
"5" => "All Events",
27+
"6" => "Go to ...",
28+
"7" => "Dismiss",
29+
"8" => "No alerts",
30+
"9" => "Workspace Activity",
31+
"10"=> "Folder Activity",
32+
"11"=> "File Activity",
33+
"12" => "Depending on your browser, this will ask for a specific permission. To disable, go through your browser preferences and exceptions. If you have already enabled this feature, probably nothing will happen.",
34+
"13" => "Your browser does not seem to support Desktop Notifications yet."
3335
);

core/src/plugins/core.notifications/res/i18n/es.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,6 @@
3030
"9" => "Workspace Activity",
3131
"10" => "Folder Activity",
3232
"11" => "File Activity",
33+
"12" => "Depending on your browser, this will ask for a specific permission. To disable, go through your browser preferences and exceptions. If you have already enabled this feature, probably nothing will happen.",
34+
"13" => "Your browser does not seem to support Desktop Notifications yet."
3335
);

core/src/plugins/core.notifications/res/i18n/fr.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,6 @@
3030
"9" => "Activité du dépôt",
3131
"10" => "Activité du dossier",
3232
"11" => "Activité du fichier",
33+
"12" => "En fonction de votre navigateur, une demande de permission devrait apparaître. Cette fonctionnalité affichera des notifications sur votre bureau lorsqu'un nouveau fichier est modifié. Pour la désactiver, rendez vous dans les préférences de votre navigateur.",
34+
"13" => "Votre navigateur ne supporte pas les notifications sur le bureau."
3335
);

core/src/plugins/core.notifications/res/i18n/it.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,6 @@
3030
"9" => "Attività Workspace",
3131
"10"=> "Attività Cartella",
3232
"11"=> "Attività File",
33+
"12" => "Depending on your browser, this will ask for a specific permission. To disable, go through your browser preferences and exceptions. If you have already enabled this feature, probably nothing will happen.",
34+
"13" => "Your browser does not seem to support Desktop Notifications yet."
3335
);

core/src/plugins/core.notifications/res/i18n/pt.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,6 @@
3030
"9" => "Workspace Activity",
3131
"10" => "Folder Activity",
3232
"11" => "File Activity",
33+
"12" => "Depending on your browser, this will ask for a specific permission. To disable, go through your browser preferences and exceptions. If you have already enabled this feature, probably nothing will happen.",
34+
"13" => "Your browser does not seem to support Desktop Notifications yet."
3335
);

core/src/plugins/core.notifications/res/i18n/ru.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,6 @@
3030
"9" => "Активность по рабочему пространству",
3131
"10"=> "Активность по папке",
3232
"11"=> "Активность по файлу",
33+
"12" => "Depending on your browser, this will ask for a specific permission. To disable, go through your browser preferences and exceptions. If you have already enabled this feature, probably nothing will happen.",
34+
"13" => "Your browser does not seem to support Desktop Notifications yet."
3335
);

0 commit comments

Comments
 (0)