by
Changes to 2 files · Browse files at b487ed3e4174 Showing diff from parent 16dc0d9a44aa 74162cb38473 Diff from another changeset...
|
|
@@ -8,13 +8,13 @@ "Project-Id-Version: tortoisehg\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2010-02-22 23:55+0000\n"
-"PO-Revision-Date: 2010-03-08 14:06+0000\n"
+"PO-Revision-Date: 2010-03-10 12:54+0000\n"
"Last-Translator: kosha <Unknown>\n"
"Language-Team: Ukrainian <uk@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-03-09 04:37+0000\n"
+"X-Launchpad-Export-Date: 2010-03-11 05:09+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#: thgtaskbar.py:36
@@ -2749,7 +2749,7 @@
#: tortoisehg\hgtk\history.py:1209
msgid "Import Revision to MQ"
-msgstr "Import Revision to MQ"
+msgstr "Імпорт редакцій до MQ"
#: tortoisehg\hgtk\history.py:1211
msgid "Strip Revision..."
@@ -2761,11 +2761,11 @@
#: tortoisehg\hgtk\history.py:1235
msgid "Mark as Good"
-msgstr "Mark as Good"
+msgstr "Відмітити як добрі"
#: tortoisehg\hgtk\history.py:1236
msgid "Mark as Bad"
-msgstr "Mark as Bad"
+msgstr "Відмітити як сумнівні"
#: tortoisehg\hgtk\history.py:1237
msgid "Skip Testing"
@@ -2801,11 +2801,11 @@
#: tortoisehg\hgtk\history.py:1290
msgid "Import from here to selected to MQ"
-msgstr "Import from here to selected to MQ"
+msgstr "імпортувати звідси, до MQ"
#: tortoisehg\hgtk\history.py:1294
msgid "Select common ancestor revision"
-msgstr "Select common ancestor revision"
+msgstr "Виберіть перегляді спільних попередників"
#: tortoisehg\hgtk\history.py:1348
msgid "Load more"
@@ -2841,7 +2841,7 @@
#: tortoisehg\hgtk\history.py:1406
msgid "Import patches"
-msgstr "Імпорт патчів"
+msgstr "Імпорт латок"
#: tortoisehg\hgtk\history.py:1409
msgid "Determine and mark outgoing changesets"
@@ -2857,7 +2857,7 @@
#: tortoisehg\hgtk\history.py:1416
msgid "Stop current transaction"
-msgstr "Зупинити поточну справу"
+msgstr "Зупинити поточну дію"
#: tortoisehg\hgtk\history.py:1448
msgid "After Pull:"
@@ -2906,7 +2906,7 @@
#: tortoisehg\hgtk\history.py:1689
msgid "%d incoming changesets"
-msgstr "%d incoming changesets"
+msgstr "%d вхідних змін"
#: tortoisehg\hgtk\history.py:1691
msgid "Aborted incoming"
@@ -2914,11 +2914,11 @@
#: tortoisehg\hgtk\history.py:1693
msgid "No incoming changesets"
-msgstr "No incoming changesets"
+msgstr "Немає вхідних змін"
#: tortoisehg\hgtk\history.py:1697
msgid "Checking incoming changesets..."
-msgstr "Checking incoming changesets..."
+msgstr "Перевірка наявності вхідних змін..."
#: tortoisehg\hgtk\history.py:1716
msgid "Accept incoming previewed changesets"
@@ -2942,7 +2942,7 @@
#: tortoisehg\hgtk\history.py:1770
msgid "Failed to preview, a bundle file unrelated to this repository"
-msgstr "Failed to preview, a bundle file unrelated to this repository"
+msgstr "Не вдається переглянути, файли не пов'язані з цим сховищем"
#: tortoisehg\hgtk\history.py:1775
msgid "Failed to preview, not a Mercurial bundle file"
|
@@ -211,11 +211,21 @@ self.repo = None
return
+ def getfromaddr(ui):
+ """Get sender address in the same manner as patchbomb"""
+ addr = ui.config('email', 'from') or ui.config('patchbomb', 'from')
+ if addr:
+ return addr
+ try:
+ return repo.ui.username()
+ except error.Abort:
+ return ''
+
if initial:
# Only zap these fields at startup
self._tobox.child.set_text(hglib.fromutf(repo.ui.config('email', 'to', '')))
self._ccbox.child.set_text(hglib.fromutf(repo.ui.config('email', 'cc', '')))
- self._frombox.child.set_text(hglib.fromutf(repo.ui.config('email', 'from', '')))
+ self._frombox.child.set_text(hglib.fromutf(getfromaddr(repo.ui)))
self._subjbox.child.set_text(hglib.fromutf(repo.ui.config('email', 'subject', '')))
self.tooltips.set_tip(self._eventbox,
_('Patch series description is sent in initial summary'
|
Loading...