Skip to content

Commit

Permalink
Merge pull request #78 from pmarcus93/pt-BR-translation
Browse files Browse the repository at this point in the history
Adds Brazilian Portuguese (pt-BR) localization.
  • Loading branch information
grishka authored Sep 26, 2023
2 parents d562f55 + 3118076 commit 797f375
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
5 changes: 5 additions & 0 deletions NearDrop.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@
/* End PBXCopyFilesBuildPhase section */

/* Begin PBXFileReference section */
2C284C432AB9FFA200F8D624 /* pt-BR */ = {isa = PBXFileReference; lastKnownFileType = text.plist.stringsdict; name = "pt-BR"; path = "pt-BR.lproj/Localizable.stringsdict"; sourceTree = "<group>"; };
2C284C442AB9FFA200F8D624 /* pt-BR */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "pt-BR"; path = "pt-BR.lproj/Localizable.strings"; sourceTree = "<group>"; };
3226184D2A51E10600B06FD1 /* de */ = {isa = PBXFileReference; lastKnownFileType = text.plist.stringsdict; name = de; path = de.lproj/Localizable.stringsdict; sourceTree = "<group>"; };
3226184E2A51E10600B06FD1 /* de */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = de; path = de.lproj/Localizable.strings; sourceTree = "<group>"; };
322618502A51EB8A00B06FD1 /* es */ = {isa = PBXFileReference; lastKnownFileType = text.plist.stringsdict; name = es; path = es.lproj/Localizable.stringsdict; sourceTree = "<group>"; };
Expand Down Expand Up @@ -390,6 +392,7 @@
de,
es,
th,
"pt-BR",
hu,
);
mainGroup = 69DA9A0529E0BF5100A442DA;
Expand Down Expand Up @@ -528,6 +531,7 @@
3226184E2A51E10600B06FD1 /* de */,
322618512A51EB8A00B06FD1 /* es */,
B670906F2A6D237600DB8273 /* th */,
2C284C442AB9FFA200F8D624 /* pt-BR */,
AE37AC282ABB62E400F0FF91 /* hu */,
);
name = Localizable.strings;
Expand All @@ -542,6 +546,7 @@
3226184D2A51E10600B06FD1 /* de */,
322618502A51EB8A00B06FD1 /* es */,
B670906E2A6D234D00DB8273 /* th */,
2C284C432AB9FFA200F8D624 /* pt-BR */,
AE37AC272ABB62E400F0FF91 /* hu */,
);
name = Localizable.stringsdict;
Expand Down
Binary file added NearDrop/pt-BR.lproj/Localizable.strings
Binary file not shown.
22 changes: 22 additions & 0 deletions NearDrop/pt-BR.lproj/Localizable.stringsdict
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NFiles</key>
<dict>
<key>NSStringLocalizedFormatKey</key>
<string>%#@files@</string>
<key>files</key>
<dict>
<key>NSStringFormatSpecTypeKey</key>
<string>NSStringPluralRuleType</string>
<key>NSStringFormatValueTypeKey</key>
<string>d</string>
<key>one</key>
<string>%d file</string>
<key>other</key>
<string>%d files</string>
</dict>
</dict>
</dict>
</plist>

0 comments on commit 797f375

Please sign in to comment.