Kaydet (Commit) d1594206 authored tarafından Clement Lefebvre's avatar Clement Lefebvre

Fixed regressions in l10n

üst 62a5b18e
This diff is collapsed.
#!/bin/bash
xgettext --language=Python --keyword=_ --output=live-installer.pot usr/lib/live-installer/installer.py usr/lib/live-installer/main.py usr/lib/live-installer/frontend/gtk_interface.py
xgettext --language=Python --keyword=_ --output=live-installer.pot usr/lib/live-installer/installer.py usr/lib/live-installer/main.py usr/lib/live-installer/frontend/gtk_interface.py usr/lib/live-installer/partitioning.py
......@@ -9,7 +9,7 @@ import commands
import sys
import parted
gettext.install("live-installer", "/usr/share/locale")
gettext.install("live-installer", "/usr/share/linuxmint/locale")
CONFIG_FILE = '/etc/live-installer/live-installer.conf'
......
......@@ -2,6 +2,9 @@
import sys
import commands
import gettext
gettext.install("live-installer", "/usr/share/linuxmint/locale")
def uncaught_excepthook(*args):
sys.__excepthook__(*args)
......
......@@ -12,6 +12,9 @@ from collections import defaultdict
import gtk
import parted
import commands
import gettext
gettext.install("live-installer", "/usr/share/linuxmint/locale")
def shell_exec(command):
return subprocess.Popen(command, shell=True, stdout=subprocess.PIPE)
......@@ -210,7 +213,7 @@ class PartitionSetup(gtk.TreeStore):
except Exception:
from frontend.gtk_interface import QuestionDialog
dialog = QuestionDialog(_("Installation Tool"),
_("No partition table was found on the hard drive: {disk_description}. Do you want the installer to create a set of partitions for you? Note: This will ERASE ALL DATA present on this disk.").format(**locals()),
_("No partition table was found on the hard drive: %s. Do you want the installer to create a set of partitions for you? Note: This will ERASE ALL DATA present on this disk.") % disk_description,
None, installer.window)
if not dialog: continue # the user said No, skip this disk
installer.window.window.set_cursor(gtk.gdk.Cursor(gtk.gdk.WATCH))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment