diff options
author | Paul W. Frields <stickster@gmail.com> | 2012-10-04 22:10:32 -0400 |
---|---|---|
committer | Paul W. Frields <stickster@gmail.com> | 2012-10-04 22:14:45 -0400 |
commit | 22d118e81cbd26965d9bca6e4fb31999ed3ac7fa (patch) | |
tree | ce82c4aa0494a821dd8bf4d17f702bbc2558c172 | |
parent | 1966020d3c2c29021e3495e5f3a3cf03b72a1304 (diff) | |
download | pulsecaster-22d118e81cbd26965d9bca6e4fb31999ed3ac7fa.tar.gz pulsecaster-22d118e81cbd26965d9bca6e4fb31999ed3ac7fa.tar.xz pulsecaster-22d118e81cbd26965d9bca6e4fb31999ed3ac7fa.zip |
Fix additional strings
-rw-r--r-- | po/pulsecaster.pot | 14 | ||||
-rw-r--r-- | pulsecaster/ui.py | 6 |
2 files changed, 12 insertions, 8 deletions
diff --git a/po/pulsecaster.pot b/po/pulsecaster.pot index 486cee4..51e853b 100644 --- a/po/pulsecaster.pot +++ b/po/pulsecaster.pot @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: pulsecaster 0.1.9\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2012-10-04 21:22-0400\n" +"POT-Creation-Date: 2012-10-04 22:10-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -86,21 +86,25 @@ msgid "" "option to mix and encode audio yourself." msgstr "" -#: pulsecaster/ui.py:372 +#: pulsecaster/ui.py:374 msgid "Save your recording" msgstr "" -#: pulsecaster/ui.py:389 +#: pulsecaster/ui.py:391 msgid "" "Are you sure you want to cancel saving your work? If you choose Yes your " "audio recording will be erased permanently." msgstr "" -#: pulsecaster/ui.py:424 +#: pulsecaster/ui.py:430 msgid "WAV files are written here:" msgstr "" -#: pulsecaster/ui.py:449 +#: pulsecaster/ui.py:450 +msgid "Recording" +msgstr "" + +#: pulsecaster/ui.py:455 msgid "File exists. OK to overwrite?" msgstr "" diff --git a/pulsecaster/ui.py b/pulsecaster/ui.py index 1248cfe..225b9d5 100644 --- a/pulsecaster/ui.py +++ b/pulsecaster/ui.py @@ -373,9 +373,9 @@ class PulseCasterUI: def showFileChooser(self, *args): self.file_chooser = Gtk.FileChooserDialog(title=_('Save your recording'), action=Gtk.FileChooserAction.SAVE, - buttons=('Cancel', + buttons=(Gtk.STOCK_CANCEL, Gtk.ResponseType.CANCEL, - 'OK', + Gtk.STOCK_OK, Gtk.ResponseType.OK)) self.file_chooser.set_local_only(True) response = self.file_chooser.run() @@ -447,7 +447,7 @@ class PulseCasterUI: delta = datetime.now() - self.starttime deltamin = delta.seconds // 60 deltasec = delta.seconds - (deltamin * 60) - self.trayicon.set_tooltip_text('Recording: %d:%02d' % + self.trayicon.set_tooltip_text(_('Recording') + ': %d:%02d' % (deltamin, deltasec)) return True |