Thomas Pelletier avatar Thomas Pelletier committed 0d8e5b4

use i18n for every strings

Comments (0)

Files changed (1)

     ini.read(userrc)
     repos = None
     if not os.path.exists(userrc):
-        hg_ui.warn("Unable to find your hgrc file for the current repository.")
+        hg_ui.warn(\
+            _("Unable to find your hgrc file for the current repository."))
         return 1
     try:
         repos = ini.items('paths')
     except KeyError:
-        hg_ui.warn("No paths defined in your hgrc. Pushall aborded.")
-    hg_ui.status("%s paths found" % len(repos))
+        hg_ui.warn(_("No paths defined in your hgrc. Pushall aborded."))
+    hg_ui.status(_("%s paths found" % len(repos)))
     for path in repos:
-        hg_ui.status("Pushing to %s" % path[0])
+        hg_ui.status(_("Pushing to %s" % path[0]))
         commands.push(hg_ui, repo, path[1])
     return 0
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.