Skip to content

Commit 7468b2a

Browse files
Update name in some translation files
1 parent 6e7ea22 commit 7468b2a

9 files changed

Lines changed: 111 additions & 111 deletions

File tree

src/autoload/HandlerGUI.gd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ func _enter_tree() -> void:
7373
shortcuts.add_shortcut("about_donate", open_donate, ShortcutsRegistration.Behavior.PASS_THROUGH_ALL)
7474
shortcuts.add_shortcut("check_updates", open_update_checker, ShortcutsRegistration.Behavior.PASS_THROUGH_ALL)
7575
shortcuts.add_shortcut("open_settings", open_settings, ShortcutsRegistration.Behavior.PASS_THROUGH_ALL)
76-
shortcuts.add_shortcut("about_repo", OS.shell_open.bind("https://github.com/MewPurPur/GodSVG"), ShortcutsRegistration.Behavior.PASS_THROUGH_ALL)
76+
shortcuts.add_shortcut("about_repo", OS.shell_open.bind("https://github.com/MewPurPur/VectorTouch"), ShortcutsRegistration.Behavior.PASS_THROUGH_ALL)
7777
shortcuts.add_shortcut("about_website", OS.shell_open.bind("https://godsvg.com"), ShortcutsRegistration.Behavior.PASS_THROUGH_ALL)
7878
shortcuts.add_shortcut("open_externally", func() -> void: FileUtils.open_svg(Configs.savedata.get_active_tab().svg_file_path),
7979
ShortcutsRegistration.Behavior.PASS_THROUGH_ALL)

src/ui_parts/about_menu.gd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ func _on_tab_changed(idx: int) -> void:
122122
2:
123123
# This part doesn't need to be translated.
124124
%LicenseLabel.text = "MIT License\n\nCopyright (c) 2025 Anish Mishra\n" +\
125-
"Copyright (c) 2023-present GodSVG contributors\n\n" +\
125+
"Copyright (c) 2023-present VectorTouch contributors\n\n" +\
126126
Engine.get_license_info()["Expat"]
127127
3:
128128
for child in %VectorTouchParts.get_children():

src/utils/FileUtils.gd

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -539,11 +539,11 @@ completion_callback: Callable, multi_select: bool) -> void:
539539
# Setup and clearing previous data.
540540
_web_file_data_cache.clear()
541541
var window = JavaScriptBridge.get_interface("window")
542-
window.godsvgFileNames = JavaScriptBridge.create_object("Array")
543-
window.godsvgFileDataArray = JavaScriptBridge.create_object("Array")
544-
window.godsvgDialogClosed = false
545-
window.godsvgFilesToProcess = 0
546-
window.godsvgFilesProcessed = 0
542+
window.vectortouchFileNames = JavaScriptBridge.create_object("Array")
543+
window.vectortouchFileDataArray = JavaScriptBridge.create_object("Array")
544+
window.vectortouchDialogClosed = false
545+
window.vectortouchFilesToProcess = 0
546+
window.vectortouchFilesProcessed = 0
547547

548548
_change_callback = JavaScriptBridge.create_callback(_web_on_files_selected)
549549
input.addEventListener("change", _change_callback)
@@ -555,26 +555,26 @@ completion_callback: Callable, multi_select: bool) -> void:
555555

556556
# Wait for all files to be processed.
557557
while true:
558-
if window.godsvgDialogClosed:
558+
if window.vectortouchDialogClosed:
559559
return
560560

561-
var files_to_process: int = window.godsvgFilesToProcess
562-
var files_processed: int = window.godsvgFilesProcessed
561+
var files_to_process: int = window.vectortouchFilesToProcess
562+
var files_processed: int = window.vectortouchFilesProcessed
563563

564564
if files_to_process > 0 and files_processed >= files_to_process:
565565
break
566566
await Engine.get_main_loop().create_timer(0.1).timeout
567567

568568
# Process all loaded files.
569-
var file_count: int = window.godsvgFileNames.length
569+
var file_count: int = window.vectortouchFileNames.length
570570
if file_count == 0:
571571
return
572572

573573
var file_names: Array = []
574574
var file_data_array: Array = []
575575
for i in file_count:
576-
var file_name: String = window.godsvgFileNames[i]
577-
var file_data: Variant = window.godsvgFileDataArray[i]
576+
var file_name: String = window.vectortouchFileNames[i]
577+
var file_data: Variant = window.vectortouchFileDataArray[i]
578578
file_names.append(file_name)
579579
file_data_array.append(file_data)
580580

@@ -595,8 +595,8 @@ static func _web_on_files_selected(args: Array) -> void:
595595

