Skip to content
This repository has been archived by the owner on Apr 6, 2020. It is now read-only.

Add russian localization #184

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
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
15 changes: 15 additions & 0 deletions QBImagePicker.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
AAF1CA301ACE6E46005F6295 /* QBAssetsViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = AAF1CA2E1ACE6E46005F6295 /* QBAssetsViewController.m */; };
AAF1CA331ACE6FB5005F6295 /* QBAssetCell.h in Headers */ = {isa = PBXBuildFile; fileRef = AAF1CA311ACE6FB5005F6295 /* QBAssetCell.h */; };
AAF1CA341ACE6FB5005F6295 /* QBAssetCell.m in Sources */ = {isa = PBXBuildFile; fileRef = AAF1CA321ACE6FB5005F6295 /* QBAssetCell.m */; };
D0FC61FD1E085E5F0062DA6F /* QBImagePicker.stringsdict in Resources */ = {isa = PBXBuildFile; fileRef = D0FC61FF1E085E5F0062DA6F /* QBImagePicker.stringsdict */; };
E521B0A21B01D9300079461F /* QBImagePicker.strings in Resources */ = {isa = PBXBuildFile; fileRef = AAF1CA3F1ACE8918005F6295 /* QBImagePicker.strings */; };
/* End PBXBuildFile section */

Expand Down Expand Up @@ -122,6 +123,8 @@
AAF1CA321ACE6FB5005F6295 /* QBAssetCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = QBAssetCell.m; sourceTree = "<group>"; };
AAF1CA3E1ACE8918005F6295 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/QBImagePicker.strings; sourceTree = "<group>"; };
AAF1CA401ACE8A8B005F6295 /* ja */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ja; path = ja.lproj/QBImagePicker.strings; sourceTree = "<group>"; };
D0FC61ED1E084BB00062DA6F /* ru */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ru; path = ru.lproj/QBImagePicker.strings; sourceTree = "<group>"; };
D0FC61FE1E085E5F0062DA6F /* ru */ = {isa = PBXFileReference; lastKnownFileType = text.plist.stringsdict; name = ru; path = ru.lproj/QBImagePicker.stringsdict; sourceTree = "<group>"; };
E521B0A11B01D6810079461F /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/QBImagePicker.strings"; sourceTree = "<group>"; };
F167DB441C086AB90045AD5B /* pl */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = pl; path = pl.lproj/QBImagePicker.strings; sourceTree = "<group>"; };
/* End PBXFileReference section */
Expand Down Expand Up @@ -305,6 +308,7 @@
children = (
AAF1CA221ACE5598005F6295 /* QBImagePicker.storyboard */,
AAF1CA3F1ACE8918005F6295 /* QBImagePicker.strings */,
D0FC61FF1E085E5F0062DA6F /* QBImagePicker.stringsdict */,
);
name = Resources;
sourceTree = "<group>";
Expand Down Expand Up @@ -441,6 +445,7 @@
es,
de,
pl,
ru,
);
mainGroup = AAA8FDF91ACDA079002A9710;
productRefGroup = AAA8FE041ACDA079002A9710 /* Products */;
Expand All @@ -460,6 +465,7 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
D0FC61FD1E085E5F0062DA6F /* QBImagePicker.stringsdict in Resources */,
E521B0A21B01D9300079461F /* QBImagePicker.strings in Resources */,
AAF1CA231ACE5598005F6295 /* QBImagePicker.storyboard in Resources */,
);
Expand Down Expand Up @@ -580,10 +586,19 @@
07A50A481B331A840010E048 /* es */,
74BB93661B2CE91A0044EB60 /* de */,
F167DB441C086AB90045AD5B /* pl */,
D0FC61ED1E084BB00062DA6F /* ru */,
);
name = QBImagePicker.strings;
sourceTree = "<group>";
};
D0FC61FF1E085E5F0062DA6F /* QBImagePicker.stringsdict */ = {
isa = PBXVariantGroup;
children = (
D0FC61FE1E085E5F0062DA6F /* ru */,
);
name = QBImagePicker.stringsdict;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */

/* Begin XCBuildConfiguration section */
Expand Down
20 changes: 20 additions & 0 deletions QBImagePicker/ru.lproj/QBImagePicker.strings
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/*
QBImagePicker.strings
QBImagePicker

Created by Katsuma Tanaka on 2015/04/03.
Copyright (c) 2015 Katsuma Tanaka. All rights reserved.
*/

"albums.title" = "Фото";

"assets.footer.photo" = "%ld фото";
"assets.footer.photos" = "%ld фото";
"assets.footer.video" = "%ld видео";
"assets.footer.videos" = "%ld видео";
"assets.footer.photo-and-video" = "%ld фото, %ld видео";
"assets.footer.photos-and-video" = "%ld фото, %ld видео";
"assets.footer.photo-and-videos" = "%ld фото, %ld видео";
"assets.footer.photos-and-videos" = "%ld фото, %ld видео";

"assets.toolbar.item-selected" = "Выбран %ld элемент";
31 changes: 31 additions & 0 deletions QBImagePicker/ru.lproj/QBImagePicker.stringsdict
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<!--
QBImagePicker.stringsdict.plist
QBImagePicker

Created by Alexander Malnev on 19/12/2016.
Copyright (c) 2016 Katsuma Tanaka. All rights reserved.
-->
<plist version="1.0">
<dict>
<key>assets.toolbar.items-selected</key>
<dict>
<key>NSStringLocalizedFormatKey</key>
<string>%#@photos@</string>
<key>photos</key>
<dict>
<key>NSStringFormatSpecTypeKey</key>
<string>NSStringPluralRuleType</string>
<key>NSStringFormatValueTypeKey</key>
<string>ld</string>
<key>one</key>
<string>Выбран %ld элемент</string>
<key>many</key>
<string>Выбрано %ld элементов</string>
<key>other</key>
<string>Выбрано %ld элемента</string>
</dict>
</dict>
</dict>
</plist>