Skip to content

Commit 0daa1f5

Browse files
committed
Bring Polish Edit VM translation back
1 parent ebcb7a2 commit 0daa1f5

File tree

2 files changed

+34
-34
lines changed

2 files changed

+34
-34
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
| Spanish | (Mostly) done |
6565
| French | In progress |
6666
| Italian | Done |
67-
| Polish | In progress |
67+
| Polish | Done |
6868
| Portuguese | Done |
6969
| Romanian | Pending |
7070
| Russian | In progress |

translations/pl.py

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -656,24 +656,24 @@ def translateEditVMPL(window, vmname):
656656

657657
# Buttons on all tabs
658658
window.btn_cancel.setText("Anuluj") # Cancel
659-
window.btn_ok.setText("OK") # OK
659+
window.btn_ok.setText("Okej") # OK
660660

661661
# Tab names
662-
window.tabWidget.setTabText(0, "General") # General
663-
window.tabWidget.setTabText(1, "Machine") # Machine
664-
window.tabWidget.setTabText(2, "Virtual hard disks") # Virtual hard disks
665-
window.tabWidget.setTabText(3, "Peripherals") # Peripherals
662+
window.tabWidget.setTabText(0, "Generalne") # General
663+
window.tabWidget.setTabText(1, "Maszyna") # Machine
664+
window.tabWidget.setTabText(2, "Wirtualne dyski twarde") # Virtual hard disks
665+
window.tabWidget.setTabText(3, "Peryferja") # Peripherals
666666
window.tabWidget.setTabText(4, "BIOS") # BIOS
667-
window.tabWidget.setTabText(6, "Additional components") # Additional components
667+
window.tabWidget.setTabText(6, "Adycjonalne komponenty") # Additional components
668668

669669
# Translations for General tab
670-
window.lbl_name.setText("Name") # Name
671-
window.lbl_arch.setText("Architecture") # Architecture
670+
window.lbl_name.setText("Nazwa") # Name
671+
window.lbl_arch.setText("Architektura") # Architecture
672672

673673
# Translations for Machine tab
674674
window.lbl_cpu.setText("CPU") # CPU
675-
window.lbl_machine.setText("Machine") # Machine
676-
window.lbl_ram.setText("RAM in MB") # RAM in MB
675+
window.lbl_machine.setText("Maszyna") # Machine
676+
window.lbl_ram.setText("RAM w MB") # RAM in MB
677677

678678
i = 0
679679

@@ -694,18 +694,18 @@ def translateEditVMPL(window, vmname):
694694
i += 1
695695

696696
# Translations for VHD tab
697-
window.lbl_vhdu.setText("VHD usage") # VHD usage
698-
window.lbl_vhdp.setText("VHD path") # VHD path
699-
window.lbl_vhdf.setText("VHD file format") # VHD file format
700-
window.lbl_maxsize.setText("Maximum size") # Maximum size
697+
window.lbl_vhdu.setText("Użycie VHD") # VHD usage
698+
window.lbl_vhdp.setText("Ścieżka VHD") # VHD path
699+
window.lbl_vhdf.setText("Format pliku VHD") # VHD file format
700+
window.lbl_maxsize.setText("Maksymalny rozmiar") # Maximum size
701701
window.btn_vhdp.setText("Przeglądaj") # Browse
702702

703703
# Combobox for VHD usage
704704
i = 0
705705

706706
while i < window.cb_vhdu.count():
707707
if window.cb_vhdu.itemText(i) == "Create a new virtual hard drive":
708-
window.cb_vhdu.setItemText(i, "Create a new virtual hard drive") # Create a new virtual hard drive
708+
window.cb_vhdu.setItemText(i, "Stwórz nowy wirtualny dysk twardy") # Create a new virtual hard drive
709709
break
710710

711711
i += 1
@@ -714,7 +714,7 @@ def translateEditVMPL(window, vmname):
714714

715715
while i < window.cb_vhdu.count():
716716
if window.cb_vhdu.itemText(i) == "Add an existing virtual hard drive":
717-
window.cb_vhdu.setItemText(i, "Add an existing virtual hard drive") # Add an existing virtual hard drive
717+
window.cb_vhdu.setItemText(i, "Dodaj istniejący wirtualny dysk twardy") # Add an existing virtual hard drive
718718
break
719719

