i18n: use "Generic OS" as label for generic

Change the label for a generic OS to "Generic OS", and making it
translatable.

Reviewed-by: Cole Robinson <crobinso@redhat.com>
Signed-off-by: Pino Toscano <ptoscano@redhat.com>
This commit is contained in:
Pino Toscano 2020-07-13 10:25:49 +02:00 committed by Cole Robinson
parent 7ab7475aff
commit 6d970949f1
3 changed files with 3 additions and 3 deletions

View File

@ -102,7 +102,7 @@ class NewVM(uiutils.UITestCase):
newvm.find("oslist-popover")
osentry.click()
self.pressKey("Enter")
uiutils.check_in_loop(lambda: osentry.text == "Generic default")
uiutils.check_in_loop(lambda: osentry.text == "Generic OS")
# Verify back+forward still keeps Generic selected
self.sleep(.5)

View File

@ -54,7 +54,7 @@
<property name="halign">start</property>
<property name="label" translatable="yes">Can't find the operating system you are looking for?
Try selecting the next most recent version displayed,
or use the "Generic" entry.</property>
or use the "Generic OS" entry.</property>
</object>
<packing>
<property name="expand">True</property>

View File

@ -377,7 +377,7 @@ class _OsVariant(object):
self.name = self._short_ids[0]
self.full_id = self._os and self._os.get_id() or None
self.label = self._os and self._os.get_name() or "Generic default"
self.label = self._os and self._os.get_name() or _("Generic OS")
self.codename = self._os and self._os.get_codename() or ""
self.distro = self._os and self._os.get_distro() or ""
self.version = self._os and self._os.get_version() or None