Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added first translations

  • Loading branch information...
commit cdfe721320b125c1abe9bc888e6db1ede4c1f5b6 1 parent afd1225
Clement Lefebvre clefebvre authored
Showing with 3 additions and 11 deletions.
  1. +0 −3  files/usr/share/cinnamon/applets/a11y@cinnamon.org/applet.js
  2. +2 −5 files/usr/share/cinnamon/applets/trash@cinnamon.org/applet.js
  3. +1 −3 files/usr/share/cinnamon/applets/xrandr@cinnamon.org/applet.js
  4. BIN  files/usr/share/cinnamon/locale/ar/LC_MESSAGES/cinnamon.mo
  5. BIN  files/usr/share/cinnamon/locale/bg/LC_MESSAGES/cinnamon.mo
  6. BIN  files/usr/share/cinnamon/locale/bs/LC_MESSAGES/cinnamon.mo
  7. BIN  files/usr/share/cinnamon/locale/ca/LC_MESSAGES/cinnamon.mo
  8. BIN  files/usr/share/cinnamon/locale/cs/LC_MESSAGES/cinnamon.mo
  9. BIN  files/usr/share/cinnamon/locale/da/LC_MESSAGES/cinnamon.mo
  10. BIN  files/usr/share/cinnamon/locale/de/LC_MESSAGES/cinnamon.mo
  11. BIN  files/usr/share/cinnamon/locale/el/LC_MESSAGES/cinnamon.mo
  12. BIN  files/usr/share/cinnamon/locale/es/LC_MESSAGES/cinnamon.mo
  13. BIN  files/usr/share/cinnamon/locale/et/LC_MESSAGES/cinnamon.mo
  14. BIN  files/usr/share/cinnamon/locale/fi/LC_MESSAGES/cinnamon.mo
  15. BIN  files/usr/share/cinnamon/locale/fr/LC_MESSAGES/cinnamon.mo
  16. BIN  files/usr/share/cinnamon/locale/he/LC_MESSAGES/cinnamon.mo
  17. BIN  files/usr/share/cinnamon/locale/hr/LC_MESSAGES/cinnamon.mo
  18. BIN  files/usr/share/cinnamon/locale/hu/LC_MESSAGES/cinnamon.mo
  19. BIN  files/usr/share/cinnamon/locale/id/LC_MESSAGES/cinnamon.mo
  20. BIN  files/usr/share/cinnamon/locale/it/LC_MESSAGES/cinnamon.mo
  21. BIN  files/usr/share/cinnamon/locale/ja/LC_MESSAGES/cinnamon.mo
  22. BIN  files/usr/share/cinnamon/locale/nl/LC_MESSAGES/cinnamon.mo
  23. BIN  files/usr/share/cinnamon/locale/pl/LC_MESSAGES/cinnamon.mo
  24. BIN  files/usr/share/cinnamon/locale/pt/LC_MESSAGES/cinnamon.mo
  25. BIN  files/usr/share/cinnamon/locale/pt_BR/LC_MESSAGES/cinnamon.mo
  26. BIN  files/usr/share/cinnamon/locale/ro/LC_MESSAGES/cinnamon.mo
  27. BIN  files/usr/share/cinnamon/locale/ru/LC_MESSAGES/cinnamon.mo
  28. BIN  files/usr/share/cinnamon/locale/sk/LC_MESSAGES/cinnamon.mo
  29. BIN  files/usr/share/cinnamon/locale/sr/LC_MESSAGES/cinnamon.mo
  30. BIN  files/usr/share/cinnamon/locale/sv/LC_MESSAGES/cinnamon.mo
  31. BIN  files/usr/share/cinnamon/locale/tr/LC_MESSAGES/cinnamon.mo
  32. BIN  files/usr/share/cinnamon/locale/zh_CN/LC_MESSAGES/cinnamon.mo
  33. BIN  files/usr/share/cinnamon/locale/zh_HK/LC_MESSAGES/cinnamon.mo