596596
# Set up tracking for multiple files.
597597
var window = JavaScriptBridge.get_interface("window")
598-
window.godsvgFilesToProcess = files.length
599-
window.godsvgFilesProcessed = 0
598+
window.vectortouchFilesToProcess = files.length
599+
window.vectortouchFilesProcessed = 0
600600

601601
_file_load_callbacks.clear()
602602
_file_load_callbacks.resize(files.length)
@@ -610,7 +610,7 @@ static func _web_on_files_selected(args: Array) -> void:
610610
_file_load_callbacks[i] = JavaScriptBridge.create_callback(_web_on_file_loaded.bind(i))
611611
reader.onloadend = _file_load_callbacks[i]
612612

613-
window.godsvgFileNames[i] = file.name
613+
window.vectortouchFileNames[i] = file.name
614614

615615
# Read file based on extension.
616616
if file.name.get_extension().to_lower() in ["svg", "xml"]:
@@ -626,23 +626,23 @@ static func _web_on_file_loaded(args: Array, file_index: int) -> void:
626626
return
627627

628628
var window = JavaScriptBridge.get_interface("window")
629-
var file_name: String = window.godsvgFileNames[file_index]
629+
var file_name: String = window.vectortouchFileNames[file_index]
630630

631631
# Store file data based on type.
632632
if file_name.get_extension().to_lower() in ["svg", "xml"]:
633633
# For text files, store directly
634-
window.godsvgFileDataArray[file_index] = event.target.result
634+
window.vectortouchFileDataArray[file_index] = event.target.result
635635
else:
636636
# For binary files, convert ArrayBuffer to Uint8Array.
637637
var Uint8Array = JavaScriptBridge.get_interface("Uint8Array")
638-
window.godsvgFileDataArray[file_index] = Uint8Array.new(event.target.result)
638+
window.vectortouchFileDataArray[file_index] = Uint8Array.new(event.target.result)
639639

640640
# Increment processed counter.
641-
window.godsvgFilesProcessed += 1
641+
window.vectortouchFilesProcessed += 1
642642

643643
static func _web_on_file_dialog_canceled(_args: Array) -> void:
644644
var window = JavaScriptBridge.get_interface("window")
645-
window.godsvgDialogClosed = true
645+
window.vectortouchDialogClosed = true
646646

647647

648648
static func _web_save(buffer: PackedByteArray, format_name: String) -> void:

translations/GodSVG.pot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -982,7 +982,7 @@ msgid "Keeps the screen on even after inactivity, so the screensaver does not ta
982982
msgstr ""
983983

984984
#: src/ui_widgets/settings_content_generic.gd:
985-
msgid "When enabled, uses your operating system's native file dialog instead of GodSVG's built-in one."
985+
msgid "When enabled, uses your operating system's native file dialog instead of VectorTouch's built-in one."
986986
msgstr ""
987987

988988
#: src/ui_widgets/settings_content_generic.gd:

