From 90effadff4e6786ed6c76d3ef268a5ddde9c36af Mon Sep 17 00:00:00 2001 From: Imanol-Mikel Barba Sabariego Date: Mon, 11 Aug 2014 18:42:37 +0000 Subject: [PATCH] --- DUREX Vendor Control/CommunicationProtocol.h | 2 +- DUREX Vendor Control/DUREX Vendor Control.xcodeproj/project.xcworkspace/xcuserdata/imanol.xcuserdatad/UserInterfaceState.xcuserstate | Bin 98681 -> 0 bytes DUREX tests/Base.lproj/Localizable.strings | 10 ++++++++++ DUREX tests/Base.lproj/MainStoryboard.storyboard | 184 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ DUREX tests/CommunicationProtocol.h | 2 +- DUREX tests/DUREX test.xcodeproj/project.pbxproj | 44 +++++++++++++++++++++++++++++--------------- DUREX tests/DUREX test.xcodeproj/project.xcworkspace/xcuserdata/imanol.xcuserdatad/UserInterfaceState.xcuserstate | Bin 190059 -> 0 bytes DUREX tests/FirstAppExample/DUREX test-Info.plist | 2 +- DUREX tests/FirstAppExample/EMDevicePickerViewController.m | 4 ++-- DUREX tests/FirstAppExample/MainStoryboard.storyboard | 185 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- DUREX tests/FirstAppExample/en.lproj/InfoPlist.strings | 2 -- DUREX tests/MenuTableViewController.h | 6 +++--- DUREX tests/MenuTableViewController.m | 5 ++--- DUREX tests/es.lproj/Localizable.strings | 10 ++++++++++ DUREX tests/es.lproj/MainStoryboard.storyboard | 185 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 15 files changed, 428 insertions(+), 213 deletions(-) create mode 100644 DUREX tests/Base.lproj/Localizable.strings create mode 100644 DUREX tests/Base.lproj/MainStoryboard.storyboard delete mode 100644 DUREX tests/FirstAppExample/MainStoryboard.storyboard delete mode 100644 DUREX tests/FirstAppExample/en.lproj/InfoPlist.strings create mode 100644 DUREX tests/es.lproj/Localizable.strings create mode 100644 DUREX tests/es.lproj/MainStoryboard.storyboard diff --git a/DUREX Vendor Control/CommunicationProtocol.h b/DUREX Vendor Control/CommunicationProtocol.h index 78f31b8..2903169 100644 --- a/DUREX Vendor Control/CommunicationProtocol.h +++ b/DUREX Vendor Control/CommunicationProtocol.h @@ -9,7 +9,7 @@ #import #import "EMFramework.h" -#define MAX_STRING_LENGTH ((int)227) +#define MAX_STRING_LENGTH ((int)200) #define MAX_RETRIES ((int)3) @interface CommunicationProtocol : NSObject diff --git a/DUREX Vendor Control/DUREX Vendor Control.xcodeproj/project.xcworkspace/xcuserdata/imanol.xcuserdatad/UserInterfaceState.xcuserstate b/DUREX Vendor Control/DUREX Vendor Control.xcodeproj/project.xcworkspace/xcuserdata/imanol.xcuserdatad/UserInterfaceState.xcuserstate index 6d29b94..98b9a44 100644 Binary files a/DUREX Vendor Control/DUREX Vendor Control.xcodeproj/project.xcworkspace/xcuserdata/imanol.xcuserdatad/UserInterfaceState.xcuserstate and b/DUREX Vendor Control/DUREX Vendor Control.xcodeproj/project.xcworkspace/xcuserdata/imanol.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/DUREX tests/Base.lproj/Localizable.strings b/DUREX tests/Base.lproj/Localizable.strings new file mode 100644 index 0000000..1ac4d3d --- /dev/null +++ b/DUREX tests/Base.lproj/Localizable.strings @@ -0,0 +1,10 @@ +/* + Localizable.strings + DUREX test + + Created by Imanol Barba on 8/11/14. + Copyright (c) 2014 Emmoco. All rights reserved. +*/ + +"PIECE OF CRAP 2000 PRO ULTRA" = "PIECE OF CRAP 2000 PRO ULTRA"; +"FUCKING ONLINE" = "FUCKING ONLINE"; \ No newline at end of file diff --git a/DUREX tests/Base.lproj/MainStoryboard.storyboard b/DUREX tests/Base.lproj/MainStoryboard.storyboard new file mode 100644 index 0000000..f10e59c --- /dev/null +++ b/DUREX tests/Base.lproj/MainStoryboard.storyboard @@ -0,0 +1,184 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/DUREX tests/CommunicationProtocol.h b/DUREX tests/CommunicationProtocol.h index 6bea226..d1c80a0 100644 --- a/DUREX tests/CommunicationProtocol.h +++ b/DUREX tests/CommunicationProtocol.h @@ -8,7 +8,7 @@ #import -#define MAX_STRING_LENGTH ((int)227) +#define MAX_STRING_LENGTH ((int)200) #define MAX_RETRIES ((int)3) @interface CommunicationProtocol : NSObject diff --git a/DUREX tests/DUREX test.xcodeproj/project.pbxproj b/DUREX tests/DUREX test.xcodeproj/project.pbxproj index 6ffdbed..628a4f9 100644 --- a/DUREX tests/DUREX test.xcodeproj/project.pbxproj +++ b/DUREX tests/DUREX test.xcodeproj/project.pbxproj @@ -17,9 +17,10 @@ 34AAB883189804FF0019860D /* DUREXAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 34AAB877189804FF0019860D /* DUREXAppDelegate.m */; }; 34AAB885189804FF0019860D /* EMDevicePickerViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 34AAB87A189804FF0019860D /* EMDevicePickerViewController.m */; }; 34AAB889189804FF0019860D /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 34AAB880189804FF0019860D /* main.m */; }; - 34AAB88A189804FF0019860D /* MainStoryboard.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 34AAB881189804FF0019860D /* MainStoryboard.storyboard */; }; 34AAB88D189805300019860D /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 34AAB88C189805300019860D /* Images.xcassets */; }; F9127C891995144E00040C52 /* back_arrow.png in Resources */ = {isa = PBXBuildFile; fileRef = F9127C881995144E00040C52 /* back_arrow.png */; }; + F92B0B6C19993D3F00CAEF3E /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = F92B0B6E19993D3F00CAEF3E /* Localizable.strings */; }; + F92B0B7219993E9300CAEF3E /* MainStoryboard.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = F92B0B7019993E9300CAEF3E /* MainStoryboard.storyboard */; }; F9469169193015EE006DACD3 /* icon_checkmark.png in Resources */ = {isa = PBXBuildFile; fileRef = F9469167193015EE006DACD3 /* icon_checkmark.png */; }; F946916A193015EE006DACD3 /* icon_delete.png in Resources */ = {isa = PBXBuildFile; fileRef = F9469168193015EE006DACD3 /* icon_delete.png */; }; F962A233192FCA8A00E4324A /* Stack.m in Sources */ = {isa = PBXBuildFile; fileRef = F962A232192FCA8A00E4324A /* Stack.m */; }; @@ -27,7 +28,6 @@ F98356D8192E906600EA6821 /* bluetooth.png in Resources */ = {isa = PBXBuildFile; fileRef = F98356D7192E906600EA6821 /* bluetooth.png */; }; F98356DB192EAFD400EA6821 /* CommunicationProtocol.m in Sources */ = {isa = PBXBuildFile; fileRef = F98356DA192EAFD400EA6821 /* CommunicationProtocol.m */; }; F98356E1192EC84700EA6821 /* MenuTableViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = F98356E0192EC84700EA6821 /* MenuTableViewController.m */; }; - F9C77F4E192CDE18002DBE8A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = F9C77F4C192CDE18002DBE8A /* InfoPlist.strings */; }; F9C77F50192CDE30002DBE8A /* durex.json in Resources */ = {isa = PBXBuildFile; fileRef = F9C77F4F192CDE30002DBE8A /* durex.json */; }; /* End PBXBuildFile section */ @@ -56,9 +56,12 @@ 34AAB87E189804FF0019860D /* DUREX test-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = "DUREX test-Info.plist"; path = "FirstAppExample/DUREX test-Info.plist"; sourceTree = SOURCE_ROOT; }; 34AAB87F189804FF0019860D /* DUREX test-Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "DUREX test-Prefix.pch"; path = "FirstAppExample/DUREX test-Prefix.pch"; sourceTree = SOURCE_ROOT; }; 34AAB880189804FF0019860D /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = FirstAppExample/main.m; sourceTree = SOURCE_ROOT; }; - 34AAB881189804FF0019860D /* MainStoryboard.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = MainStoryboard.storyboard; path = FirstAppExample/MainStoryboard.storyboard; sourceTree = SOURCE_ROOT; }; 34AAB88C189805300019860D /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = FirstAppExample/Images.xcassets; sourceTree = SOURCE_ROOT; }; F9127C881995144E00040C52 /* back_arrow.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = back_arrow.png; sourceTree = SOURCE_ROOT; }; + F92B0B6D19993D3F00CAEF3E /* Base */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = Base; path = Base.lproj/Localizable.strings; sourceTree = ""; }; + F92B0B6F19993D4400CAEF3E /* es */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = es; path = es.lproj/Localizable.strings; sourceTree = ""; }; + F92B0B7119993E9300CAEF3E /* es */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = es; path = es.lproj/MainStoryboard.storyboard; sourceTree = SOURCE_ROOT; }; + F92B0B7319993E9B00CAEF3E /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/MainStoryboard.storyboard; sourceTree = SOURCE_ROOT; }; F9469167193015EE006DACD3 /* icon_checkmark.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = icon_checkmark.png; sourceTree = SOURCE_ROOT; }; F9469168193015EE006DACD3 /* icon_delete.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = icon_delete.png; sourceTree = SOURCE_ROOT; }; F962A231192FCA8A00E4324A /* Stack.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Stack.h; sourceTree = SOURCE_ROOT; }; @@ -70,7 +73,6 @@ F98356DA192EAFD400EA6821 /* CommunicationProtocol.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CommunicationProtocol.m; sourceTree = SOURCE_ROOT; }; F98356DF192EC84700EA6821 /* MenuTableViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MenuTableViewController.h; sourceTree = SOURCE_ROOT; }; F98356E0192EC84700EA6821 /* MenuTableViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MenuTableViewController.m; sourceTree = SOURCE_ROOT; }; - F9C77F4D192CDE18002DBE8A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = FirstAppExample/en.lproj/InfoPlist.strings; sourceTree = SOURCE_ROOT; }; F9C77F4F192CDE30002DBE8A /* durex.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = durex.json; sourceTree = SOURCE_ROOT; }; /* End PBXFileReference section */ @@ -132,7 +134,7 @@ 3471866618070D9300FA0FB2 /* FirstApp */ = { isa = PBXGroup; children = ( - 34AAB881189804FF0019860D /* MainStoryboard.storyboard */, + F92B0B7019993E9300CAEF3E /* MainStoryboard.storyboard */, 34AAB876189804FF0019860D /* DUREXAppDelegate.h */, 34AAB877189804FF0019860D /* DUREXAppDelegate.m */, F98356D4192E835F00EA6821 /* InitialViewController.h */, @@ -141,13 +143,13 @@ F98356E0192EC84700EA6821 /* MenuTableViewController.m */, F98356D9192EAFD400EA6821 /* CommunicationProtocol.h */, F98356DA192EAFD400EA6821 /* CommunicationProtocol.m */, + F962A231192FCA8A00E4324A /* Stack.h */, + F962A232192FCA8A00E4324A /* Stack.m */, 34AAB88C189805300019860D /* Images.xcassets */, 347186B91807290E00FA0FB2 /* Schemas */, 347186A718070F7F00FA0FB2 /* Device Picker */, 3471868F18070E4300FA0FB2 /* Framework */, 3471866718070D9300FA0FB2 /* Supporting Files */, - F962A231192FCA8A00E4324A /* Stack.h */, - F962A232192FCA8A00E4324A /* Stack.m */, ); name = FirstApp; path = TestAppExample; @@ -156,6 +158,7 @@ 3471866718070D9300FA0FB2 /* Supporting Files */ = { isa = PBXGroup; children = ( + F92B0B6E19993D3F00CAEF3E /* Localizable.strings */, F9127C881995144E00040C52 /* back_arrow.png */, F9469167193015EE006DACD3 /* icon_checkmark.png */, F9469168193015EE006DACD3 /* icon_delete.png */, @@ -163,7 +166,6 @@ 34AAB87E189804FF0019860D /* DUREX test-Info.plist */, 34AAB87F189804FF0019860D /* DUREX test-Prefix.pch */, 34AAB880189804FF0019860D /* main.m */, - F9C77F4C192CDE18002DBE8A /* InfoPlist.strings */, ); name = "Supporting Files"; sourceTree = ""; @@ -251,6 +253,8 @@ hasScannedForEncodings = 0; knownRegions = ( en, + es, + Base, ); mainGroup = 3471865418070D9300FA0FB2; productRefGroup = 3471865E18070D9300FA0FB2 /* Products */; @@ -270,12 +274,12 @@ files = ( F98356D8192E906600EA6821 /* bluetooth.png in Resources */, F9C77F50192CDE30002DBE8A /* durex.json in Resources */, - F9C77F4E192CDE18002DBE8A /* InfoPlist.strings in Resources */, 34AAB88D189805300019860D /* Images.xcassets in Resources */, + F92B0B6C19993D3F00CAEF3E /* Localizable.strings in Resources */, F9127C891995144E00040C52 /* back_arrow.png in Resources */, F9469169193015EE006DACD3 /* icon_checkmark.png in Resources */, + F92B0B7219993E9300CAEF3E /* MainStoryboard.storyboard in Resources */, F946916A193015EE006DACD3 /* icon_delete.png in Resources */, - 34AAB88A189804FF0019860D /* MainStoryboard.storyboard in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -321,12 +325,22 @@ /* End PBXTargetDependency section */ /* Begin PBXVariantGroup section */ - F9C77F4C192CDE18002DBE8A /* InfoPlist.strings */ = { + F92B0B6E19993D3F00CAEF3E /* Localizable.strings */ = { + isa = PBXVariantGroup; + children = ( + F92B0B6D19993D3F00CAEF3E /* Base */, + F92B0B6F19993D4400CAEF3E /* es */, + ); + name = Localizable.strings; + sourceTree = SOURCE_ROOT; + }; + F92B0B7019993E9300CAEF3E /* MainStoryboard.storyboard */ = { isa = PBXVariantGroup; children = ( - F9C77F4D192CDE18002DBE8A /* en */, + F92B0B7119993E9300CAEF3E /* es */, + F92B0B7319993E9B00CAEF3E /* Base */, ); - name = InfoPlist.strings; + name = MainStoryboard.storyboard; sourceTree = ""; }; /* End PBXVariantGroup section */ @@ -414,7 +428,7 @@ GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = "FirstAppExample/DUREX test-Prefix.pch"; INFOPLIST_FILE = "FirstAppExample/DUREX test-Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = 7.0; + IPHONEOS_DEPLOYMENT_TARGET = 7.1; LIBRARY_SEARCH_PATHS = ( "$(inherited)", EmmocoMobileFramework/Framework, @@ -433,7 +447,7 @@ GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = "FirstAppExample/DUREX test-Prefix.pch"; INFOPLIST_FILE = "FirstAppExample/DUREX test-Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = 7.0; + IPHONEOS_DEPLOYMENT_TARGET = 7.1; LIBRARY_SEARCH_PATHS = ( "$(inherited)", EmmocoMobileFramework/Framework, diff --git a/DUREX tests/DUREX test.xcodeproj/project.xcworkspace/xcuserdata/imanol.xcuserdatad/UserInterfaceState.xcuserstate b/DUREX tests/DUREX test.xcodeproj/project.xcworkspace/xcuserdata/imanol.xcuserdatad/UserInterfaceState.xcuserstate index c504977..e7ade45 100644 Binary files a/DUREX tests/DUREX test.xcodeproj/project.xcworkspace/xcuserdata/imanol.xcuserdatad/UserInterfaceState.xcuserstate and b/DUREX tests/DUREX test.xcodeproj/project.xcworkspace/xcuserdata/imanol.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/DUREX tests/FirstAppExample/DUREX test-Info.plist b/DUREX tests/FirstAppExample/DUREX test-Info.plist index c189583..e9693e9 100644 --- a/DUREX tests/FirstAppExample/DUREX test-Info.plist +++ b/DUREX tests/FirstAppExample/DUREX test-Info.plist @@ -3,7 +3,7 @@ CFBundleDevelopmentRegion - en + en_US CFBundleDisplayName ${PRODUCT_NAME} CFBundleExecutable diff --git a/DUREX tests/FirstAppExample/EMDevicePickerViewController.m b/DUREX tests/FirstAppExample/EMDevicePickerViewController.m index 280892f..2edf42f 100644 --- a/DUREX tests/FirstAppExample/EMDevicePickerViewController.m +++ b/DUREX tests/FirstAppExample/EMDevicePickerViewController.m @@ -78,8 +78,8 @@ cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:@"DeviceCell"]; } - [[cell textLabel] setText:@"PIECE OF CRAP 2000 PRO ULTRA"]; - [[cell detailTextLabel] setText:@"FUCKING ONLINE"]; + [[cell textLabel] setText:NSLocalizedString(@"PIECE OF CRAP 2000 PRO ULTRA", nil)]; + [[cell detailTextLabel] setText:NSLocalizedString(@"FUCKING ONLINE", nil)]; return cell; } diff --git a/DUREX tests/FirstAppExample/MainStoryboard.storyboard b/DUREX tests/FirstAppExample/MainStoryboard.storyboard deleted file mode 100644 index c911d2b..0000000 --- a/DUREX tests/FirstAppExample/MainStoryboard.storyboard +++ /dev/null @@ -1,185 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/DUREX tests/FirstAppExample/en.lproj/InfoPlist.strings b/DUREX tests/FirstAppExample/en.lproj/InfoPlist.strings deleted file mode 100644 index 477b28f..0000000 --- a/DUREX tests/FirstAppExample/en.lproj/InfoPlist.strings +++ /dev/null @@ -1,2 +0,0 @@ -/* Localized versions of Info.plist keys */ - diff --git a/DUREX tests/MenuTableViewController.h b/DUREX tests/MenuTableViewController.h index 5731267..886c0b1 100644 --- a/DUREX tests/MenuTableViewController.h +++ b/DUREX tests/MenuTableViewController.h @@ -16,9 +16,9 @@ #define MENU_CELLS_PER_SECTION num(3) #define MENU_HEADERS nil -#define MAINTENANCE_ELEMENTS @"Time",@"20€ Notes",@"10€ Notes",@"5€ Notes",@"2€ Coins",@"1€ Coins",@"50c Coins",@"CPP_TABLE",@"1€ Change",@"50c Change" -#define MAINTENANCE_CELLS_PER_SECTION num(10),num(0) -#define MAINTENANCE_HEADERS @"Status",@"Sensors" +#define MAINTENANCE_ELEMENTS @"CH1 presence",@"CH2 presence",@"CH3 presence",@"CH4 presence",@"CH5 presence",@"CH6 presence",@"CH7 presence",@"CH8 presence",@"CH1 spin",@"CH2 spin",@"CH3 spin",@"CH4 spin",@"CH5 spin",@"CH6 spin",@"CH7 spin",@"CH8 spin",@"Door sensor",@"Wall sensor",@"Oscillator",@"1€ Coin presence",@"50c Coin presence",@"1€ Coin spin",@"50c Coin spin",@"Sales log",@"Incident report",@"Send report" +#define MAINTENANCE_CELLS_PER_SECTION num(23),num(3) +#define MAINTENANCE_HEADERS @"Sensors",@"Commands" #define CELL_IDENTIFIERS @"MenuCell",@"MaintenanceCell",@"ConfigCell",@"ReportCell" diff --git a/DUREX tests/MenuTableViewController.m b/DUREX tests/MenuTableViewController.m index 5e26fde..d51190c 100644 --- a/DUREX tests/MenuTableViewController.m +++ b/DUREX tests/MenuTableViewController.m @@ -83,7 +83,7 @@ [self setCurrentCellIdentifier:[[self cellIdentifiers] objectAtIndex:[self currentNavLevel]]]; if([self currentNavLevel] == MENU) { - [[self navigationItem] setTitle:@"PIECE OF CRAP 2000 PRO ULTRA"]; + [[self navigationItem] setTitle:NSLocalizedString(@"PIECE OF CRAP 2000 PRO ULTRA", nil)]; [self setCurrentElements:[self menuElements]]; [self setCurrentStructure:[self menuStructure]]; [self setCurrentHeaders:[self menuHeaders]]; @@ -256,10 +256,9 @@ [[cell textLabel] setText:[[self currentElements] objectAtIndex:[indexPath row]+offset]]; if([self currentNavLevel] == MAINTENANCE) { - NSLog(@"[MenuTableViewController.m]: Customizing cell for navLevel MAINTENANCE"); [[cell detailTextLabel] setText:@"VALUE"]; [cell setAccessoryView: [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"icon_checkmark"]]]; - if( [[[cell textLabel] text] isEqualToString:@"5€ Notes"]) + if( [[[cell textLabel] text] isEqualToString:@"CH4 presence"]) { [cell setAccessoryView: [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"icon_delete"]]]; } diff --git a/DUREX tests/es.lproj/Localizable.strings b/DUREX tests/es.lproj/Localizable.strings new file mode 100644 index 0000000..c680668 --- /dev/null +++ b/DUREX tests/es.lproj/Localizable.strings @@ -0,0 +1,10 @@ +/* + Localizable.strings + DUREX test + + Created by Imanol Barba on 8/11/14. + Copyright (c) 2014 Emmoco. All rights reserved. +*/ + +"PIECE OF CRAP 2000 PRO ULTRA" = "CACHARRACO DE LA MUERTE"; +"FUCKING ONLINE" = "A TOPE"; \ No newline at end of file diff --git a/DUREX tests/es.lproj/MainStoryboard.storyboard b/DUREX tests/es.lproj/MainStoryboard.storyboard new file mode 100644 index 0000000..a473d0e --- /dev/null +++ b/DUREX tests/es.lproj/MainStoryboard.storyboard @@ -0,0 +1,185 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- libgit2 0.22.2