Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions Easydict.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
objects = {

/* Begin PBXBuildFile section */
A73120261023000000000001 /* LocalizationTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = A73120261023000000000002 /* LocalizationTests.swift */; };
02DEDC04202604300000007E /* MarkdownRenderer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 02DEDC042026043000000002 /* MarkdownRenderer.swift */; };
02DEDC04202604300000008E /* MarkdownLabel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 02DEDC042026043000000003 /* MarkdownLabel.swift */; };
02DEDC04202604300000009E /* MarkdownToggleButton.swift in Sources */ = {isa = PBXBuildFile; fileRef = 02DEDC042026043000000004 /* MarkdownToggleButton.swift */; };
Expand Down Expand Up @@ -688,6 +689,7 @@
/* End PBXCopyFilesBuildPhase section */

/* Begin PBXFileReference section */
A73120261023000000000002 /* LocalizationTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LocalizationTests.swift; sourceTree = "<group>"; };
003F53EF2A8C452998524A99 /* UtilityFunctionsTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UtilityFunctionsTests.swift; sourceTree = "<group>"; };
02DEDC042026043000000002 /* MarkdownRenderer.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MarkdownRenderer.swift; sourceTree = "<group>"; };
02DEDC042026043000000003 /* MarkdownLabel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MarkdownLabel.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -1496,6 +1498,14 @@
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
A73120261023000000000003 /* Localization */ = {
isa = PBXGroup;
children = (
A73120261023000000000002 /* LocalizationTests.swift */,
);
path = Localization;
sourceTree = "<group>";
};
02DEDC042026043000000001 /* Markdown */ = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -3675,6 +3685,7 @@
BE5912DE778CDCD8495CA4E5 /* Feature */ = {
isa = PBXGroup;
children = (
A73120261023000000000003 /* Localization */,
A12760012026090500000003 /* Query */,
02DEDC0420260430000000C1 /* Markdown */,
030732CB2F24862A0001382A /* OCR */,
Expand Down Expand Up @@ -4076,6 +4087,7 @@
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
ur,
en,
Base,
es,
Expand Down Expand Up @@ -4424,6 +4436,7 @@
03A8846E2F12000100D5C0DE /* TaskTimeoutTests.swift in Sources */,
A1D1807E2F8D100100B1C0D1 /* ThrottleGateTests.swift in Sources */,
B95E8E65988E4351BF03462E /* UtilityFunctionsTests.swift in Sources */,
A73120261023000000000001 /* LocalizationTests.swift in Sources */,
73960B6BE1AB4186BA1377CF /* TestSuites.swift in Sources */,
03FDAE962E1A8A290029369E /* RegexTests.swift in Sources */,
031153412EDB0BA20083521F /* StringCommentHandlingTests.swift in Sources */,
Expand Down
2 changes: 2 additions & 0 deletions Easydict/App/EasydictApp.swift
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ struct EasydictApp: App {
MenuItemView()
.environmentObject(languageState)
.environment(\.locale, .init(identifier: I18nHelper.shared.localizeCode))
.environment(\.layoutDirection, languageState.language.layoutDirection)
Comment thread
tisfeng marked this conversation as resolved.
Resolved
} label: {
Label {
Text("Easydict")
Expand Down Expand Up @@ -104,6 +105,7 @@ struct EasydictApp: App {
SettingView()
.environmentObject(languageState)
.environment(\.locale, .init(identifier: I18nHelper.shared.localizeCode))
.environment(\.layoutDirection, languageState.language.layoutDirection)
}
}

Expand Down
24 changes: 24 additions & 0 deletions Easydict/App/InfoPlist.xcstrings
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@
"value" : "Easydict"
}
},
"ur" : {
"stringUnit" : {
"state" : "translated",
"value" : "Easydict"
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
Expand Down Expand Up @@ -65,6 +71,12 @@
"value" : "Easydict"
}
},
"ur" : {
"stringUnit" : {
"state" : "translated",
"value" : "Easydict"
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
Expand Down Expand Up @@ -107,6 +119,12 @@
"value" : "Easydict vyžaduje povolenie na vykonanie AppleScriptu."
}
},
"ur" : {
"stringUnit" : {
"state" : "translated",
"value" : "Easydict کو AppleScript چلانے کے لیے اجازت درکار ہے۔"
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
Expand Down Expand Up @@ -149,6 +167,12 @@
"value" : "Autorské práva © 2023-2025 tisfeng. Všetky práva vyhradené."
}
},
"ur" : {
"stringUnit" : {
"state" : "translated",
"value" : "Copyright © 2023-2025 tisfeng. جملہ حقوق محفوظ ہیں۔"
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
Expand Down
Loading
Loading