translations/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Files to translate
44
Most of the strings for a language are inside its respective po file. You can read more about this format [here](https://www.gnu.org/software/gettext/manual/html_node/PO-Files.html).
55

6-
Outside of this folder, there is the [assets/GodSVG.desktop](https://github.com/MewPurPur/GodSVG/blob/main/assets/GodSVG.desktop) file which has a few fields that can be internationalized.
6+
Outside of this folder, there is the [assets/VectorTouch.desktop](https://github.com/MewPurPur/VectorTouch/blob/main/assets/VectorTouch.desktop) file which has a few fields that can be internationalized.
77

88
# For programmers
99
New translatable strings must be within GDScript files, inside a `Translator.translate()` method. If they are part of a persistent UI, they must also respond to the `Configs.language_changed` signal.

translations/bg.po

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#, fuzzy
22
msgid ""
33
msgstr ""
4-
"Project-Id-Version: GodSVG\n"
4+
"Project-Id-Version: VectorTouch\n"
55
"POT-Creation-Date: \n"
66
"PO-Revision-Date: \n"
77
"Last-Translator: \n"
@@ -18,12 +18,12 @@ msgid "translation-credits"
1818
msgstr "MewPurPur <mew.pur.pur@gmail.com>"
1919

2020
#: src/autoload/HandlerGUI.gd:
21-
msgid "Quit GodSVG"
22-
msgstr "Затвори GodSVG"
21+
msgid "Quit VectorTouch"
22+
msgstr "Затвори VectorTouch"
2323

2424
#: src/autoload/HandlerGUI.gd:
25-
msgid "Do you want to quit GodSVG?"
26-
msgstr "Наистина ли искаш да затвориш GodSVG?"
25+
msgid "Do you want to quit VectorTouch?"
26+
msgstr "Наистина ли искаш да затвориш VectorTouch?"
2727

2828
#: src/autoload/HandlerGUI.gd:
2929
msgid "Quit"
@@ -531,8 +531,8 @@ msgid "View all releases"
531531
msgstr "Разгледай всички издания"
532532

533533
#: src/ui_parts/update_menu.gd:
534-
msgid "GodSVG is up-to-date."
535-
msgstr "GodSVG е актуален."
534+
msgid "VectorTouch is up-to-date."
535+
msgstr "VectorTouch е актуален."
536536

537537
#: src/ui_parts/update_menu.gd:
538538
msgid "New versions available!"
@@ -660,7 +660,7 @@ msgstr "Добави бърз клавиш"
660660
msgid "Press keys…"
661661
msgstr "Натисни клавиши…"
662662

663-
#. Refers to the formatter used for GodSVG's code editor.
663+
#. Refers to the formatter used for VectorTouch's code editor.
664664
#: src/ui_widgets/settings_content_generic.gd:
665665
msgid "Editor formatter"
666666
msgstr "Форматировач за приложението"
@@ -967,8 +967,8 @@ msgid "Sync window title to file name"
967967
msgstr "Синхронизирай името на прозореца с файла"
968968

969969
#: src/ui_widgets/settings_content_generic.gd:
970-
msgid "When enabled, adds the current file name before the \"GodSVG\" window title."
971-
msgstr "Когато е включено, добавя името на настоящия файл пред заглавието на прозореца \"GodSVG\"."
970+
msgid "When enabled, adds the current file name before the \"VectorTouch\" window title."
971+
msgstr "Когато е включено, добавя името на настоящия файл пред заглавието на прозореца \"VectorTouch\"."
972972

973973
#: src/ui_widgets/settings_content_generic.gd:
974974
msgid "When enabled, uses spaces instead of a single tab for indentation."
@@ -983,8 +983,8 @@ msgid "Keeps the screen on even after inactivity, so the screensaver does not ta
983983
msgstr "Поддържа екрана включен дори при неактивност, така че скрийнсейвърът да не се включва."
984984

985985
#: src/ui_widgets/settings_content_generic.gd:
986-
msgid "When enabled, uses your operating system's native file dialog instead of GodSVG's built-in one."
987-
msgstr "Когато е активирано, ще бъде използван файловият мениджър на твоята операционна система вместо вградения файлов мениджър на GodSVG."
986+
msgid "When enabled, uses your operating system's native file dialog instead of VectorTouch's built-in one."
987+
msgstr "Когато е активирано, ще бъде използван файловият мениджър на твоята операционна система вместо вградения файлов мениджър на VectorTouch."
988988

989989
#: src/ui_widgets/settings_content_generic.gd:
990990
msgid "The setting has no effect in the current configuration."
@@ -1031,8 +1031,8 @@ msgid "New transform"
10311031
msgstr "Нова трансформация"
10321032

10331033
#: src/ui_widgets/unrecognized_field.gd:
1034-
msgid "GodSVG doesn’t recognize this attribute"
1035-
msgstr "GodSVG не разпознава този атрибут"
1034+
msgid "VectorTouch doesn’t recognize this attribute"
1035+
msgstr "VectorTouch не разпознава този атрибут"
10361036

10371037
#: src/utils/FileUtils.gd:
10381038
msgid "The following files were discarded:"
@@ -1087,8 +1087,8 @@ msgid "Don't save"
10871087
msgstr "Не записвай"
10881088

10891089
#: src/utils/FileUtils.gd:
1090-
msgid "{file_path} is already being edited inside GodSVG."
1091-
msgstr "{file_path} вече се редактира в GodSVG."
1090+
msgid "{file_path} is already being edited inside VectorTouch."
1091+
msgstr "{file_path} вече се редактира в VectorTouch."
10921092

10931093
#: src/utils/FileUtils.gd:
10941094
msgid "If you want to revert your edits since the last save, use {reset_svg}."
@@ -1295,20 +1295,20 @@ msgid "Open Donate menu"
12951295
msgstr "Отвори менюто за дарения"
12961296

12971297
#: src/utils/TranslationUtils.gd:
1298-
msgid "GodSVG repository"
1299-
msgstr "Репозиторията на GodSVG"
1298+
msgid "VectorTouch repository"
1299+
msgstr "Репозиторията на VectorTouch"
13001300

13011301
#: src/utils/TranslationUtils.gd:
1302-
msgid "Open GodSVG repository"
1303-
msgstr "Отвори репозиторията на GodSVG"
1302+
msgid "Open VectorTouch repository"
1303+
msgstr "Отвори репозиторията на VectorTouch"
13041304

13051305
#: src/utils/TranslationUtils.gd:
1306-
msgid "GodSVG website"
1307-
msgstr "Уебсайта на GodSVG"
1306+
msgid "VectorTouch website"
1307+
msgstr "Уебсайта на VectorTouch"
13081308

13091309
#: src/utils/TranslationUtils.gd:
1310-
msgid "Open GodSVG website"
1311-
msgstr "Отвори уебсайта на GodSVG"
1310+
msgid "Open VectorTouch website"
1311+
msgstr "Отвори уебсайта на VectorTouch"
13121312

13131313
#: src/utils/TranslationUtils.gd:
13141314
msgid "Check for updates"

translations/en.po

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#, fuzzy
22
msgid ""
33
msgstr ""
4-
"Project-Id-Version: GodSVG\n"
4+
"Project-Id-Version: VectorTouch\n"
55
"POT-Creation-Date: \n"
66
"PO-Revision-Date: \n"
77
"Last-Translator: \n"
@@ -18,11 +18,11 @@ msgid "translation-credits"
1818
msgstr ""
1919

2020
#: src/autoload/HandlerGUI.gd:
21-
msgid "Quit GodSVG"
21+
msgid "Quit VectorTouch"
2222
msgstr ""
2323

2424
#: src/autoload/HandlerGUI.gd:
25-
msgid "Do you want to quit GodSVG?"
25+
msgid "Do you want to quit VectorTouch?"
2626
msgstr ""
2727

2828
#: src/autoload/HandlerGUI.gd:
@@ -531,7 +531,7 @@ msgid "View all releases"
531531
msgstr ""
532532

533533
#: src/ui_parts/update_menu.gd:
534-
msgid "GodSVG is up-to-date."
534+
msgid "VectorTouch is up-to-date."
535535
msgstr ""
536536

537537
#: src/ui_parts/update_menu.gd:
@@ -660,7 +660,7 @@ msgstr ""
660660
msgid "Press keys…"
661661
msgstr ""
662662

663-
#. Refers to the formatter used for GodSVG's code editor.
663+
#. Refers to the formatter used for VectorTouch's code editor.
664664
#: src/ui_widgets/settings_content_generic.gd:
665665
msgid "Editor formatter"
666666
msgstr ""
@@ -967,7 +967,7 @@ msgid "Sync window title to file name"
967967
msgstr ""
968968

969969
#: src/ui_widgets/settings_content_generic.gd:
970-
msgid "When enabled, adds the current file name before the \"GodSVG\" window title."
970+
msgid "When enabled, adds the current file name before the \"VectorTouch\" window title."
971971
msgstr ""
972972

973973
#: src/ui_widgets/settings_content_generic.gd:
@@ -983,7 +983,7 @@ msgid "Keeps the screen on even after inactivity, so the screensaver does not ta
983983
msgstr ""
984984

985985
#: src/ui_widgets/settings_content_generic.gd:
986-
msgid "When enabled, uses your operating system's native file dialog instead of GodSVG's built-in one."
986+
msgid "When enabled, uses your operating system's native file dialog instead of VectorTouch's built-in one."
987987
msgstr ""
988988

989989
#: src/ui_widgets/settings_content_generic.gd:
@@ -1031,7 +1031,7 @@ msgid "New transform"
10311031
msgstr ""
10321032

10331033
#: src/ui_widgets/unrecognized_field.gd:
1034-
msgid "GodSVG doesn’t recognize this attribute"
1034+
msgid "VectorTouch doesn’t recognize this attribute"
10351035
msgstr ""
10361036

10371037
#: src/utils/FileUtils.gd:
@@ -1087,7 +1087,7 @@ msgid "Don't save"
10871087
msgstr ""
10881088

10891089
#: src/utils/FileUtils.gd:
1090-
msgid "{file_path} is already being edited inside GodSVG."
1090+
msgid "{file_path} is already being edited inside VectorTouch."
10911091
msgstr ""
10921092

10931093
#: src/utils/FileUtils.gd:
@@ -1295,19 +1295,19 @@ msgid "Open Donate menu"
12951295
msgstr ""
12961296

12971297
#: src/utils/TranslationUtils.gd:
1298-
msgid "GodSVG repository"
1298+
msgid "VectorTouch repository"
12991299
msgstr ""
13001300

13011301
#: src/utils/TranslationUtils.gd:
1302-
msgid "Open GodSVG repository"
1302+
msgid "Open VectorTouch repository"
13031303
msgstr ""
13041304

13051305
#: src/utils/TranslationUtils.gd:
1306-
msgid "GodSVG website"
1306+
msgid "VectorTouch website"
13071307
msgstr ""
13081308

13091309
#: src/utils/TranslationUtils.gd:
1310-
msgid "Open GodSVG website"
1310+
msgid "Open VectorTouch website"
13111311
msgstr ""
13121312

13131313
#: src/utils/TranslationUtils.gd:

0 commit comments

Comments
 (0)