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

Commit

Permalink
Missing translation for desktop notification button.
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Oct 26, 2015
1 parent 36eb5ee commit eee00e3
Show file tree
Hide file tree
Showing 8 changed files with 27 additions and 13 deletions.
4 changes: 2 additions & 2 deletions core/src/plugins/core.notifications/manifest.xml
Expand Up @@ -105,12 +105,12 @@
<processing>
<clientCallback><![CDATA[
if(window.Notification){
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.');
alert(pydio.MessageHash["notification_center.12"]);
window.Notification.requestPermission(function(grant) {
['default', 'granted', 'denied'].indexOf(grant) === true
});
}else{
alert('Your browser does not seem to support Desktop Notifications yet.');
alert(pydio.MessageHash["notification_center.13"]);
}
]]></clientCallback>
</processing>
Expand Down
2 changes: 2 additions & 0 deletions core/src/plugins/core.notifications/res/i18n/de.php
Expand Up @@ -37,4 +37,6 @@
"9" => "Aktivit&auml;ten Arbeitsumgebungen",
"10" => "Ordner-Aktivit&auml;ten",
"11" => "Datei-Aktivit&auml;ten",
"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.",
"13" => "Your browser does not seem to support Desktop Notifications yet."
);
24 changes: 13 additions & 11 deletions core/src/plugins/core.notifications/res/i18n/en.php
Expand Up @@ -19,15 +19,17 @@
* The latest code can be found at <http://pyd.io/>.
*/
$mess=array(
"1" => "Notifications",
"2" => "Notifications feed",
"3" => "Alerts",
"4" => "Notifications",
"5" => "All Events",
"6" => "Go to ...",
"7" => "Dismiss",
"8" => "No alerts",
"9" => "Workspace Activity",
"10"=> "Folder Activity",
"11"=> "File Activity",
"1" => "Notifications",
"2" => "Notifications feed",
"3" => "Alerts",
"4" => "Notifications",
"5" => "All Events",
"6" => "Go to ...",
"7" => "Dismiss",
"8" => "No alerts",
"9" => "Workspace Activity",
"10"=> "Folder Activity",
"11"=> "File Activity",
"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.",
"13" => "Your browser does not seem to support Desktop Notifications yet."
);
2 changes: 2 additions & 0 deletions core/src/plugins/core.notifications/res/i18n/es.php
Expand Up @@ -30,4 +30,6 @@
"9" => "Workspace Activity",
"10" => "Folder Activity",
"11" => "File Activity",
"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.",
"13" => "Your browser does not seem to support Desktop Notifications yet."
);
2 changes: 2 additions & 0 deletions core/src/plugins/core.notifications/res/i18n/fr.php
Expand Up @@ -30,4 +30,6 @@
"9" => "Activité du dépôt",
"10" => "Activité du dossier",
"11" => "Activité du fichier",
"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.",
"13" => "Votre navigateur ne supporte pas les notifications sur le bureau."
);
2 changes: 2 additions & 0 deletions core/src/plugins/core.notifications/res/i18n/it.php
Expand Up @@ -30,4 +30,6 @@
"9" => "Attività Workspace",
"10"=> "Attività Cartella",
"11"=> "Attività File",
"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.",
"13" => "Your browser does not seem to support Desktop Notifications yet."
);
2 changes: 2 additions & 0 deletions core/src/plugins/core.notifications/res/i18n/pt.php
Expand Up @@ -30,4 +30,6 @@
"9" => "Workspace Activity",
"10" => "Folder Activity",
"11" => "File Activity",
"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.",
"13" => "Your browser does not seem to support Desktop Notifications yet."
);
2 changes: 2 additions & 0 deletions core/src/plugins/core.notifications/res/i18n/ru.php
Expand Up @@ -30,4 +30,6 @@
"9" => "Активность по рабочему пространству",
"10"=> "Активность по папке",
"11"=> "Активность по файлу",
"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.",
"13" => "Your browser does not seem to support Desktop Notifications yet."
);

0 comments on commit eee00e3

Please sign in to comment.