Skip to content

Commit b4ab5d3

Browse files
committed
Worked on translations
1 parent 3327aae commit b4ab5d3

File tree

8 files changed

+140
-4
lines changed

8 files changed

+140
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
- SPARC 64-bit support has been added and the functionality is ready for testing.
1818
- In the development version 1.0.0.5305_dev, there has been a bug which didn't properly fill the text fields for the QEMU settings. That has been fixed in this development version.
1919
- The readme was updated with the meaning of the "_b" ending.
20+
- The translations have been worked on so the new features can be translated now.
2021

2122
# EmuGUI v1.0.0.5306_dev "Adèle Angela" (based on v1.0.0.5305_dev)
2223

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def __init__(self, parent=None):
4949
except:
5050
pass
5151

52-
self.versionCode = 5306
52+
self.versionCode = 5307
5353

5454
if platform.system() == "Windows":
5555
self.connection = platformSpecific.windowsSpecific.setupWindowsBackend()
702 Bytes
Binary file not shown.
703 Bytes
Binary file not shown.
718 Bytes
Binary file not shown.

translations/de.py

Lines changed: 46 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def translateMainDE(window):
1111

1212
# Settings tabs
1313
window.tabWidget_2.setTabText(0, "Allgemein") # General
14-
window.tabWidget_2.setTabText(3, "Über EmuGUI") # About EmuGUI
14+
window.tabWidget_2.setTabText(2, "Über EmuGUI") # About EmuGUI
1515

1616
# General tab
1717
window.label_15.setText("Sprache") # Language
@@ -49,6 +49,8 @@ def translateMainDE(window):
4949
window.label_17.setText("qemu-system-mipsel-Pfad") # qemu-system-mipsel Path
5050
window.label_18.setText("qemu-system-mips-Pfad") # qemu-system-mips Path
5151
window.label_19.setText("qemu-system-mips64-Pfad") # qemu-system-mips64 Path
52+
window.label_12.setText("qemu-system-sparc-Pfad") # qemu-system-sparc Path
53+
window.label_13.setText("qemu-system-sparc64-Pfad") # qemu-system-sparc64 Path
5254

5355
window.pushButton.setText("Durchsuchen") # Browse
5456
window.pushButton_2.setText("Durchsuchen") # Browse
@@ -61,6 +63,8 @@ def translateMainDE(window):
6163
window.pushButton_17.setText("Durchsuchen") # Browse
6264
window.pushButton_18.setText("Durchsuchen") # Browse
6365
window.pushButton_19.setText("Durchsuchen") # Browse
66+
window.pushButton_13.setText("Durchsuchen") # Browse
67+
window.pushButton_14.setText("Durchsuchen") # Browse
6468
window.pushButton_6.setText("Übernehmen") # Apply
6569

6670
# Update tab
@@ -237,6 +241,46 @@ def translateNewVmDE(window):
237241

238242
i += 1
239243

244+
# Second page (SPARC32 machines)
245+
window.label_22.setText("Maschine") # Machine
246+
window.label_35.setText("RAM in MB") # RAM in MB
247+
248+
window.comboBox_20.setPlaceholderText("Bitte wählen Sie eine Maschine") # Please select a machine
249+
250+
window.pushButton_37.setText("< Zurück") # < Previous
251+
window.pushButton_38.setText("Weiter >") # Next >
252+
window.pushButton_39.setText("Abbrechen") # Cancel
253+
254+
# Combo boxes on SPARC32 page
255+
i = 0
256+
257+
while i < window.comboBox_20.count():
258+
if window.comboBox_20.itemText(i) == "Let QEMU decide" or window.comboBox_20.itemText(i) == "QEMU überlassen":
259+
window.comboBox_20.setItemText(i, "QEMU überlassen") # Let QEMU decide
260+
break
261+
262+
i += 1
263+
264+
# Second page (SPARC64 machines)
265+
window.label_37.setText("Maschine") # Machine
266+
window.label_36.setText("RAM in MB") # RAM in MB
267+
268+
window.comboBox_21.setPlaceholderText("Bitte wählen Sie eine Maschine") # Please select a machine
269+
270+
window.pushButton_41.setText("< Zurück") # < Previous
271+
window.pushButton_40.setText("Weiter >") # Next >
272+
window.pushButton_42.setText("Abbrechen") # Cancel
273+
274+
# Combo boxes on SPARC64 page
275+
i = 0
276+
277+
while i < window.comboBox_21.count():
278+
if window.comboBox_21.itemText(i) == "Let QEMU decide" or window.comboBox_21.itemText(i) == "QEMU überlassen":
279+
window.comboBox_21.setItemText(i, "QEMU überlassen") # Let QEMU decide
280+
break
281+
282+
i += 1
283+
240284
# Third page
241285
window.label_20.setText("VHD-Nutzung") # VHD usage
242286

