Skip to content

Commit

Permalink
#164 Localize for Swedish
Browse files Browse the repository at this point in the history
  • Loading branch information
1and2papa committed Oct 23, 2015
1 parent 98fe504 commit e8890d4
Show file tree
Hide file tree
Showing 4 changed files with 63 additions and 3 deletions.
49 changes: 49 additions & 0 deletions CTAssetsPickerController/Resources/sv.lproj/CTAssetsPicker.strings
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
/* Navigation bar buttons */
"Cancel" = "Avbryt";
"Done" = "Klar";

/* Default title */
"Photos" = "Foton";

/* No. of selected */
"%@ Photo Selected" = "%@ foto valt";
"%@ Photos Selected" = "%@ foton valda";
"%@ Video Selected" = "%@ video vald";
"%@ Videos Selected" = "%@ videor valda";
"%@ Items Selected" = "%@ artiklar valda";

/* Grid view footer */
"%@ Photos" = "%@ foton";
"%@ Videos" = "%@ videor";
"%@ Photos, %@ Videos" = "%1$@ foton, %2$@ videor";

/* Assets index */
"%@ of %@" = "%1$@ av %2$@";

/* Messages if privacy is not granted */
"This app does not have access to your photos or videos." = "Denna app har inte tillgång till dina foton eller videor.";
"You can enable access in Privacy Settings." = "Du kan aktivera tillgång i Integritetsinställningarna.";

/* Messages if no assets */
"No Photos or Videos" = "Inga foton eller videor";

/* The parameter will be replaced by the device model name */
"You can take photos and videos using the camera, or sync photos and videos onto your %@\nusing iTunes." = "Du kan ta foton och videor med kameran, eller synka foton och videor in i din %@ med hjälp av iTunes.";
"You can sync photos and videos onto your %@ using iTunes." = "Du kan synka foton och videor in i din %@ med hjälp av iTunes.";

/* Accessibility labels */
"Play" = "Spela upp";
"Select" = "Välj";
"Deselect" = "Nollställ";

/* Video duration spell out */
"hours" = "timmar";
"hour" = "timme";
"minutes" = "minuter";
"minute" = "minut";
"seconds" = "sekunder";
"second" = "sekund";

/* Error message of playing stream video */
"Cannot Play Stream Video" = "Kan inte spela upp video";
"OK" = "OK";
7 changes: 6 additions & 1 deletion CTAssetsPickerDemo.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
objects = {

/* Begin PBXBuildFile section */
363F8D0A685BF86C60D06D49 /* Pods.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F1B2FBB7FD634FB543BB7BB6 /* Pods.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
363F8D0A685BF86C60D06D49 /* Pods.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F1B2FBB7FD634FB543BB7BB6 /* Pods.framework */; };
AD0786D91B428313003C8863 /* CTBasicViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = AD0786D81B428313003C8863 /* CTBasicViewController.m */; };
AD0786DF1B42864F003C8863 /* CTSelectedAssetsViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = AD0786DE1B42864F003C8863 /* CTSelectedAssetsViewController.m */; };
AD0786E21B428A73003C8863 /* CTDefaultAlbumViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = AD0786E11B428A73003C8863 /* CTDefaultAlbumViewController.m */; };
Expand Down Expand Up @@ -104,6 +104,8 @@
ADA0730C1B4625AA009FB7C7 /* CTUITweaksViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CTUITweaksViewController.m; sourceTree = "<group>"; };
ADA0730E1B462C98009FB7C7 /* CTLastWeekViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CTLastWeekViewController.h; sourceTree = "<group>"; };
ADA0730F1B462C98009FB7C7 /* CTLastWeekViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CTLastWeekViewController.m; sourceTree = "<group>"; };
ADB0121A1BD9C6B400D985F9 /* sv */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = sv; path = sv.lproj/LaunchScreen.strings; sourceTree = "<group>"; };
ADB0121B1BD9C6B400D985F9 /* sv */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = sv; path = sv.lproj/CTAssetsPicker.strings; sourceTree = "<group>"; };
ADB628801B258708005E9932 /* CTAssetPlayButton.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CTAssetPlayButton.h; sourceTree = "<group>"; };
ADB628811B258708005E9932 /* CTAssetPlayButton.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = CTAssetPlayButton.m; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objc; };
ADC0FAD81BB5015800C049EE /* CTAssetSelectionButton.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CTAssetSelectionButton.h; sourceTree = "<group>"; };
Expand Down Expand Up @@ -441,6 +443,7 @@
"zh-Hant",
nl,
"nl-NL",
sv,
);
mainGroup = ADD965BD1AAD4C49002A26A2;
productRefGroup = ADD965C71AAD4C49002A26A2 /* Products */;
Expand Down Expand Up @@ -567,6 +570,7 @@
AD0786C61B423B16003C8863 /* he */,
A741BBA21B5F7A8C00ED3D7B /* nl */,
A741BBA41B5F9AB500ED3D7B /* nl-NL */,
ADB0121A1BD9C6B400D985F9 /* sv */,
);
name = LaunchScreen.xib;
sourceTree = "<group>";
Expand Down Expand Up @@ -595,6 +599,7 @@
ADD9662C1AAD5780002A26A2 /* zh-Hant */,
A741BBA31B5F7A8C00ED3D7B /* nl */,
A741BBA51B5F9AB500ED3D7B /* nl-NL */,
ADB0121B1BD9C6B400D985F9 /* sv */,
);
name = CTAssetsPicker.strings;
sourceTree = "<group>";
Expand Down
7 changes: 5 additions & 2 deletions CTAssetsPickerDemo/Base.lproj/LaunchScreen.xib
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="7702" systemVersion="14D136" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="8191" systemVersion="15A284" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="7701"/>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="8154"/>
<capability name="Constraints with non-1.0 multipliers" minToolsVersion="5.1"/>
</dependencies>
<objects>
Expand All @@ -13,11 +14,13 @@
<subviews>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="CTAssetsPickerDemo" textAlignment="center" lineBreakMode="middleTruncation" baselineAdjustment="alignBaselines" minimumFontSize="18" translatesAutoresizingMaskIntoConstraints="NO" id="kId-c2-rCX">
<rect key="frame" x="20" y="140" width="441" height="43"/>
<animations/>
<fontDescription key="fontDescription" type="boldSystem" pointSize="36"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<animations/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
<constraints>
<constraint firstItem="kId-c2-rCX" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="bottom" multiplier="1/3" constant="1" id="5cJ-9S-tgC"/>
Expand Down
3 changes: 3 additions & 0 deletions CTAssetsPickerDemo/sv.lproj/LaunchScreen.strings
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

/* Class = "UILabel"; text = "CTAssetsPickerDemo"; ObjectID = "kId-c2-rCX"; */
"kId-c2-rCX.text" = "CTAssetsPickerDemo";

0 comments on commit e8890d4

Please sign in to comment.