Lin icon indicating copy to clipboard operation
Lin copied to clipboard

[New Feature] auto popup a new strings key panel if user enter a strings key that not exists.

Open alexlee002 opened this issue 10 years ago • 2 comments

If I enter a new strings key that not exists in current strings table, It would automatically (of if I cmd+Click the strings key) popup a panel that I can add a new strings key and multi-language values for it.

alexlee002 avatar Apr 20 '15 12:04 alexlee002

Or, if we write the strings value in source code like this:

NSLocalizedString(@"This is my strings value", tableName);

If the strings value "This is my strings value" is already existed in tableName.strings with a key @"my_key", we can popup a tip to tell the user to use the exists key instead. e.g.:

NSLocalizedString(@"my_key", tableName);

alexlee002 avatar Apr 20 '15 12:04 alexlee002

Thanks. So you have two ideas:

  1. Add a new key-value pair from popup
  2. Tell the users that the value is existing, and replace it with key if necessary

About the first one, I'd like to say this (in #47). And for the second one, I cannot imagine the use case...

nek023 avatar Apr 24 '15 06:04 nek023