Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Trick to add a warning comment to the top of Localizable.strings
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
///
/// 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