Created
January 16, 2013 19:51
-
-
Save CocoaBeans/4550245 to your computer and use it in GitHub Desktop.
Trick to add a warning comment to the top of Localizable.strings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// | |
/// | |
/// Localizable.strings.m | |
/// Checkmate | |
/// | |
/// The following macro displays a message at the top of the Localizable.strings file warning anyone to not edit the file directly. | |
/// This is not meant to be localized by anyone and only serves as a warning. | |
/// We've placed this here so the genstrings build phase will process it and add it to Localizable.strings | |
/// | |
/// Copyright (c) 2011 Micromat, Inc. All rights reserved. | |
/// | |
/// Mutator: Mutated: Mutation: | |
/// -------- -------- --------- | |
/// Kross 12.20.11 Initial Version | |
/// | |
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// | |
/* | |
NSLocalizedString(@" ", @" | |
//////////////////////////////////////////////////////////////////////////////////////////////////////////// | |
WARNING: Do NOT edit this original Localizable.strings file directly! It is re-generated on every build. | |
Foreign Localizers may ignore this warning. | |
//////////////////////////////////////////////////////////////////////////////////////////////////////////// | |
"); | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment