From 249281424fd89bbc6e4c9863fe1188ad0b144f88 Mon Sep 17 00:00:00 2001 From: Javier Cicchelli Date: Wed, 20 Mar 2024 21:19:17 +0100 Subject: [PATCH] Defined some English strings for the Localizable strings catalog in the Feed framework. --- .../Resources/Catalogs/Localizable.xcstrings | 114 ++++++++++++++++++ Reviews.xcodeproj/project.pbxproj | 20 +++ 2 files changed, 134 insertions(+) create mode 100644 Frameworks/Feed/Bundle/Resources/Catalogs/Localizable.xcstrings diff --git a/Frameworks/Feed/Bundle/Resources/Catalogs/Localizable.xcstrings b/Frameworks/Feed/Bundle/Resources/Catalogs/Localizable.xcstrings new file mode 100644 index 0000000..d39c508 --- /dev/null +++ b/Frameworks/Feed/Bundle/Resources/Catalogs/Localizable.xcstrings @@ -0,0 +1,114 @@ +{ + "sourceLanguage" : "en", + "strings" : { + "common.filter.menu.all-reviews.action.title.text" : { + "comment" : "The title for the All Reviews action inside the Filter menu in the Feed List view", + "extractionState" : "manual", + "localizations" : { + "en" : { + "stringUnit" : { + "state" : "translated", + "value" : "All reviews" + } + } + } + }, + "common.filter.menu.only-1-star-reviews.action.title.text" : { + "comment" : "The title for the 1-Star Only Reviews action inside the Filter menu in the Feed List view", + "extractionState" : "manual", + "localizations" : { + "en" : { + "stringUnit" : { + "state" : "translated", + "value" : "1-star reviews only " + } + } + } + }, + "common.filter.menu.only-2-star-reviews.action.title.text" : { + "comment" : "The title for the 2-Star Only Reviews action inside the Filter menu in the Feed List view", + "extractionState" : "manual", + "localizations" : { + "en" : { + "stringUnit" : { + "state" : "translated", + "value" : "2-star reviews only" + } + } + } + }, + "common.filter.menu.only-3-star-reviews.action.title.text" : { + "comment" : "The title for the 3-Star Only Reviews action inside the Filter menu in the Feed List view", + "extractionState" : "manual", + "localizations" : { + "en" : { + "stringUnit" : { + "state" : "translated", + "value" : "3-star reviews only" + } + } + } + }, + "common.filter.menu.only-4-star-reviews.action.title.text" : { + "comment" : "The title for the 4-Star Only Reviews action inside the Filter menu in the Feed List view", + "extractionState" : "manual", + "localizations" : { + "en" : { + "stringUnit" : { + "state" : "translated", + "value" : "4-star reviews only" + } + } + } + }, + "common.filter.menu.only-5-star-reviews.action.title.text" : { + "comment" : "The title for the 5-Star Only Reviews action inside the Filter menu in the Feed List view", + "extractionState" : "manual", + "localizations" : { + "en" : { + "stringUnit" : { + "state" : "translated", + "value" : "5-star reviews only" + } + } + } + }, + "common.filter.menu.title.text" : { + "comment" : "The title for the Filter menu option in the Feed List view.", + "extractionState" : "manual", + "localizations" : { + "en" : { + "stringUnit" : { + "state" : "translated", + "value" : "Filter review by star rating" + } + } + } + }, + "view.feed-list.navigation-bar.button.filter-list.text" : { + "comment" : "The text for the Filter button at the navigation bar in the Feed List view.", + "extractionState" : "manual", + "localizations" : { + "en" : { + "stringUnit" : { + "state" : "translated", + "value" : "Filter items" + } + } + } + }, + "view.feed-list.navigation-bar.title.text" : { + "comment" : "The title for the navigation bar in the Feed List view.", + "extractionState" : "manual", + "localizations" : { + "en" : { + "stringUnit" : { + "state" : "translated", + "value" : "Latest reviews" + } + } + } + } + }, + "version" : "1.0" +} \ No newline at end of file diff --git a/Reviews.xcodeproj/project.pbxproj b/Reviews.xcodeproj/project.pbxproj index c60fad7..bede719 100644 --- a/Reviews.xcodeproj/project.pbxproj +++ b/Reviews.xcodeproj/project.pbxproj @@ -11,6 +11,7 @@ 023AC7FC2BAA3EC10027D064 /* Int+Constants.swift in Sources */ = {isa = PBXBuildFile; fileRef = 023AC7FB2BAA3EC10027D064 /* Int+Constants.swift */; }; 02620B8C2BA89C9A00DE7137 /* FeedViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 02620B8B2BA89C9A00DE7137 /* FeedViewModel.swift */; }; 02909E7B2BAB6D2E00710E14 /* Bundle+Constants.swift in Sources */ = {isa = PBXBuildFile; fileRef = 02909E7A2BAB6D2E00710E14 /* Bundle+Constants.swift */; }; + 02DA924E2BAAE3FD00C47985 /* Localizable.xcstrings in Resources */ = {isa = PBXBuildFile; fileRef = 02DA924D2BAAE3FD00C47985 /* Localizable.xcstrings */; }; 02DC7F9F2BA51793000EEEBE /* ReviewsFeed.h in Headers */ = {isa = PBXBuildFile; fileRef = 02DC7F912BA51793000EEEBE /* ReviewsFeed.h */; settings = {ATTRIBUTES = (Public, ); }; }; 02DC7FA22BA51793000EEEBE /* ReviewsFeed.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 02DC7F8F2BA51793000EEEBE /* ReviewsFeed.framework */; }; 02DC7FA32BA51793000EEEBE /* ReviewsFeed.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 02DC7F8F2BA51793000EEEBE /* ReviewsFeed.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; @@ -53,6 +54,7 @@ 023AC7FB2BAA3EC10027D064 /* Int+Constants.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Int+Constants.swift"; sourceTree = ""; }; 02620B8B2BA89C9A00DE7137 /* FeedViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FeedViewModel.swift; sourceTree = ""; }; 02909E7A2BAB6D2E00710E14 /* Bundle+Constants.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Bundle+Constants.swift"; sourceTree = ""; }; + 02DA924D2BAAE3FD00C47985 /* Localizable.xcstrings */ = {isa = PBXFileReference; lastKnownFileType = text.json.xcstrings; path = Localizable.xcstrings; sourceTree = ""; }; 02DC7F8F2BA51793000EEEBE /* ReviewsFeed.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = ReviewsFeed.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 02DC7F912BA51793000EEEBE /* ReviewsFeed.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ReviewsFeed.h; sourceTree = ""; }; 02DC7FB12BA52084000EEEBE /* Libraries */ = {isa = PBXFileReference; lastKnownFileType = wrapper; path = Libraries; sourceTree = ""; }; @@ -160,6 +162,7 @@ isa = PBXGroup; children = ( 02DC7F912BA51793000EEEBE /* ReviewsFeed.h */, + 02DA924B2BAAE3E500C47985 /* Resources */, 02DC7FB02BA51B4F000EEEBE /* Sources */, ); path = Bundle; @@ -172,6 +175,22 @@ path = Test; sourceTree = ""; }; + 02DA924B2BAAE3E500C47985 /* Resources */ = { + isa = PBXGroup; + children = ( + 02DA924C2BAAE3ED00C47985 /* Catalogs */, + ); + path = Resources; + sourceTree = ""; + }; + 02DA924C2BAAE3ED00C47985 /* Catalogs */ = { + isa = PBXGroup; + children = ( + 02DA924D2BAAE3FD00C47985 /* Localizable.xcstrings */, + ); + path = Catalogs; + sourceTree = ""; + }; 02DC7F722BA4F8F0000EEEBE /* Resources */ = { isa = PBXGroup; children = ( @@ -368,6 +387,7 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( + 02DA924E2BAAE3FD00C47985 /* Localizable.xcstrings in Resources */, ); runOnlyForDeploymentPostprocessing = 0; };