[gnome-games] Revert "swell-foop: mark strings in src/Settings.js as translatable"



commit dd228bb0fead59b5c4b39865ea832c359c15534b
Author: Piotr DrÄg <piotrdrag gmail com>
Date:   Fri Oct 28 18:02:56 2011 +0200

    Revert "swell-foop: mark strings in src/Settings.js as translatable"
    
    This reverts commit 41a4eeb788c953742ea9d83e35c91a92560ccd8f.
    
    Pushed by accident, not reviewed yet.

 po/POTFILES.in             |    1 -
 swell-foop/src/Settings.js |   10 ++++------
 2 files changed, 4 insertions(+), 7 deletions(-)
---
diff --git a/po/POTFILES.in b/po/POTFILES.in
index b802405..f39954e 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -135,4 +135,3 @@ swell-foop/swell-foop.schemas.in
 swell-foop/src/About.js
 swell-foop/src/Board.js
 swell-foop/src/Score.js
-swell-foop/src/Settings.js
diff --git a/swell-foop/src/Settings.js b/swell-foop/src/Settings.js
index b60e13b..cbf6d1c 100644
--- a/swell-foop/src/Settings.js
+++ b/swell-foop/src/Settings.js
@@ -6,20 +6,18 @@ ThemeLoader = imports.ThemeLoader;
 GnomeGamesSupport = imports.gi.GnomeGamesSupport;
 ggsconf = GnomeGamesSupport.Conf;
 
-_ = imports.gettext.gettext;
-
 // Defaults
 var theme, colors, zealous, size;
-var default_theme = _("Shapes and Colors");
+var default_theme = "Shapes and Colors";
 var default_size = 1;
 var default_colors = 3;
 var default_zealous = true;
 
 // Map theme names to themes
 var themes = ThemeLoader.load_themes();
-var sizes = [{name: _("Small"), columns: 6, rows: 5},
-             {name: _("Normal"), columns: 15, rows: 10},
-             {name: _("Large"), columns: 20, rows: 15}];
+var sizes = [{name: "Small", columns: 6, rows: 5},
+             {name: "Normal", columns: 15, rows: 10},
+             {name: "Large", columns: 20, rows: 15}];
 
 try
 {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]