@@ -295,6 +339,7 @@ def translateNewVmDE(window):
295339
window.label_16.setText("VGA") # VGA
296340
window.label_17.setText("Netzwerk") # Network
297341
window.label_28.setText("Maus") # Mouse
342+
window.label_21.setText("Tastaturlayout") # Keyboard layout
298343

299344
window.comboBox_10.setPlaceholderText("(Bitte wählen Sie einen Grafikadapter)") # (Please select a graphics adapter)
300345
window.comboBox_11.setPlaceholderText("(Bitte wählen Sie einen Netzwerkadapter)") # (Please select a network adapter)

translations/en.py

Lines changed: 46 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def translateMainEN(window):
1111

1212
# Settings tabs
1313
window.tabWidget_2.setTabText(0, "General") # General
14-
window.tabWidget_2.setTabText(3, "About EmuGUI") # About EmuGUI
14+
window.tabWidget_2.setTabText(2, "About EmuGUI") # About EmuGUI
1515

1616
# General tab
1717
window.label_15.setText("Language") # Language
@@ -49,6 +49,8 @@ def translateMainEN(window):
4949
window.label_17.setText("qemu-system-mipsel Path") # qemu-system-mipsel Path
5050
window.label_18.setText("qemu-system-mips Path") # qemu-system-mips Path
5151
window.label_19.setText("qemu-system-mips64 Path") # qemu-system-mips64 Path
52+
window.label_12.setText("qemu-system-sparc Path") # qemu-system-sparc Path
53+
window.label_13.setText("qemu-system-sparc64 Path") # qemu-system-sparc64 Path
5254

5355
window.pushButton.setText("Browse") # Browse
5456
window.pushButton_2.setText("Browse") # Browse
@@ -61,6 +63,8 @@ def translateMainEN(window):
6163
window.pushButton_17.setText("Browse") # Browse
6264
window.pushButton_18.setText("Browse") # Browse
6365
window.pushButton_19.setText("Browse") # Browse
66+
window.pushButton_13.setText("Browse") # Browse
67+
window.pushButton_14.setText("Browse") # Browse
6468
window.pushButton_6.setText("Apply") # Apply
6569

6670
# Update tab
@@ -237,6 +241,46 @@ def translateNewVmEN(window):
237241

238242
i += 1
239243

244+
# Second page (SPARC32 machines)
245+
window.label_22.setText("Machine") # Machine
246+
window.label_35.setText("RAM in MB") # RAM in MB
247+
248+
window.comboBox_20.setPlaceholderText("Please select a machine") # Please select a machine
249+
250+
window.pushButton_37.setText("< Previous") # < Previous
251+
window.pushButton_38.setText("Next >") # Next >
252+
window.pushButton_39.setText("Cancel") # Cancel
253+
254+
# Combo boxes on SPARC32 page
255+
i = 0
256+
257+
while i < window.comboBox_20.count():
258+
if window.comboBox_20.itemText(i) == "Let QEMU decide" or window.comboBox_20.itemText(i) == "QEMU überlassen":
259+
window.comboBox_20.setItemText(i, "Let QEMU decide") # Let QEMU decide
260+
break
261+
262+
i += 1
263+
264+
# Second page (SPARC64 machines)
265+
window.label_37.setText("Machine") # Machine
266+
window.label_36.setText("RAM in MB") # RAM in MB
267+
268+
window.comboBox_21.setPlaceholderText("Please select a machine") # Please select a machine
269+
270+
window.pushButton_41.setText("< Previous") # < Previous
271+
window.pushButton_40.setText("Next >") # Next >
272+
window.pushButton_42.setText("Cancel") # Cancel
273+
274+
# Combo boxes on SPARC64 page
275+
i = 0
276+
277+
while i < window.comboBox_21.count():
278+
if window.comboBox_21.itemText(i) == "Let QEMU decide" or window.comboBox_21.itemText(i) == "QEMU überlassen":
279+
window.comboBox_21.setItemText(i, "Let QEMU decide") # Let QEMU decide
280+
break
281+
282+
i += 1
283+
240284
# Third page
241285
window.label_20.setText("VHD usage") # VHD usage
242286

