-
Notifications
You must be signed in to change notification settings - Fork 521
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kdecapplet@joejoetv: Update translation files and cleanup unnecessary…
… file
- Loading branch information
Showing
15 changed files
with
1,447 additions
and
1,519 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
const GLib = imports.gi.GLib; | ||
const Gettext = imports.gettext; | ||
|
||
const CommonUtils = require("./js/commonUtils.js"); | ||
|
||
// l10n support | ||
Gettext.bindtextdomain(CommonUtils.UUID, GLib.get_home_dir() + "/.local/share/locale"); | ||
|
||
function _(str) { | ||
return Gettext.dgettext(CommonUtils.UUID, str); | ||
} | ||
|
||
class Dummy { | ||
// These are defined here so that they will be translated | ||
static DISPLAY_NAME = _("Battery Module"); | ||
static DISPLAY_NAME = _("Connectivity Module"); | ||
static DISPLAY_NAME = _("Device-Info Module"); | ||
static DISPLAY_NAME = _("FindMyPhone Module"); | ||
static DISPLAY_NAME = _("Module"); | ||
static DISPLAY_NAME = _("Ping Module"); | ||
static DISPLAY_NAME = _("Request Photo Module"); | ||
static DISPLAY_NAME = _("SFTP Module"); | ||
static DISPLAY_NAME = _("SMS Module"); | ||
static DISPLAY_NAME = _("Share Module"); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1534,4 +1534,4 @@ function modulesByType(moduleType) { | |
}); | ||
|
||
return filteredModules; | ||
} | ||
} |
Oops, something went wrong.