Skip to content

Commit 91bdc3d

Browse files
committed
refactor(l10n): migrate category localization to topic
Updates the English localization file (`app_en.arb`) to reflect the application-wide migration from "Category" to "Topic". This involves renaming all relevant keys and updating all user-facing strings to ensure the UI is consistent with the new data model.
1 parent 0491ea4 commit 91bdc3d

File tree

1 file changed

+33
-33
lines changed

1 file changed

+33
-33
lines changed

lib/l10n/arb/app_en.arb

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,9 @@
101101
"@headlines": {
102102
"description": "Label for the headlines subpage"
103103
},
104-
"categories": "Categories",
105-
"@categories": {
106-
"description": "Label for the categories subpage"
104+
"topics": "Topics",
105+
"@topics": {
106+
"description": "Label for the topics subpage"
107107
},
108108
"sources": "Sources",
109109
"@sources": {
@@ -648,17 +648,17 @@
648648
"@unknown": {
649649
"description": "Fallback text for unknown values"
650650
},
651-
"loadingCategories": "Loading Categories",
652-
"@loadingCategories": {
653-
"description": "Headline for loading state of categories"
651+
"loadingTopics": "Loading Topics",
652+
"@loadingTopics": {
653+
"description": "Headline for loading state of topics"
654654
},
655-
"noCategoriesFound": "No categories found.",
656-
"@noCategoriesFound": {
657-
"description": "Message when no categories are found"
655+
"noTopicsFound": "No topics found.",
656+
"@noTopicsFound": {
657+
"description": "Message when no topics are found"
658658
},
659-
"categoryName": "Category Name",
660-
"@categoryName": {
661-
"description": "Label for the category name field in forms and tables."
659+
"topicName": "Topic Name",
660+
"@topicName": {
661+
"description": "Label for the topic name field in forms and tables."
662662
},
663663
"description": "Description",
664664
"@description": {
@@ -688,37 +688,37 @@
688688
"@language": {
689689
"description": "Column header for language"
690690
},
691-
"editCategory": "Edit Category",
692-
"@editCategory": {
693-
"description": "Title for the Edit Category page"
691+
"editTopic": "Edit Topic",
692+
"@editTopic": {
693+
"description": "Title for the Edit Topic page"
694694
},
695695
"saveChanges": "Save Changes",
696696
"@saveChanges": {
697697
"description": "Tooltip for the save changes button"
698698
},
699-
"loadingCategory": "Loading Category",
700-
"@loadingCategory": {
701-
"description": "Message displayed while loading category data"
699+
"loadingTopic": "Loading Topic",
700+
"@loadingTopic": {
701+
"description": "Message displayed while loading topic data"
702702
},
703703
"iconUrl": "Icon URL",
704704
"@iconUrl": {
705705
"description": "Label for the icon URL input field"
706706
},
707-
"categoryUpdatedSuccessfully": "Category updated successfully.",
708-
"@categoryUpdatedSuccessfully": {
709-
"description": "Message displayed when a category is updated successfully"
707+
"topicUpdatedSuccessfully": "Topic updated successfully.",
708+
"@topicUpdatedSuccessfully": {
709+
"description": "Message displayed when a topic is updated successfully"
710710
},
711-
"cannotUpdateCategoryError": "Cannot update: Original category data not loaded.",
712-
"@cannotUpdateCategoryError": {
713-
"description": "Error message when updating a category fails because the original data wasn't loaded"
711+
"cannotUpdateTopicError": "Cannot update: Original topic data not loaded.",
712+
"@cannotUpdateTopicError": {
713+
"description": "Error message when updating a topic fails because the original data wasn't loaded"
714714
},
715-
"createCategory": "Create Category",
716-
"@createCategory": {
717-
"description": "Title for the Create Category page"
715+
"createTopic": "Create Topic",
716+
"@createTopic": {
717+
"description": "Title for the Create Topic page"
718718
},
719-
"categoryCreatedSuccessfully": "Category created successfully.",
720-
"@categoryCreatedSuccessfully": {
721-
"description": "Message displayed when a category is created successfully"
719+
"topicCreatedSuccessfully": "Topic created successfully.",
720+
"@topicCreatedSuccessfully": {
721+
"description": "Message displayed when a topic is created successfully"
722722
},
723723
"editSource": "Edit Source",
724724
"@editSource": {
@@ -838,9 +838,9 @@
838838
"@totalHeadlines": {
839839
"description": "Label for the total headlines summary card on the dashboard"
840840
},
841-
"totalCategories": "Total Categories",
842-
"@totalCategories": {
843-
"description": "Label for the total categories summary card on the dashboard"
841+
"totalTopics": "Total Topics",
842+
"@totalTopics": {
843+
"description": "Label for the total topics summary card on the dashboard"
844844
},
845845
"totalSources": "Total Sources",
846846
"@totalSources": {

0 commit comments

Comments
 (0)