Skip to content

Commit

Permalink
Fix View in List capitalization
Browse files Browse the repository at this point in the history
  • Loading branch information
MewPurPur committed Jan 28, 2025
1 parent 947fd70 commit 2065ed4
Show file tree
Hide file tree
Showing 11 changed files with 18 additions and 16 deletions.
2 changes: 1 addition & 1 deletion assets/translations/GodSVG.pot
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ msgid "Restore"
msgstr ""

#: src/autoload/State.gd
msgid "View In List"
msgid "View in List"
msgstr ""

#: src/autoload/State.gd
Expand Down
10 changes: 7 additions & 3 deletions assets/translations/bg.po
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ msgid "Restore"
msgstr "Възстанови"

#: src/autoload/State.gd
msgid "View In List"
msgid "View in List"
msgstr "Виж в Списъка"

#: src/autoload/State.gd
Expand Down Expand Up @@ -106,7 +106,9 @@ msgstr "Последното състояние на този раздел не
msgid ""
"The tab is bound to the file path {file_path}. Do you want to restore from "
"this path?"
msgstr "Този раздел е свързан с пътеката {file_path}. Искаш ли да го възстановиш от тази пътека?"
msgstr ""
"Този раздел е свързан с пътеката {file_path}. Искаш ли да го възстановиш от "
"тази пътека?"

#: src/config_classes/Formatter.gd
msgid "Compact"
Expand Down Expand Up @@ -1047,7 +1049,9 @@ msgstr "Импортираният файл вече се редактира в

#: src/utils/FileUtils.gd
msgid "If you want to apply the unsaved file state, use \"Reset SVG\" instead."
msgstr "Ако искаш да приложиш незаписаното състояние на файла, използвай \"Reset SVG\"."
msgstr ""
"Ако искаш да приложиш незаписаното състояние на файла, използвай \"Reset "
"SVG\"."

#: src/utils/TranslationUtils.gd
msgid "Select the next tab"
Expand Down
2 changes: 1 addition & 1 deletion assets/translations/de.po
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ msgid "Restore"
msgstr ""

#: src/autoload/State.gd
msgid "View In List"
msgid "View in List"
msgstr "Als Liste ansehen"

#: src/autoload/State.gd
Expand Down
2 changes: 1 addition & 1 deletion assets/translations/en.po
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ msgid "Restore"
msgstr ""

#: src/autoload/State.gd
msgid "View In List"
msgid "View in List"
msgstr ""

#: src/autoload/State.gd
Expand Down
2 changes: 1 addition & 1 deletion assets/translations/fr.po
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ msgid "Restore"
msgstr ""

#: src/autoload/State.gd
msgid "View In List"
msgid "View in List"
msgstr "Voir en liste"

#: src/autoload/State.gd
Expand Down
2 changes: 1 addition & 1 deletion assets/translations/nl.po
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ msgid "Restore"
msgstr ""

#: src/autoload/State.gd
msgid "View In List"
msgid "View in List"
msgstr "Bekijken In Lijst"

#: src/autoload/State.gd
Expand Down
2 changes: 1 addition & 1 deletion assets/translations/ru.po
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ msgid "Restore"
msgstr ""

#: src/autoload/State.gd
msgid "View In List"
msgid "View in List"
msgstr "Просмотреть в списке"

#: src/autoload/State.gd
Expand Down
2 changes: 1 addition & 1 deletion assets/translations/uk.po
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ msgid "Restore"
msgstr ""

#: src/autoload/State.gd
msgid "View In List"
msgid "View in List"
msgstr "Переглянути списком"

#: src/autoload/State.gd
Expand Down
2 changes: 1 addition & 1 deletion assets/translations/zh.po
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ msgid "Restore"
msgstr ""

#: src/autoload/State.gd
msgid "View In List"
msgid "View in List"
msgstr "在列表中查看"

#: src/autoload/State.gd
Expand Down
6 changes: 2 additions & 4 deletions src/autoload/State.gd
Original file line number Diff line number Diff line change
Expand Up @@ -699,8 +699,7 @@ func get_selection_context(popup_method: Callable, context: Context) -> ContextP
if not can_move_down and base_xid[-1] < parent_child_count - filtered_count:
can_move_down = true
if context == Context.VIEWPORT:
btn_arr.append(ContextPopup.create_button(
Translator.translate("View In List"),
btn_arr.append(ContextPopup.create_button(Translator.translate("View in List"),
view_in_list.bind(selected_xids[0]), false,
load("res://assets/icons/ViewInList.svg")))

Expand Down Expand Up @@ -734,8 +733,7 @@ func get_selection_context(popup_method: Callable, context: Context) -> ContextP
var element_ref := root_element.get_xnode(semi_selected_xid)

if context == Context.VIEWPORT:
btn_arr.append(ContextPopup.create_button(
Translator.translate("View In List"),
btn_arr.append(ContextPopup.create_button(Translator.translate("View in List"),
view_in_list.bind(semi_selected_xid), false,
load("res://assets/icons/ViewInList.svg")))
match element_ref.name:
Expand Down
2 changes: 1 addition & 1 deletion src/ui_parts/display.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ unique_name_in_owner = true
disable_3d = true
handle_input_locally = false
gui_snap_controls_to_pixels = false
size = Vector2i(1040, 595)
size = Vector2i(450, 2)
size_2d_override_stretch = true
render_target_update_mode = 4
script = ExtResource("9_4xrk7")
Expand Down

0 comments on commit 2065ed4

Please sign in to comment.