-
Notifications
You must be signed in to change notification settings - Fork 281
Localisation #659
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
schriftgestalt
wants to merge
4
commits into
libgit2:master
Choose a base branch
from
schriftgestalt:localisation
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+288
−29
Open
Localisation #659
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
46c025e
use better location for the .lproj files and add (still empty) german…
schriftgestalt e5fe4c6
add target to update the english Localizable.strings
schriftgestalt 5914da5
WIP: add NSLocalizedString macros
schriftgestalt a236c12
remove code signing info
schriftgestalt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
/* No comment provided by engineer. */ | ||
"A filter named \"%@\" has already been registered" = "A filter named \"%@\" has already been registered"; | ||
|
||
/* error */ | ||
"Branch enumeration failed" = "Branch enumeration failed"; | ||
|
||
/* error */ | ||
"Branch lookup failed" = "Branch lookup failed"; | ||
|
||
/* No comment provided by engineer. */ | ||
"Could not create git index iterator." = "Could not create git index iterator."; | ||
|
||
/* No comment provided by engineer. */ | ||
"Could not create status list." = "Could not create status list."; | ||
|
||
/* No comment provided by engineer. */ | ||
"Could not iterate conflict." = "Could not iterate conflict."; | ||
|
||
/* No comment provided by engineer. */ | ||
"Could not update index." = "Could not update index."; | ||
|
||
/* error */ | ||
"Failed to clone repository from %@ to %@" = "Failed to clone repository from %1$@ to %2$@"; | ||
|
||
/* error */ | ||
"Failed to configure the server certificate at %@" = "Failed to configure the server certificate at %@"; | ||
|
||
/* error */ | ||
"Failed to create direct reference to %@" = "Failed to create direct reference to %@"; | ||
|
||
/* error */ | ||
"Failed to create symbolic reference to %@" = "Failed to create symbolic reference to %@"; | ||
|
||
/* error */ | ||
"Failed to delete remote." = "Failed to delete remote."; | ||
|
||
/* error */ | ||
"Failed to enumerate tags" = "Failed to enumerate tags"; | ||
|
||
/* error */ | ||
"Failed to fetch from remote" = "Fetch von Remote ist fehlgeschlagen"; | ||
|
||
/* error */ | ||
"Failed to find merge base between commits %@ and %@." = "Failed to find merge base between commits %1$@ and %2$@."; | ||
|
||
/* error */ | ||
"Failed to get config for repository." = "Failed to get config for repository."; | ||
|
||
/* No comment provided by engineer. */ | ||
"Failed to get fetch refspecs for remote" = "Failed to get fetch refspecs for remote"; | ||
|
||
/* error */ | ||
"Failed to get HEAD%@" = "Failed to get HEAD%@"; | ||
|
||
/* error */ | ||
"Failed to get index for repository." = "Failed to get index for repository."; | ||
|
||
/* error */ | ||
"Failed to initialize empty repository at URL %@." = "Failed to initialize empty repository at URL %@."; | ||
|
||
/* error */ | ||
"Failed to list all references." = "Failed to list all references."; | ||
|
||
/* error */ | ||
"Failed to list all remotes." = "Failed to list all remotes."; | ||
|
||
/* error */ | ||
"Failed to look up submodule %@." = "Failed to look up submodule %@."; | ||
|
||
/* error */ | ||
"Failed to lookup object" = "Failed to lookup object"; | ||
|
||
/* error */ | ||
"Failed to open repository at URL %@." = "Failed to open repository at URL %@."; | ||
|
||
/* error */ | ||
"Failed to read prepared message." = "Failed to read prepared message."; | ||
|
||
/* No comment provided by engineer. */ | ||
"Invalid file path URL to initialize repository." = "Invalid file path URL to initialize repository."; | ||
|
||
/* No comment provided by engineer. */ | ||
"Invalid file path URL to open." = "Invalid file path URL to open."; | ||
|
||
/* error */ | ||
"Revision specifier lookup failed." = "Revision specifier lookup failed."; | ||
|
||
/* No comment provided by engineer. */ | ||
"Unregister the existing filter first." = "Unregister the existing filter first."; | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/* Localized versions of Info.plist keys */ | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
/* No comment provided by engineer. */ | ||
"A filter named \"%@\" has already been registered" = "A filter named \"%@\" has already been registered"; | ||
|
||
/* error */ | ||
"Branch enumeration failed" = "Branch enumeration failed"; | ||
|
||
/* error */ | ||
"Branch lookup failed" = "Branch lookup failed"; | ||
|
||
/* No comment provided by engineer. */ | ||
"Could not create git index iterator." = "Could not create git index iterator."; | ||
|
||
/* No comment provided by engineer. */ | ||
"Could not create status list." = "Could not create status list."; | ||
|
||
/* No comment provided by engineer. */ | ||
"Could not iterate conflict." = "Could not iterate conflict."; | ||
|
||
/* No comment provided by engineer. */ | ||
"Could not update index." = "Could not update index."; | ||
|
||
/* error */ | ||
"Failed to clone repository from %@ to %@" = "Failed to clone repository from %1$@ to %2$@"; | ||
|
||
/* error */ | ||
"Failed to configure the server certificate at %@" = "Failed to configure the server certificate at %@"; | ||
|
||
/* error */ | ||
"Failed to create direct reference to %@" = "Failed to create direct reference to %@"; | ||
|
||
/* error */ | ||
"Failed to create symbolic reference to %@" = "Failed to create symbolic reference to %@"; | ||
|
||
/* error */ | ||
"Failed to delete remote." = "Failed to delete remote."; | ||
|
||
/* error */ | ||
"Failed to enumerate tags" = "Failed to enumerate tags"; | ||
|
||
/* error */ | ||
"Failed to fetch from remote" = "Fetch von Remote ist fehlgeschlagen"; | ||
|
||
/* error */ | ||
"Failed to find merge base between commits %@ and %@." = "Failed to find merge base between commits %1$@ and %2$@."; | ||
|
||
/* error */ | ||
"Failed to get config for repository." = "Failed to get config for repository."; | ||
|
||
/* No comment provided by engineer. */ | ||
"Failed to get fetch refspecs for remote" = "Failed to get fetch refspecs for remote"; | ||
|
||
/* error */ | ||
"Failed to get HEAD%@" = "Failed to get HEAD%@"; | ||
|
||
/* error */ | ||
"Failed to get index for repository." = "Failed to get index for repository."; | ||
|
||
/* error */ | ||
"Failed to initialize empty repository at URL %@." = "Failed to initialize empty repository at URL %@."; | ||
|
||
/* error */ | ||
"Failed to list all references." = "Failed to list all references."; | ||
|
||
/* error */ | ||
"Failed to list all remotes." = "Failed to list all remotes."; | ||
|
||
/* error */ | ||
"Failed to look up submodule %@." = "Failed to look up submodule %@."; | ||
|
||
/* error */ | ||
"Failed to lookup object" = "Failed to lookup object"; | ||
|
||
/* error */ | ||
"Failed to open repository at URL %@." = "Failed to open repository at URL %@."; | ||
|
||
/* error */ | ||
"Failed to read prepared message." = "Failed to read prepared message."; | ||
|
||
/* No comment provided by engineer. */ | ||
"Invalid file path URL to initialize repository." = "Invalid file path URL to initialize repository."; | ||
|
||
/* No comment provided by engineer. */ | ||
"Invalid file path URL to open." = "Invalid file path URL to open."; | ||
|
||
/* error */ | ||
"Revision specifier lookup failed." = "Revision specifier lookup failed."; | ||
|
||
/* No comment provided by engineer. */ | ||
"Unregister the existing filter first." = "Unregister the existing filter first."; | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,17 @@ | |
objects = { | ||
|
||
/* Begin PBXAggregateTarget section */ | ||
562126272101D971009A787A /* genstrings */ = { | ||
isa = PBXAggregateTarget; | ||
buildConfigurationList = 5621262C2101D971009A787A /* Build configuration list for PBXAggregateTarget "genstrings" */; | ||
buildPhases = ( | ||
5621262D2101D978009A787A /* ShellScript */, | ||
); | ||
dependencies = ( | ||
); | ||
name = genstrings; | ||
productName = genstrings; | ||
}; | ||
6A28265217C69CB400C6A948 /* OpenSSL-iOS */ = { | ||
isa = PBXAggregateTarget; | ||
buildConfigurationList = 6A28265417C69CB400C6A948 /* Build configuration list for PBXAggregateTarget "OpenSSL-iOS" */; | ||
|
@@ -105,6 +116,7 @@ | |
55C8057A13875578004DCB0F /* NSString+Git.m in Sources */ = {isa = PBXBuildFile; fileRef = 55C8057313874CDF004DCB0F /* NSString+Git.m */; }; | ||
55C8057D13875C11004DCB0F /* NSData+Git.h in Headers */ = {isa = PBXBuildFile; fileRef = BD6C2266131459E700992935 /* NSData+Git.h */; settings = {ATTRIBUTES = (Public, ); }; }; | ||
55C8057E13875C1B004DCB0F /* NSString+Git.h in Headers */ = {isa = PBXBuildFile; fileRef = 55C8057213874CDF004DCB0F /* NSString+Git.h */; settings = {ATTRIBUTES = (Public, ); }; }; | ||
562126302101DD06009A787A /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = 5621262E2101DD06009A787A /* Localizable.strings */; }; | ||
5BE612881745EE3400266D8C /* GTTreeBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = 5BE612861745EE3300266D8C /* GTTreeBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; | ||
5BE6128A1745EE3400266D8C /* GTTreeBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = 5BE612871745EE3300266D8C /* GTTreeBuilder.m */; }; | ||
5BE612931745EEBC00266D8C /* GTTreeBuilderSpec.m in Sources */ = {isa = PBXBuildFile; fileRef = 5BE612921745EEBC00266D8C /* GTTreeBuilderSpec.m */; }; | ||
|
@@ -454,7 +466,7 @@ | |
/* End PBXCopyFilesBuildPhase section */ | ||
|
||
/* Begin PBXFileReference section */ | ||
089C1667FE841158C02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = "<group>"; }; | ||
089C1667FE841158C02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = English; path = ObjectiveGit/en.lproj/InfoPlist.strings; sourceTree = "<group>"; }; | ||
1058C7B1FEA5585E11CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = "<absolute>"; }; | ||
200578C418932A82001C06C3 /* GTBlameSpec.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GTBlameSpec.m; sourceTree = "<group>"; }; | ||
2089E43B17D9A58000F451DA /* GTTagSpec.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GTTagSpec.m; sourceTree = "<group>"; }; | ||
|
@@ -504,6 +516,8 @@ | |
55C8054D13861F34004DCB0F /* GTObjectDatabase.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = GTObjectDatabase.m; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objc; }; | ||
55C8057213874CDF004DCB0F /* NSString+Git.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSString+Git.h"; sourceTree = "<group>"; }; | ||
55C8057313874CDF004DCB0F /* NSString+Git.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSString+Git.m"; sourceTree = "<group>"; }; | ||
5621262F2101DD06009A787A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = ObjectiveGit/en.lproj/Localizable.strings; sourceTree = "<group>"; }; | ||
562126312101DD25009A787A /* de */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = de; path = ObjectiveGit/de.lproj/Localizable.strings; sourceTree = "<group>"; }; | ||
5BE612861745EE3300266D8C /* GTTreeBuilder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GTTreeBuilder.h; sourceTree = "<group>"; }; | ||
5BE612871745EE3300266D8C /* GTTreeBuilder.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GTTreeBuilder.m; sourceTree = "<group>"; }; | ||
5BE612921745EEBC00266D8C /* GTTreeBuilderSpec.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GTTreeBuilderSpec.m; sourceTree = "<group>"; }; | ||
|
@@ -780,6 +794,7 @@ | |
children = ( | ||
8DC2EF5A0486A6940098B216 /* Info.plist */, | ||
089C1666FE841158C02AAC07 /* InfoPlist.strings */, | ||
5621262E2101DD06009A787A /* Localizable.strings */, | ||
); | ||
name = Resources; | ||
sourceTree = "<group>"; | ||
|
@@ -1307,11 +1322,10 @@ | |
developmentRegion = English; | ||
hasScannedForEncodings = 1; | ||
knownRegions = ( | ||
English, | ||
Japanese, | ||
French, | ||
German, | ||
en, | ||
ja, | ||
fr, | ||
de, | ||
); | ||
mainGroup = 0867D691FE84028FC02AAC07 /* ObjectiveGitFramework */; | ||
productRefGroup = 034768DFFF38A50411DB9C8B /* Products */; | ||
|
@@ -1326,6 +1340,7 @@ | |
D0A330F216027F3600A616FA /* libgit2-iOS */, | ||
6A28265217C69CB400C6A948 /* OpenSSL-iOS */, | ||
6A3C609017D5963700382DFF /* libssh2-iOS */, | ||
562126272101D971009A787A /* genstrings */, | ||
); | ||
}; | ||
/* End PBXProject section */ | ||
|
@@ -1344,6 +1359,7 @@ | |
buildActionMask = 2147483647; | ||
files = ( | ||
8DC2EF530486A6940098B216 /* InfoPlist.strings in Resources */, | ||
562126302101DD06009A787A /* Localizable.strings in Resources */, | ||
F8D6384B207A618D00D1FD32 /* script in Resources */, | ||
F81B6B55207B0A9F00AB0836 /* Mac-XCTest.xcconfig in Resources */, | ||
); | ||
|
@@ -1360,6 +1376,19 @@ | |
/* End PBXResourcesBuildPhase section */ | ||
|
||
/* Begin PBXShellScriptBuildPhase section */ | ||
5621262D2101D978009A787A /* ShellScript */ = { | ||
isa = PBXShellScriptBuildPhase; | ||
buildActionMask = 2147483647; | ||
files = ( | ||
); | ||
inputPaths = ( | ||
); | ||
outputPaths = ( | ||
); | ||
runOnlyForDeploymentPostprocessing = 0; | ||
shellPath = /usr/bin/python; | ||
shellScript = "# encoding=utf-8\n\nimport os, time, codecs\nroot = os.getenv('SRCROOT')\nprint \"update localisation in\", root\nfor (dirpath, dirnames, filenames) in os.walk(root):\n if \"en.lproj\" in dirnames:\n os.chdir(dirpath)\n os.system(\"find ./ -name '*.mm' -o -name '*.m' | xargs genstrings -u -q -o en.lproj\")\n"; | ||
}; | ||
6A28265317C69CB400C6A948 /* OpenSSL-iOS */ = { | ||
isa = PBXShellScriptBuildPhase; | ||
buildActionMask = 2147483647; | ||
|
@@ -1678,6 +1707,15 @@ | |
name = InfoPlist.strings; | ||
sourceTree = "<group>"; | ||
}; | ||
5621262E2101DD06009A787A /* Localizable.strings */ = { | ||
isa = PBXVariantGroup; | ||
children = ( | ||
5621262F2101DD06009A787A /* en */, | ||
562126312101DD25009A787A /* de */, | ||
); | ||
name = Localizable.strings; | ||
sourceTree = "<group>"; | ||
}; | ||
/* End PBXVariantGroup section */ | ||
|
||
/* Begin XCBuildConfiguration section */ | ||
|
@@ -1817,6 +1855,34 @@ | |
}; | ||
name = Release; | ||
}; | ||
562126282101D971009A787A /* Debug */ = { | ||
isa = XCBuildConfiguration; | ||
buildSettings = { | ||
PRODUCT_NAME = "$(TARGET_NAME)"; | ||
}; | ||
name = Debug; | ||
}; | ||
562126292101D971009A787A /* Test */ = { | ||
isa = XCBuildConfiguration; | ||
buildSettings = { | ||
PRODUCT_NAME = "$(TARGET_NAME)"; | ||
}; | ||
name = Test; | ||
}; | ||
5621262A2101D971009A787A /* Release */ = { | ||
isa = XCBuildConfiguration; | ||
buildSettings = { | ||
PRODUCT_NAME = "$(TARGET_NAME)"; | ||
}; | ||
name = Release; | ||
}; | ||
5621262B2101D971009A787A /* Profile */ = { | ||
isa = XCBuildConfiguration; | ||
buildSettings = { | ||
PRODUCT_NAME = "$(TARGET_NAME)"; | ||
}; | ||
name = Profile; | ||
}; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This hunk should be left out — that's codesigning configuration. |
||
6A28265517C69CB400C6A948 /* Debug */ = { | ||
isa = XCBuildConfiguration; | ||
baseConfigurationReference = D0D81865174421EB00995A2E /* iOS-StaticLibrary.xcconfig */; | ||
|
@@ -2481,6 +2547,17 @@ | |
defaultConfigurationIsVisible = 0; | ||
defaultConfigurationName = Release; | ||
}; | ||
5621262C2101D971009A787A /* Build configuration list for PBXAggregateTarget "genstrings" */ = { | ||
isa = XCConfigurationList; | ||
buildConfigurations = ( | ||
562126282101D971009A787A /* Debug */, | ||
562126292101D971009A787A /* Test */, | ||
5621262A2101D971009A787A /* Release */, | ||
5621262B2101D971009A787A /* Profile */, | ||
); | ||
defaultConfigurationIsVisible = 0; | ||
defaultConfigurationName = Release; | ||
}; | ||
6A28265417C69CB400C6A948 /* Build configuration list for PBXAggregateTarget "OpenSSL-iOS" */ = { | ||
isa = XCConfigurationList; | ||
buildConfigurations = ( | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you split that into
./script/update-localization
? That would be ❤️, as that wouldsave my soul from Xcodemake it much easier to edit.