Skip to content

Commit

Permalink
Localize info.plist
Browse files Browse the repository at this point in the history
  • Loading branch information
KrLite committed Jul 24, 2024
1 parent 0b02b95 commit 14d303a
Show file tree
Hide file tree
Showing 3 changed files with 71 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Abyssal.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
2822C58E2BDC75DE009C71DA /* SFSafeSymbols in Frameworks */ = {isa = PBXBuildFile; productRef = 2822C58D2BDC75DE009C71DA /* SFSafeSymbols */; };
2822C5902BDC7748009C71DA /* Icon.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2822C58F2BDC7748009C71DA /* Icon.swift */; };
282A34E92C50818D000338D8 /* DispatchQueue+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 282A34E82C50818D000338D8 /* DispatchQueue+Extensions.swift */; };
282A34EB2C50957F000338D8 /* InfoPlist.xcstrings in Resources */ = {isa = PBXBuildFile; fileRef = 282A34EA2C50957F000338D8 /* InfoPlist.xcstrings */; };
282CB7202C283B7600AF381D /* EmptyFormWrapper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 282CB71F2C283B7600AF381D /* EmptyFormWrapper.swift */; };
282CB7222C2844B700AF381D /* UnifiedVStack.swift in Sources */ = {isa = PBXBuildFile; fileRef = 282CB7212C2844B700AF381D /* UnifiedVStack.swift */; };
282D880A2AD58BEA0015111C /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = C66CABA72A38871500E4D8E6 /* Assets.xcassets */; };
Expand Down Expand Up @@ -99,6 +100,7 @@
/* Begin PBXFileReference section */
2822C58F2BDC7748009C71DA /* Icon.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Icon.swift; sourceTree = "<group>"; };
282A34E82C50818D000338D8 /* DispatchQueue+Extensions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "DispatchQueue+Extensions.swift"; sourceTree = "<group>"; };
282A34EA2C50957F000338D8 /* InfoPlist.xcstrings */ = {isa = PBXFileReference; lastKnownFileType = text.json.xcstrings; path = InfoPlist.xcstrings; sourceTree = "<group>"; };
282CB71F2C283B7600AF381D /* EmptyFormWrapper.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = EmptyFormWrapper.swift; sourceTree = "<group>"; };
282CB7212C2844B700AF381D /* UnifiedVStack.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UnifiedVStack.swift; sourceTree = "<group>"; };
282E92892C27C25000C21EE5 /* Tip.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tip.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -415,6 +417,7 @@
28CB53A22C2B930C00F32A71 /* Miscellaneous */,
C6DEC52D2A39C83100943448 /* Extensions */,
C66CABA72A38871500E4D8E6 /* Assets.xcassets */,
282A34EA2C50957F000338D8 /* InfoPlist.xcstrings */,
C69873BB2A42880C00C5E259 /* Localizable.xcstrings */,
);
path = Abyssal;
Expand Down Expand Up @@ -566,6 +569,7 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
282A34EB2C50957F000338D8 /* InfoPlist.xcstrings in Resources */,
282D880A2AD58BEA0015111C /* Assets.xcassets in Resources */,
C69873BC2A42880C00C5E259 /* Localizable.xcstrings in Resources */,
);
Expand Down Expand Up @@ -782,6 +786,7 @@
ONLY_ACTIVE_ARCH = YES;
SDKROOT = macosx;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)";
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
};
name = Debug;
Expand Down Expand Up @@ -840,6 +845,7 @@
MTL_FAST_MATH = YES;
SDKROOT = macosx;
SWIFT_COMPILATION_MODE = wholemodule;
SWIFT_EMIT_LOC_STRINGS = YES;
};
name = Release;
};
Expand All @@ -861,7 +867,7 @@
INFOPLIST_KEY_CFBundleDisplayName = Abyssal;
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities";
INFOPLIST_KEY_LSUIElement = YES;
INFOPLIST_KEY_NSHumanReadableCopyright = "";
INFOPLIST_KEY_NSHumanReadableCopyright = "\U0012©2024 Cement Labs";
INFOPLIST_KEY_NSPrincipalClass = NSApplication;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
Expand Down Expand Up @@ -894,7 +900,7 @@
INFOPLIST_KEY_CFBundleDisplayName = Abyssal;
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities";
INFOPLIST_KEY_LSUIElement = YES;
INFOPLIST_KEY_NSHumanReadableCopyright = "";
INFOPLIST_KEY_NSHumanReadableCopyright = "\U0012©2024 Cement Labs";
INFOPLIST_KEY_NSPrincipalClass = NSApplication;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
Expand Down
60 changes: 60 additions & 0 deletions Abyssal/InfoPlist.xcstrings
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
{
"sourceLanguage" : "en",
"strings" : {
"CFBundleDisplayName" : {
"comment" : "Bundle display name",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Abyssal"
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "Abyssal"
}
}
}
},
"CFBundleName" : {
"comment" : "Bundle name",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Abyssal"
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "Abyssal"
}
}
}
},
"NSHumanReadableCopyright" : {
"comment" : "Copyright (human-readable)",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "\u0012©2024 Cement Labs"
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "\u0012©2024 Cement Labs"
}
}
}
}
},
"version" : "1.0"
}
3 changes: 3 additions & 0 deletions Abyssal/Localizable.xcstrings
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,9 @@
}
}
}
},
"Debug Fetch State" : {

},
"Display ID" : {
"localizations" : {
Expand Down

0 comments on commit 14d303a

Please sign in to comment.