3  files/usr/share/cinnamon/applets/a11y@cinnamon.org/applet.js
View
@@ -4,9 +4,6 @@ const Lang = imports.lang;
const Applet = imports.ui.applet;
const GConf = imports.gi.GConf;
-const Gettext = imports.gettext.domain('cinnamon-applets');
-const _ = Gettext.gettext;
-
const A11Y_SCHEMA = 'org.gnome.desktop.a11y.keyboard';
const KEY_STICKY_KEYS_ENABLED = 'stickykeys-enable';
const KEY_BOUNCE_KEYS_ENABLED = 'bouncekeys-enable';
7 files/usr/share/cinnamon/applets/trash@cinnamon.org/applet.js
View
@@ -5,8 +5,6 @@ const Gtk = imports.gi.Gtk;
const Lang = imports.lang;
const Clutter = imports.gi.Clutter;
const Applet = imports.ui.applet;
-const Gettext = imports.gettext.domain('cinnamon-applets');
-const _ = Gettext.gettext;
function MyApplet(orientation) {
this._init(orientation);
@@ -111,7 +109,7 @@ ConfirmEmptyTrashDialog.prototype = {
messageBox.add(this._subjectLabel, { y_fill: false, y_align: St.Align.START });
this._descriptionLabel = new St.Label({ style_class: 'polkit-dialog-description',
- text: Gettext.gettext(MESSAGE) });
+ text: MESSAGE });
messageBox.add(this._descriptionLabel, { y_fill: true, y_align: St.Align.START });
@@ -134,8 +132,7 @@ ConfirmEmptyTrashDialog.prototype = {
}
};
-function main(metadata, orientation) {
- imports.gettext.bindtextdomain('cinnamon-applets', metadata.localedir);
+function main(metadata, orientation) {
let myApplet = new MyApplet(orientation);
return myApplet;
}
4 files/usr/share/cinnamon/applets/xrandr@cinnamon.org/applet.js
View
@@ -8,8 +8,6 @@ const Lang = imports.lang;
const Applet = imports.ui.applet;
const PopupMenu = imports.ui.popupMenu;
-const Gettext = imports.gettext.domain('cinnamon-applets');
-const _ = Gettext.gettext;
const N_ = function(e) { return e };
const possibleRotations = [ GnomeDesktop.RRRotation.ROTATION_0,
@@ -104,7 +102,7 @@ MyApplet.prototype = {
for (let i = 0; i < rotations.length; i++) {
let [bitmask, name] = rotations[i];
if (bitmask & allowedRotations) {
- let item = new PopupMenu.PopupMenuItem(Gettext.gettext(name));
+ let item = new PopupMenu.PopupMenuItem(_(name));
if (bitmask & currentRotation)
item.setShowDot(true);
item.connect('activate', Lang.bind(this, function(item, event) {
BIN  files/usr/share/cinnamon/locale/ar/LC_MESSAGES/cinnamon.mo
View
Binary file not shown
BIN  files/usr/share/cinnamon/locale/bg/LC_MESSAGES/cinnamon.mo
View
Binary file not shown
BIN  files/usr/share/cinnamon/locale/bs/LC_MESSAGES/cinnamon.mo
View
Binary file not shown
BIN  files/usr/share/cinnamon/locale/ca/LC_MESSAGES/cinnamon.mo
View
Binary file not shown
BIN  files/usr/share/cinnamon/locale/cs/LC_MESSAGES/cinnamon.mo
View
Binary file not shown
BIN  files/usr/share/cinnamon/locale/da/LC_MESSAGES/cinnamon.mo
View
Binary file not shown
BIN  files/usr/share/cinnamon/locale/de/LC_MESSAGES/cinnamon.mo
View
Binary file not shown
BIN  files/usr/share/cinnamon/locale/el/LC_MESSAGES/cinnamon.mo
View
Binary file not shown
BIN  files/usr/share/cinnamon/locale/es/LC_MESSAGES/cinnamon.mo
View
Binary file not shown
BIN  files/usr/share/cinnamon/locale/et/LC_MESSAGES/cinnamon.mo
View
Binary file not shown
BIN  files/usr/share/cinnamon/locale/fi/LC_MESSAGES/cinnamon.mo
View
Binary file not shown
BIN  files/usr/share/cinnamon/locale/fr/LC_MESSAGES/cinnamon.mo
View
Binary file not shown
BIN  files/usr/share/cinnamon/locale/he/LC_MESSAGES/cinnamon.mo
View
Binary file not shown
BIN  files/usr/share/cinnamon/locale/hr/LC_MESSAGES/cinnamon.mo
View
Binary file not shown
BIN  files/usr/share/cinnamon/locale/hu/LC_MESSAGES/cinnamon.mo
View
Binary file not shown
BIN  files/usr/share/cinnamon/locale/id/LC_MESSAGES/cinnamon.mo
View
Binary file not shown
BIN  files/usr/share/cinnamon/locale/it/LC_MESSAGES/cinnamon.mo
View
Binary file not shown
BIN  files/usr/share/cinnamon/locale/ja/LC_MESSAGES/cinnamon.mo
View
Binary file not shown
BIN  files/usr/share/cinnamon/locale/nl/LC_MESSAGES/cinnamon.mo
View
Binary file not shown
BIN  files/usr/share/cinnamon/locale/pl/LC_MESSAGES/cinnamon.mo
View
Binary file not shown
BIN  files/usr/share/cinnamon/locale/pt/LC_MESSAGES/cinnamon.mo
View
Binary file not shown
BIN  files/usr/share/cinnamon/locale/pt_BR/LC_MESSAGES/cinnamon.mo
View
Binary file not shown
BIN  files/usr/share/cinnamon/locale/ro/LC_MESSAGES/cinnamon.mo
View
Binary file not shown
BIN  files/usr/share/cinnamon/locale/ru/LC_MESSAGES/cinnamon.mo
View
Binary file not shown
BIN  files/usr/share/cinnamon/locale/sk/LC_MESSAGES/cinnamon.mo
View
Binary file not shown
BIN  files/usr/share/cinnamon/locale/sr/LC_MESSAGES/cinnamon.mo
View
Binary file not shown
BIN  files/usr/share/cinnamon/locale/sv/LC_MESSAGES/cinnamon.mo
View
Binary file not shown
BIN  files/usr/share/cinnamon/locale/tr/LC_MESSAGES/cinnamon.mo
View
Binary file not shown
BIN  files/usr/share/cinnamon/locale/zh_CN/LC_MESSAGES/cinnamon.mo
View
Binary file not shown
BIN  files/usr/share/cinnamon/locale/zh_HK/LC_MESSAGES/cinnamon.mo
View
Binary file not shown
Please sign in to comment.
Something went wrong with that request. Please try again.