String change: "Keep episode" -> "Archive"

This commit is contained in:
Thomas Perl 2010-12-20 00:18:22 +01:00
parent fa9f1b3747
commit 41054b620a
5 changed files with 6 additions and 6 deletions

View File

@ -102,7 +102,7 @@
<signal name="activate" handler="on_delete_button_clicked"/>
</object>
<object class="GtkToggleAction" id="action_keep">
<property name="label" translatable="yes">Keep</property>
<property name="label" translatable="yes">Archive</property>
<signal name="activate" handler="on_keep_button_clicked"/>
</object>
<object class="GtkToggleAction" id="action_mark_as_old">

View File

@ -183,7 +183,7 @@ class gPodderEpisodeActions(BuilderWidget):
shownotes_button = hildon.Button(self.BUTTON_HEIGHT, hildon.BUTTON_ARRANGEMENT_VERTICAL)
delete_button = hildon.Button(self.BUTTON_HEIGHT, hildon.BUTTON_ARRANGEMENT_VERTICAL)
keep_button = hildon.CheckButton(gtk.HILDON_SIZE_FINGER_HEIGHT | gtk.HILDON_SIZE_AUTO_WIDTH)
keep_button.set_label(_('Keep episode'))
keep_button.set_label(_('Archive'))
keep_button.connect('toggled', self.on_keep_toggled)
self.action_play.set_property('label', _('Play'))

View File

@ -33,7 +33,7 @@ HINT_STRINGS = (
_("Use the hardware keyboard to filter down lists - simply start typing in the podcast or episode list."),
_("The top row of the menu in each list window lets you set the filter for it."),
_("Use fb:<name> as a shorthand for Feedburner URLs (feeds.feedburner.com/<name>)"),
_("Episodes marked as 'Keep episode' will never be displayed in the 'Delete episodes' list."),
_("Episodes marked as 'Archive' will never be displayed in the 'Delete episodes' list."),
_("Use gpodder.net to share your subscription list with friends via a private or public URL."),
_("Found a problem? Report it at bugs.maemo.org (Extras / gPodder), so we can fix it in the next release."),
_("Got a feature request? Let us know at bugs.maemo.org (Extras / gPodder)!"),

View File

@ -1823,7 +1823,7 @@ class gPodder(BuilderWidget, dbus.service.Object):
menu.append(gtk.SeparatorMenuItem())
item = gtk.CheckMenuItem(_('Keep episodes'))
item = gtk.CheckMenuItem(_('Archive'))
item.set_active(self.active_channel.channel_is_locked)
item.connect('activate', self.on_channel_toggle_lock_activate)
menu.append(self.set_finger_friendly(item))
@ -2073,7 +2073,7 @@ class gPodder(BuilderWidget, dbus.service.Object):
item.connect( 'activate', lambda w: self.on_item_toggle_played_activate( w, False, not any_played))
menu.append(self.set_finger_friendly(item))
item = gtk.CheckMenuItem(_('Keep episode'))
item = gtk.CheckMenuItem(_('Archive'))
item.set_active(any_locked)
item.connect('activate', lambda w: self.on_item_toggle_lock_activate( w, False, not any_locked))
menu.append(self.set_finger_friendly(item))

View File

@ -56,7 +56,7 @@ class Matcher(object):
return episode.state == gpodder.STATE_DELETED
elif k == 'played':
return episode.is_played
elif k == 'keep':
elif k == 'archive':
return episode.is_locked
elif k in ('finished', 'fin'):
return episode.is_finished()