@@ -319,6 +363,7 @@ def translateNewVmEN(window):
319363
window.label_23.setText("Sound card") # Sound card
320364
window.label_33.setText("CPU cores")# CPU cores
321365
window.label_34.setText("Keyboard") # Keyboard
366+
window.label_21.setText("Keyboard layout") # Keyboard layout
322367

323368
window.pushButton_28.setText("< Previous") # < Previous
324369
window.pushButton_27.setText("Next >") # Next >

translations/uk.py

Lines changed: 46 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def translateMainUK(window):
1111

1212
# Settings tabs
1313
window.tabWidget_2.setTabText(0, "Загальний") # General
14-
window.tabWidget_2.setTabText(3, "Про EmuGUI") # About EmuGUI
14+
window.tabWidget_2.setTabText(2, "Про EmuGUI") # About EmuGUI
1515

1616
# General tab
1717
window.label_15.setText("Мова") # Language
@@ -49,6 +49,8 @@ def translateMainUK(window):
4949
window.label_17.setText("qemu-system-mipsel Path") # qemu-system-mipsel Path
5050
window.label_18.setText("qemu-system-mips Path") # qemu-system-mips Path
5151
window.label_19.setText("qemu-system-mips64 Path") # qemu-system-mips64 Path
52+
window.label_12.setText("qemu-system-sparc Path") # qemu-system-sparc Path
53+
window.label_13.setText("qemu-system-sparc64 Path") # qemu-system-sparc64 Path
5254

5355
window.pushButton.setText("Огляд") # Browse
5456
window.pushButton_2.setText("Огляд") # Browse
@@ -61,6 +63,8 @@ def translateMainUK(window):
6163
window.pushButton_17.setText("Огляд") # Browse
6264
window.pushButton_18.setText("Огляд") # Browse
6365
window.pushButton_19.setText("Огляд") # Browse
66+
window.pushButton_13.setText("Огляд") # Browse
67+
window.pushButton_14.setText("Огляд") # Browse
6468
window.pushButton_6.setText("Застосувати") # Apply
6569

6670
# Update tab
@@ -237,6 +241,46 @@ def translateNewVmUK(window):
237241

238242
i += 1
239243

244+
# Second page (SPARC32 machines)
245+
window.label_22.setText("Машина") # Machine
246+
window.label_35.setText("RAM у MB") # RAM in MB
247+
248+
window.comboBox_20.setPlaceholderText("Please select a machine") # Please select a machine
249+
250+
window.pushButton_37.setText("< Попередній") # < Previous
251+
window.pushButton_38.setText("Наступний >") # Next >
252+
window.pushButton_39.setText("Скасувати") # Cancel
253+
254+
# Combo boxes on SPARC32 page
255+
i = 0
256+
257+
while i < window.comboBox_20.count():
258+
if window.comboBox_20.itemText(i) == "Let QEMU decide" or window.comboBox_20.itemText(i) == "QEMU überlassen":
259+
window.comboBox_20.setItemText(i, "Let QEMU decide") # Let QEMU decide
260+
break
261+
262+
i += 1
263+
264+
# Second page (SPARC64 machines)
265+
window.label_37.setText("Машина") # Machine
266+
window.label_36.setText("RAM у MB") # RAM in MB
267+
268+
window.comboBox_21.setPlaceholderText("Please select a machine") # Please select a machine
269+
270+
window.pushButton_41.setText("< Попередній") # < Previous
271+
window.pushButton_40.setText("Наступний >") # Next >
272+
window.pushButton_42.setText("Скасувати") # Cancel
273+
274+
# Combo boxes on SPARC64 page
275+
i = 0
276+
277+
while i < window.comboBox_21.count():
278+
if window.comboBox_21.itemText(i) == "Let QEMU decide" or window.comboBox_21.itemText(i) == "QEMU überlassen":
279+
window.comboBox_21.setItemText(i, "Let QEMU decide") # Let QEMU decide
280+
break
281+
282+
i += 1
283+
240284
# Third page
241285
window.label_20.setText("VHD usage") # VHD usage
242286

@@ -319,6 +363,7 @@ def translateNewVmUK(window):
319363
window.label_23.setText("Звукова карта") # Sound card
320364
window.label_33.setText("CPU cores") # CPU cores
321365
window.label_34.setText("Клавіатура") # Keyboard
366+
window.label_21.setText("Клавіатура layout") # Keyboard layout
322367

323368
window.pushButton_28.setText("< Попередній") # < Previous
324369
window.pushButton_27.setText("Наступний >") # Next >

0 commit comments

Comments
 (0)