720720
i += 1
@@ -723,13 +723,13 @@ def translateEditVMPL(window, vmname):
723723

724724
while i < window.cb_vhdu.count():
725725
if window.cb_vhdu.itemText(i) == "Don't add a virtual hard drive":
726-
window.cb_vhdu.setItemText(i, "Don't add a virtual hard drive") # Don't add a virtual hard drive
726+
window.cb_vhdu.setItemText(i, "Nie dodawaj wirtualnego dysku twardego") # Don't add a virtual hard drive
727727
break
728728

729729
i += 1
730730

731-
window.lbl_cdc1.setText("CD controller 1") # CD controller 1
732-
window.lbl_cdc2.setText("CD controller 2") # CD controller 2
731+
window.lbl_cdc1.setText("Kontroler CD 1") # CD controller 1
732+
window.lbl_cdc2.setText("Kontroler CD 2") # CD controller 2
733733

734734
i = 0
735735

@@ -749,7 +749,7 @@ def translateEditVMPL(window, vmname):
749749

750750
i += 1
751751

752-
window.lbl_hddc.setText("HDD controller") # HDD controller
752+
window.lbl_hddc.setText("Kontroler HDD") # HDD controller
753753

754754
i = 0
755755

@@ -761,30 +761,30 @@ def translateEditVMPL(window, vmname):
761761
i += 1
762762

763763
# Translations for Peripherals tab
764-
window.lbl_mouse.setText("Mouse type") # Mouse type
765-
window.lbl_kbdtype.setText("Keyboard type") # Keyboard type
764+
window.lbl_mouse.setText("Typ myszki") # Mouse type
765+
window.lbl_kbdtype.setText("Typ klawiatury") # Keyboard type
766766

767767
# Translations for BIOS tab
768768
# Location of external BIOS file (Leave empty to use the default BIOS)
769-
window.lbl_biosloc.setText("Location of external BIOS file (Leave empty to use the default BIOS)")
770-
window.lbl_biosf.setText("External BIOS file") # External BIOS file
769+
window.lbl_biosloc.setText("Lokacja zewnętrznego pliku BIOS (Zostaw puste aby użyć domyślny BIOS)")
770+
window.lbl_biosf.setText("Zewnętrzny plik BIOS") # External BIOS file
771771
window.btn_biosf.setText("Przeglądaj") # Browse
772772

773773
# Translations for Linux tab
774-
window.lbl_kernel.setText("Linux kernel") # Linux kernel
775-
window.lbl_initrd.setText("Linux initrd image") # Linux initrd image
776-
window.lbl_cmd.setText("Linux cmd arguments") # Linux cmd arguments
774+
window.lbl_kernel.setText("Jądro linux") # Linux kernel
775+
window.lbl_initrd.setText("Zdjęcie initrd linux") # Linux initrd image
776+
window.lbl_cmd.setText("Argumenty komend linux") # Linux cmd arguments
777777
window.btn_kernel.setText("Przeglądaj") # Browse
778778
window.btn_initrd.setText("Przeglądaj") # Browse
779779

780780
# Translations for Additional components tab
781781
window.lbl_vga.setText("VGA") # VGA
782-
window.lbl_net.setText("Network adapter") # Network adapter
783-
window.lbl_sound.setText("Sound card") # Sound card
784-
window.lbl_addargs.setText("Additional arguments (if necessary)") # Additional arguments (if necessary)
785-
window.lbl_cpuc.setText("CPU cores") # CPU cores
786-
window.chb_usb.setText("Add USB support") # Add USB support
787-
window.lbl_accel.setText("Acceleration") # Acceleration
782+
window.lbl_net.setText("Sieć") # Network adapter
783+
window.lbl_sound.setText("Karta dźwiękowa") # Sound card
784+
window.lbl_addargs.setText("Dodatkowe argumenty (jeżeli potrzebne)") # Additional arguments (if necessary)
785+
window.lbl_cpuc.setText("Rdzenie procesora") # CPU cores
786+
window.chb_usb.setText("Dodaj wsparcie USB") # Add USB support
787+
window.lbl_accel.setText("Akceleracja") # Acceleration
788788

789789
def translateEditVMPLOld(window, vmname):
790790
window.setWindowTitle(f"EmuGUI - Edit {vmname}")

0 commit comments

Comments
 (0)