From e8fb54b0e53e8c2bdf617c917f54972068a30dae Mon Sep 17 00:00:00 2001 From: Alexander Malnev Date: Mon, 19 Dec 2016 21:38:41 +0300 Subject: [PATCH] Add russian localization --- QBImagePicker.xcodeproj/project.pbxproj | 15 +++++++++ QBImagePicker/ru.lproj/QBImagePicker.strings | 20 ++++++++++++ .../ru.lproj/QBImagePicker.stringsdict | 31 +++++++++++++++++++ 3 files changed, 66 insertions(+) create mode 100644 QBImagePicker/ru.lproj/QBImagePicker.strings create mode 100644 QBImagePicker/ru.lproj/QBImagePicker.stringsdict diff --git a/QBImagePicker.xcodeproj/project.pbxproj b/QBImagePicker.xcodeproj/project.pbxproj index 56a6f42e..db53d29f 100644 --- a/QBImagePicker.xcodeproj/project.pbxproj +++ b/QBImagePicker.xcodeproj/project.pbxproj @@ -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 */ @@ -122,6 +123,8 @@ AAF1CA321ACE6FB5005F6295 /* QBAssetCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = QBAssetCell.m; sourceTree = ""; }; AAF1CA3E1ACE8918005F6295 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/QBImagePicker.strings; sourceTree = ""; }; AAF1CA401ACE8A8B005F6295 /* ja */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ja; path = ja.lproj/QBImagePicker.strings; sourceTree = ""; }; + D0FC61ED1E084BB00062DA6F /* ru */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ru; path = ru.lproj/QBImagePicker.strings; sourceTree = ""; }; + D0FC61FE1E085E5F0062DA6F /* ru */ = {isa = PBXFileReference; lastKnownFileType = text.plist.stringsdict; name = ru; path = ru.lproj/QBImagePicker.stringsdict; sourceTree = ""; }; E521B0A11B01D6810079461F /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/QBImagePicker.strings"; sourceTree = ""; }; F167DB441C086AB90045AD5B /* pl */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = pl; path = pl.lproj/QBImagePicker.strings; sourceTree = ""; }; /* End PBXFileReference section */ @@ -305,6 +308,7 @@ children = ( AAF1CA221ACE5598005F6295 /* QBImagePicker.storyboard */, AAF1CA3F1ACE8918005F6295 /* QBImagePicker.strings */, + D0FC61FF1E085E5F0062DA6F /* QBImagePicker.stringsdict */, ); name = Resources; sourceTree = ""; @@ -441,6 +445,7 @@ es, de, pl, + ru, ); mainGroup = AAA8FDF91ACDA079002A9710; productRefGroup = AAA8FE041ACDA079002A9710 /* Products */; @@ -460,6 +465,7 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( + D0FC61FD1E085E5F0062DA6F /* QBImagePicker.stringsdict in Resources */, E521B0A21B01D9300079461F /* QBImagePicker.strings in Resources */, AAF1CA231ACE5598005F6295 /* QBImagePicker.storyboard in Resources */, ); @@ -580,10 +586,19 @@ 07A50A481B331A840010E048 /* es */, 74BB93661B2CE91A0044EB60 /* de */, F167DB441C086AB90045AD5B /* pl */, + D0FC61ED1E084BB00062DA6F /* ru */, ); name = QBImagePicker.strings; sourceTree = ""; }; + D0FC61FF1E085E5F0062DA6F /* QBImagePicker.stringsdict */ = { + isa = PBXVariantGroup; + children = ( + D0FC61FE1E085E5F0062DA6F /* ru */, + ); + name = QBImagePicker.stringsdict; + sourceTree = ""; + }; /* End PBXVariantGroup section */ /* Begin XCBuildConfiguration section */ diff --git a/QBImagePicker/ru.lproj/QBImagePicker.strings b/QBImagePicker/ru.lproj/QBImagePicker.strings new file mode 100644 index 00000000..dd435466 --- /dev/null +++ b/QBImagePicker/ru.lproj/QBImagePicker.strings @@ -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 элемент"; diff --git a/QBImagePicker/ru.lproj/QBImagePicker.stringsdict b/QBImagePicker/ru.lproj/QBImagePicker.stringsdict new file mode 100644 index 00000000..e5db378a --- /dev/null +++ b/QBImagePicker/ru.lproj/QBImagePicker.stringsdict @@ -0,0 +1,31 @@ + + + + + + assets.toolbar.items-selected + + NSStringLocalizedFormatKey + %#@photos@ + photos + + NSStringFormatSpecTypeKey + NSStringPluralRuleType + NSStringFormatValueTypeKey + ld + one + Выбран %ld элемент + many + Выбрано %ld элементов + other + Выбрано %ld элемента + + + +