mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-15 06:31:48 +08:00
the mo is now compiled and only the po is saved.
This commit is contained in:
parent
e9c71f1570
commit
aab4b17c45
3
.github/workflows/ccpp_mac.yml
vendored
3
.github/workflows/ccpp_mac.yml
vendored
@ -49,6 +49,9 @@ jobs:
|
||||
- name: make Slic3r
|
||||
working-directory: ./build
|
||||
run: make Slic3r
|
||||
- name: make .mo
|
||||
working-directory: ./build
|
||||
run: make gettext_po_to_mo
|
||||
- name: update Info.plist
|
||||
working-directory: ./build/src
|
||||
run: sed "s/+UNKNOWN/_$(date '+%F')/" Info.plist >Info.date.plist
|
||||
|
3
.github/workflows/ccpp_mac_debug.yml
vendored
3
.github/workflows/ccpp_mac_debug.yml
vendored
@ -49,6 +49,9 @@ jobs:
|
||||
- name: make Slic3r
|
||||
working-directory: ./build
|
||||
run: make Slic3r
|
||||
- name: make .mo
|
||||
working-directory: ./build
|
||||
run: make gettext_po_to_mo
|
||||
- name: update Info.plist
|
||||
working-directory: ./build/src
|
||||
run: sed "s/+UNKNOWN/_$(date '+%F')/" Info.plist >Info.date.plist
|
||||
|
3
.github/workflows/ccpp_ubuntu.yml
vendored
3
.github/workflows/ccpp_ubuntu.yml
vendored
@ -50,6 +50,9 @@ jobs:
|
||||
- name: make Slic3r
|
||||
working-directory: ./build
|
||||
run: make Slic3r
|
||||
- name: make .mo
|
||||
working-directory: ./build
|
||||
run: make gettext_po_to_mo
|
||||
- name: create directory and copy into it
|
||||
working-directory: ./build
|
||||
run: |
|
||||
|
3
.github/workflows/ccpp_ubuntu_debug.yml
vendored
3
.github/workflows/ccpp_ubuntu_debug.yml
vendored
@ -50,6 +50,9 @@ jobs:
|
||||
- name: make Slic3r
|
||||
working-directory: ./build
|
||||
run: make Slic3r
|
||||
- name: make .mo
|
||||
working-directory: ./build
|
||||
run: make gettext_po_to_mo
|
||||
- name: create directory and copy into it
|
||||
working-directory: ./build
|
||||
run: |
|
||||
|
10
.github/workflows/ccpp_win.yml
vendored
10
.github/workflows/ccpp_win.yml
vendored
@ -59,6 +59,9 @@ jobs:
|
||||
- name: make
|
||||
working-directory: ./build
|
||||
run: msbuild /m /P:Configuration=Release INSTALL.vcxproj
|
||||
- name: make .mo
|
||||
working-directory: ./build
|
||||
run: msbuild /m /P:Configuration=Release gettext_po_to_mo.vcxproj
|
||||
- name: create directory and copy into it
|
||||
working-directory: ./build
|
||||
run: ls
|
||||
@ -75,10 +78,13 @@ jobs:
|
||||
working-directory: ./build
|
||||
shell: cmd
|
||||
run: '"C:/Program Files/7-Zip/7z.exe" x Slic3r_2.2.53.3_win64_20201005.zip'
|
||||
- name: copy old release content
|
||||
- name: copy missing dll content from old release
|
||||
working-directory: ./build
|
||||
shell: cmd
|
||||
run: xcopy /RCYIE Slic3r_2.2.53.3_win64_20201005\* package\
|
||||
run: |
|
||||
xcopy /RCYIE Slic3r_2.2.53.3_win64_20201005\*.dll package\
|
||||
xcopy /RCYIE Slic3r_2.2.53.3_win64_20201005\*.bat package\
|
||||
xcopy /RCYIE Slic3r_2.2.53.3_win64_20201005\mesa package\
|
||||
- name: copy new resources
|
||||
working-directory: ./build
|
||||
shell: cmd
|
||||
|
10
.github/workflows/ccpp_win_debug.yml
vendored
10
.github/workflows/ccpp_win_debug.yml
vendored
@ -59,6 +59,9 @@ jobs:
|
||||
- name: make
|
||||
working-directory: ./build
|
||||
run: msbuild /m /P:Configuration=Debug INSTALL.vcxproj
|
||||
- name: make .mo
|
||||
working-directory: ./build
|
||||
run: msbuild /m /P:Configuration=Debug gettext_po_to_mo.vcxproj
|
||||
- name: create directory and copy into it
|
||||
working-directory: ./build
|
||||
run: ls
|
||||
@ -75,10 +78,13 @@ jobs:
|
||||
working-directory: ./build
|
||||
shell: cmd
|
||||
run: '"C:/Program Files/7-Zip/7z.exe" x Slic3r_2.2.53.3_win64_20201005.zip'
|
||||
- name: copy old release content
|
||||
- name: copy missing dll content from old release
|
||||
working-directory: ./build
|
||||
shell: cmd
|
||||
run: xcopy /RCYIE Slic3r_2.2.53.3_win64_20201005\* package\
|
||||
run: |
|
||||
xcopy /RCYIE Slic3r_2.2.53.3_win64_20201005\*.dll package\
|
||||
xcopy /RCYIE Slic3r_2.2.53.3_win64_20201005\*.bat package\
|
||||
xcopy /RCYIE Slic3r_2.2.53.3_win64_20201005\mesa package\
|
||||
- name: copy new resources
|
||||
working-directory: ./build
|
||||
shell: cmd
|
||||
|
13051
resources/localization/cs/Slic3r.po
Normal file
13051
resources/localization/cs/Slic3r.po
Normal file
File diff suppressed because it is too large
Load Diff
13049
resources/localization/de/Slic3r.po
Normal file
13049
resources/localization/de/Slic3r.po
Normal file
File diff suppressed because it is too large
Load Diff
201
resources/localization/en/Slic3r.po
Normal file
201
resources/localization/en/Slic3r.po
Normal file
@ -0,0 +1,201 @@
|
||||
|
||||
|
||||
#: src/slic3r/GUI/ButtonsDescription.cpp:16
|
||||
msgid "Buttons And Text Colors Description"
|
||||
msgstr "Buttons and Text Colors Description"
|
||||
|
||||
|
||||
#: src/slic3r/GUI/ConfigSnapshotDialog.cpp:23
|
||||
msgid "Before roll back"
|
||||
msgstr "Before rollback"
|
||||
|
||||
|
||||
#: src/slic3r/GUI/ConfigWizard.cpp:1159
|
||||
#, possible-c-format
|
||||
msgid ""
|
||||
"If enabled, %s checks for new application versions online. When a new "
|
||||
"version becomes available, a notification is displayed at the next "
|
||||
"application startup (never during program usage). This is only a "
|
||||
"notification mechanisms, no automatic installation is done."
|
||||
msgstr "If enabled, %s checks for new application versions online. When a new version becomes available, a notification is displayed at the next application startup (never during program usage). This is only a notification mechanism, no automatic installation is done."
|
||||
|
||||
|
||||
#: src/slic3r/GUI/ConfigWizard.cpp:1169
|
||||
#, possible-c-format
|
||||
msgid ""
|
||||
"If enabled, %s downloads updates of built-in system presets in the "
|
||||
"background.These updates are downloaded into a separate temporary location."
|
||||
"When a new preset version becomes available it is offered at application "
|
||||
"startup."
|
||||
msgstr "If enabled, %s downloads updates of built-in system presets in the background. These updates are downloaded into a separate temporary location. When a new preset version becomes available it is offered at application startup."
|
||||
|
||||
|
||||
#: src/slic3r/GUI/ConfigWizard.cpp:1177
|
||||
msgid ""
|
||||
"Additionally a backup snapshot of the whole configuration is created before "
|
||||
"an update is applied."
|
||||
msgstr "Additionally, a backup snapshot of the whole configuration is created before an update is applied."
|
||||
|
||||
|
||||
#: src/slic3r/GUI/DoubleSlider.cpp:1292
|
||||
msgid ""
|
||||
"The sequential print is on.\n"
|
||||
"It's impossible to apply any custom G-code for objects printing "
|
||||
"sequentually.\n"
|
||||
"This code won't be processed during G-code generation."
|
||||
msgstr ""
|
||||
"The sequential print is on.\n"
|
||||
"It's impossible to apply any custom G-code for objects printing sequentially.\n"
|
||||
"This code won't be processed during G-code generation."
|
||||
|
||||
|
||||
#: src/slic3r/GUI/Gizmos/GLGizmoSlaSupports.cpp:1127
|
||||
msgid "Autogeneration will erase all manually edited points."
|
||||
msgstr "Auto Generation will erase all manually edited points."
|
||||
|
||||
|
||||
#: src/slic3r/GUI/Tab.cpp:3998
|
||||
msgid "WHITE BULLET icon indicates a non system (or non default) preset."
|
||||
msgstr "WHITE BULLET icon indicates a non-system (or non-default) preset."
|
||||
|
||||
|
||||
#: src/slic3r/GUI/UpdateDialogs.cpp:71
|
||||
msgid "Don't notify about new releases any more"
|
||||
msgstr "Don't notify about new releases anymore"
|
||||
|
||||
|
||||
#: src/slic3r/Utils/Duet.cpp:88 src/slic3r/Utils/Duet.cpp:151
|
||||
#: src/slic3r/Utils/FlashAir.cpp:122 src/slic3r/Utils/FlashAir.cpp:143
|
||||
#: src/slic3r/Utils/FlashAir.cpp:159
|
||||
msgid "Unknown error occured"
|
||||
msgstr "Unknown error occurred"
|
||||
|
||||
|
||||
#: src/libslic3r/Print.cpp:1511
|
||||
msgid ""
|
||||
"One or more object were assigned an extruder that the printer does not have."
|
||||
msgstr "One or more objects were assigned an extruder that the printer does not have."
|
||||
|
||||
|
||||
#: src/libslic3r/PrintConfig.cpp:504
|
||||
msgid ""
|
||||
"When printing multi-material objects, this settings will make Slic3r to clip "
|
||||
"the overlapping object parts one by the other (2nd part will be clipped by "
|
||||
"the 1st, 3rd part will be clipped by the 1st and 2nd etc)."
|
||||
msgstr "When printing multi-material objects, this settings will make Slic3r to clip the overlapping object parts one by the other (2nd part will be clipped by the 1st, 3rd part will be clipped by the 1st and 2nd etc.)."
|
||||
|
||||
|
||||
#: src/libslic3r/PrintConfig.cpp:524
|
||||
msgid ""
|
||||
"A boolean expression using the configuration values of an active printer "
|
||||
"profile. If this expression evaluates to true, this profile is considered "
|
||||
"compatible with the active printer profile."
|
||||
msgstr "A Boolean expression using the configuration values of an active printer profile. If this expression evaluates to true, this profile is considered compatible with the active printer profile."
|
||||
|
||||
|
||||
#: src/libslic3r/PrintConfig.cpp:539
|
||||
msgid ""
|
||||
"A boolean expression using the configuration values of an active print "
|
||||
"profile. If this expression evaluates to true, this profile is considered "
|
||||
"compatible with the active print profile."
|
||||
msgstr "A Boolean expression using the configuration values of an active print profile. If this expression evaluates to true, this profile is considered compatible with the active print profile."
|
||||
|
||||
|
||||
#: src/libslic3r/PrintConfig.cpp:700
|
||||
msgid ""
|
||||
"Add solid infill near sloping surfaces to guarantee the vertical shell "
|
||||
"thickness (top+bottom solid layers)."
|
||||
msgstr "Add solid infill near sloping surfaces to guarantee the vertical shell thickness (top + bottom solid layers)."
|
||||
|
||||
|
||||
#: src/libslic3r/PrintConfig.cpp:1360
|
||||
msgid ""
|
||||
"Speed used for unloading the filament on the wipe tower (does not affect "
|
||||
"initial part of unloading just after ramming). "
|
||||
msgstr "Speed used for unloading the filament on the wipe tower (does not affect initial part of unloading just after ramming). "
|
||||
|
||||
|
||||
#: src/libslic3r/PrintConfig.cpp:1377
|
||||
msgid ""
|
||||
"Time to wait after the filament is unloaded. May help to get reliable "
|
||||
"toolchanges with flexible materials that may need more time to shrink to "
|
||||
"original dimensions. "
|
||||
msgstr "Time to wait after the filament is unloaded. May help to get reliable tool changes with flexible materials that may need more time to shrink to original dimensions. "
|
||||
|
||||
|
||||
#: src/libslic3r/PrintConfig.cpp:1579
|
||||
#, possible-c-format
|
||||
msgid "Density of internal infill, expressed in the range 0% - 100%."
|
||||
msgstr "Density of internal infill, expressed in the range 0 % - 100 %."
|
||||
|
||||
|
||||
#: src/libslic3r/PrintConfig.cpp:2831
|
||||
msgid ""
|
||||
"When set to zero, the distance the filament is moved from parking position "
|
||||
"during load is exactly the same as it was moved back during unload. When "
|
||||
"positive, it is loaded further, if negative, the loading move is shorter "
|
||||
"than unloading. "
|
||||
msgstr "When set to zero, the distance the filament is moved from parking position during load is exactly the same as it was moved back during unload. When positive, it is loaded further, if negative, the loading move is shorter than unloading. "
|
||||
|
||||
|
||||
#: src/libslic3r/PrintConfig.cpp:3042
|
||||
msgid "Retraction Length (Toolchange)"
|
||||
msgstr "Retraction Length (Tool change)"
|
||||
|
||||
|
||||
#: src/libslic3r/PrintConfig.cpp:3561
|
||||
msgid ""
|
||||
"If enabled, the wipe tower will not be printed on layers with no "
|
||||
"toolchanges. On layers with a toolchange, extruder will travel downward to "
|
||||
"print the wipe tower. User is responsible for ensuring there is no collision "
|
||||
"with the print."
|
||||
msgstr "If enabled, the wipe tower will not be printed on layers with no tool changes. On layers with a tool change, extruder will travel downward to print the wipe tower. User is responsible for ensuring there is no collision with the print."
|
||||
|
||||
|
||||
#: src/libslic3r/PrintConfig.cpp:3806
|
||||
msgid ""
|
||||
"Support material will not be generated for overhangs whose slope angle (90° "
|
||||
"= vertical) is above the given threshold. In other words, this value "
|
||||
"represent the most horizontal slope (measured from the horizontal plane) "
|
||||
"that you can print without support material. Set to zero for automatic "
|
||||
"detection (recommended)."
|
||||
msgstr "Support material will not be generated for overhangs whose slope angle (90° = vertical) is above the given threshold. In other words, this value represents the most horizontal slope (measured from the horizontal plane) that you can print without support material. Set to zero for automatic detection (recommended)."
|
||||
|
||||
|
||||
#: src/libslic3r/PrintConfig.cpp:4098
|
||||
msgid ""
|
||||
"This matrix describes volumes (in cubic milimetres) required to purge the "
|
||||
"new filament on the wipe tower for any given pair of tools. "
|
||||
msgstr "This matrix describes volumes (in cubic millimetres) required to purge the new filament on the wipe tower for any given pair of tools. "
|
||||
|
||||
|
||||
#: src/libslic3r/PrintConfig.cpp:4195
|
||||
msgid ""
|
||||
"Purging after toolchange will done inside this object's infills. This lowers "
|
||||
"the amount of waste but may result in longer print time due to additional "
|
||||
"travel moves."
|
||||
msgstr "Purging after tool change will done inside this object's infills. This lowers the amount of waste but may result in longer print time due to additional travel moves."
|
||||
|
||||
|
||||
#: src/libslic3r/PrintConfig.cpp:4203
|
||||
msgid ""
|
||||
"Object will be used to purge the nozzle after a toolchange to save material "
|
||||
"that would otherwise end up in the wipe tower and decrease print time. "
|
||||
"Colours of the objects will be mixed as a result."
|
||||
msgstr "Object will be used to purge the nozzle after a tool change to save material that would otherwise end up in the wipe tower and decrease print time. Colours of the objects will be mixed as a result."
|
||||
|
||||
|
||||
#: src/libslic3r/PrintConfig.cpp:5018
|
||||
msgid ""
|
||||
"Some objects can get along with a few smaller pads instead of a single big "
|
||||
"one. This parameter defines how far the center of two smaller pads should "
|
||||
"be. If theyare closer, they will get merged into one pad."
|
||||
msgstr "Some objects can get along with a few smaller pads instead of a single big one. This parameter defines how far the center of two smaller pads should be. If they are closer, they will get merged into one pad."
|
||||
|
||||
#: ../../ui_layout/filament.ui : l66
|
||||
msgid "Toolchange parameters with single extruder MM printers"
|
||||
msgstr "Toolchange parameters with single extruder MM printers"
|
||||
|
||||
#: ../../ui_layout/print.ui : l257
|
||||
msgid "Autospeed (advanced)"
|
||||
msgstr "Auto Speed (advanced)"
|
13049
resources/localization/es/Slic3r.po
Normal file
13049
resources/localization/es/Slic3r.po
Normal file
File diff suppressed because it is too large
Load Diff
15483
resources/localization/it/Slic3r.po
Normal file
15483
resources/localization/it/Slic3r.po
Normal file
File diff suppressed because it is too large
Load Diff
10949
resources/localization/ja/Slic3r.po
Normal file
10949
resources/localization/ja/Slic3r.po
Normal file
File diff suppressed because it is too large
Load Diff
10940
resources/localization/ko/Slic3r.po
Normal file
10940
resources/localization/ko/Slic3r.po
Normal file
File diff suppressed because it is too large
Load Diff
13941
resources/localization/nl/Slic3r.po
Normal file
13941
resources/localization/nl/Slic3r.po
Normal file
File diff suppressed because it is too large
Load Diff
13053
resources/localization/pl/Slic3r.po
Normal file
13053
resources/localization/pl/Slic3r.po
Normal file
File diff suppressed because it is too large
Load Diff
14006
resources/localization/pt_br/Slic3r.po
Normal file
14006
resources/localization/pt_br/Slic3r.po
Normal file
File diff suppressed because it is too large
Load Diff
13369
resources/localization/ru/Slic3r.po
Normal file
13369
resources/localization/ru/Slic3r.po
Normal file
File diff suppressed because it is too large
Load Diff
8248
resources/localization/tr/Slic3r.po
Normal file
8248
resources/localization/tr/Slic3r.po
Normal file
File diff suppressed because it is too large
Load Diff
0
resources/localization/uk/Slic3r.po
Normal file
0
resources/localization/uk/Slic3r.po
Normal file
@ -8,7 +8,8 @@ for lang in languages:
|
||||
if 'y' != input("translating "+lang+"? (y/n): "):
|
||||
continue
|
||||
# create .po
|
||||
os.system("msgunfmt "+lang+"/PrusaSlicer.mo -o "+lang+"/PrusaSlicer.po > nul");
|
||||
#os.system("msgunfmt "+lang+"/Slic3r.mo -o "+lang+"/SuperSlicer.po > nul");
|
||||
#os.system("copy ..\\loc\\"+lang+"\\*.po "+lang+"\\PrusaSlicer.po");
|
||||
|
||||
file_out_stream = open(lang+"/settings.ini", mode="w", encoding="utf-8");
|
||||
file_out_stream.write("data = ./PrusaSlicer.po\n");
|
||||
@ -23,6 +24,9 @@ for lang in languages:
|
||||
p = subprocess.Popen(["python","../pom_merger.py"], cwd=lang);
|
||||
p.wait();
|
||||
|
||||
#create .mo
|
||||
os.system("msgfmt "+lang+"/Slic3r.po -o "+lang+"/SuperSlicer.mo");
|
||||
# msgfmt Slic3r.po -o Slic3r.mo
|
||||
for file in os.listdir(lang):
|
||||
if not file.endswith("Slic3r.po"):
|
||||
os.remove(lang + "/" + file);
|
||||
# #create .mo
|
||||
# os.system("msgfmt "+lang+"/SuperSlicer.po -o "+lang+"/SuperSlicer.mo");
|
||||
# #msgfmt Slic3r.po -o Slic3r.mo
|
||||
|
9545
resources/localization/zh_cn/Slic3r.po
Normal file
9545
resources/localization/zh_cn/Slic3r.po
Normal file
File diff suppressed because it is too large
Load Diff
7431
resources/localization/zh_tw/Slic3r.po
Normal file
7431
resources/localization/zh_tw/Slic3r.po
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user