-
Notifications
You must be signed in to change notification settings - Fork 526
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 only defined here so that they will be translated | ||
let mod01 = _("Battery Module"); | ||
let mod02 = _("Connectivity Module"); | ||
let mod03 = _("Device-Info Module"); | ||
let mod04 = _("FindMyPhone Module"); | ||
let mod05 = _("Module"); | ||
let mod06 = _("Ping Module"); | ||
let mod07 = _("Request Photo Module"); | ||
let mod08 = _("SFTP Module"); | ||
let mod09 = _("SMS Module"); | ||
let mod10 = _("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.