Generate dummy texts from existing Localizable.strings:
- http://stackoverflow.com/a/13948746
brew install translate-toolkit
Generate dummy texts from existing Localizable.strings:
brew install translate-toolkit| (lldb) bt | |
| * thread #1: tid = 0x6b9a, 0x00000001974c00a8 libobjc.A.dylib`objc_exception_throw, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1 | |
| frame #0: 0x00000001974c00a8 libobjc.A.dylib`objc_exception_throw | |
| frame #1: 0x0000000186c53290 CoreFoundation`-[__NSArrayM insertObject:atIndex:] + 844 | |
| frame #2: 0x000000018b5b7ad0 UIKit`-[UINavigationBar pushNavigationItem:] + 268 | |
| frame #3: 0x000000018b5b78bc UIKit`-[UINavigationBar _pushNavigationItem:transition:] + 392 | |
| frame #4: 0x000000018b7fa334 UIKit`-[UINavigationBar _addItem:withEffectiveDelegate:transition:] + 152 | |
| frame #5: 0x000000018b839bfc UIKit`-[UIViewController _appendNavigationItemsToNavigationController:transition:] + 456 | |
| frame #6: 0x000000018b5b7340 UIKit`__71-[UINavigationController pushViewController:transition:forceImmediate:]_block_invoke + 292 | |
| frame #7: 0x000000018b5d114c UIKit`-[UINavigationController _startDeferredTransitionIfNeeded:] + 980 |
| "<objectid>.ibShadowedDisplayPattern" = "Localized Text %{value1}@"; | |
| "<objectid>.ibShadowedIsNilPlaceholder" = "Null Placeholder i18n"; |
| OLD NEW | |
| -------------------------------------------------------------------- | |
| %A EEEE | |
| %a E | |
| %B MMMM | |
| %b MMM | |
| %C ?? | |
| %c ?? | |
| %D MM/dd/yy | |
| %d dd |
I hereby claim:
To claim this, I am signing this object:
| #pragma mark - | |
| #pragma mark Core Data stack | |
| /** | |
| Returns the managed object context for the application. | |
| If the context doesn't already exist, it is created and bound to the persistent store coordinator for the application. | |
| */ | |
| - (NSManagedObjectContext *)managedObjectContext { | |
| if (managedObjectContext != nil) { |
| - fixes crash when "buy"-cell is removed more than once | |
| - fixes crash by preventing user from "opening" downloading documents | |
| - fixed crash by disabling add button when in magic pages | |
| - fixes crash in multiple choice training when delaying answers | |
| - fixes crash in language edit controller | |
| - fixes crash when adding training mode | |
| - fixes crash when uploading files | |
| - fixes crash in slideshow when going past first word | |
| - fixes crash in training mode when repeating words | |
| - fixes some other crashes |
| -- Uses System Events' keystrokes to start a recording in SimCap.app | |
| -- SimCap: http://www.jaml.co.uk/simcap/ | |
| tell application "SimCap" | |
| activate | |
| tell application "System Events" | |
| tell process "SimCap" | |
| keystroke "r" using {command down} | |
| delay 1.0 | |
| keystroke "s" using {command down} |
| -- Uses System Events' keystrokes to start a recording in SimCap.app | |
| tell application "SimCap" | |
| activate | |
| delay 0.5 | |
| tell application "System Events" | |
| tell process "SimCap" | |
| keystroke "r" using {command down} | |
| end tell |