Skip to content

Commit 6d1f267

Browse files
committed
fix(translations): add missing/fix incorrect translations
1 parent dda1a3d commit 6d1f267

3 files changed

Lines changed: 9 additions & 7 deletions

File tree

‎src/tagstudio/qt/controllers/tiles/color_data.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def edit_color(self, color_group: TagColorGroup):
108108

109109
self.edit_modal = Modal(
110110
build_color_panel,
111-
"Edit Color",
111+
Translations["color.edit"],
112112
is_savable=True,
113113
)
114114

‎src/tagstudio/qt/views/library_info_window_view.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def __init__(self, library: Library, driver: QtDriver):
3939
self.lib = library
4040
self.driver = driver
4141

42-
self.setWindowTitle("Library Information")
42+
self.setWindowTitle(Translations["library_info.window_title"])
4343
self.setMinimumSize(800, 480)
4444
self.root_layout = QVBoxLayout(self)
4545
self.root_layout.setContentsMargins(PAD, PAD, PAD, PAD)

‎src/tagstudio/resources/translations/en.json‎

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
"color_manager.title": "Manage Tag Colors",
2222
"color.color_border": "Use Secondary Color for Border",
2323
"color.confirm_delete": "Are you sure you want to delete the color \"{color_name}\"?",
24-
"color.delete": "Delete Tag",
24+
"color.delete": "Delete Color",
25+
"color.edit": "Edit Color",
2526
"color.import_pack": "Import Color Pack",
2627
"color.name": "Name",
2728
"color.namespace.delete.prompt": "Are you sure you want to delete this color namespace? This will delete ALL colors in the namespace along with it!",
@@ -38,7 +39,7 @@
3839
"drop_import.duplicates_choice.singular": "The following file matches a file path that already exists in the library.",
3940
"drop_import.progress.label.initial": "Importing New Files…",
4041
"drop_import.progress.label.plural": "Importing New Files…\n{count} Files Imported.{suffix}",
41-
"drop_import.progress.label.singular": "Importing New Files…\n1 File imported.{suffix}",
42+
"drop_import.progress.label.singular": "Importing New Files…\n1 File Imported.{suffix}",
4243
"drop_import.progress.window_title": "Import Files",
4344
"drop_import.title": "Conflicting File(s)",
4445
"edit.color_manager": "Manage Tag Colors",
@@ -186,7 +187,7 @@
186187
"json_migration.creating_database_tables": "Creating SQL Database Tables…",
187188
"json_migration.description": "<br>Start and preview the results of the library migration process. The converted library will <i>not</i> be used unless you click \"Finish Migration\". <br><br>Library data should either have matching values or feature a \"Matched\" label. Values that do not match will be displayed in red and feature a \"<b>(!)</b>\" symbol next to them.<br><center><i>This process may take up to several minutes for larger libraries.</i></center>",
188189
"json_migration.discrepancies_found": "Library Discrepancies Found",
189-
"json_migration.discrepancies_found.description": "Discrepancies were found between the original and converted library formats. Please review and choose to whether continue with the migration or to cancel.",
190+
"json_migration.discrepancies_found.description": "Discrepancies were found between the original and converted library formats. Please review and choose whether to continue with the migration or to cancel.",
190191
"json_migration.finish_migration": "Finish Migration",
191192
"json_migration.heading.aliases": "Aliases:",
192193
"json_migration.heading.colors": "Colors:",
@@ -251,6 +252,7 @@
251252
"library_info.stats.tags": "Tags:",
252253
"library_info.title": "Library '{library_dir}'",
253254
"library_info.version": "Library Format Version: {version}",
255+
"library_info.window_title": "Library Information",
254256
"library_object.name": "Name",
255257
"library_object.name_required": "Name (Required)",
256258
"library_object.slug": "ID Slug",
@@ -372,7 +374,7 @@
372374
"settings.tag_click_action.open_edit": "Edit Tag",
373375
"settings.tag_click_action.set_search": "Search for Tag",
374376
"settings.theme.dark": "Dark",
375-
"settings.theme.label": "Theme:",
377+
"settings.theme.label": "Theme",
376378
"settings.theme.light": "Light",
377379
"settings.theme.system": "System",
378380
"settings.thumb_cache_size.label": "Thumbnail Cache Size",
@@ -431,7 +433,7 @@
431433
"tag.parent_tags.info.searches.description": "Files tagged with \"{child}\" will also show up in searches for \"{parent}\" and \"{grandparent}\", so you don't need to apply those parent tags directly to files.<br>This only works one way: searching for \"{child}\" won't find everything tagged with \"{parent}\".",
432434
"tag.parent_tags.info.searches.title": "Searches",
433435
"tag.properties": "Properties",
434-
"tag.remove": "Remove Tag",
436+
"tag.remove": "Delete Tag",
435437
"tag.search_for_tag": "Search for Tag",
436438
"tag.shorthand": "Shorthand",
437439
"tag.tag_name_required": "Tag Name (Required)",

0 commit comments

Comments
 (0)