115
115
// return the key itself
120
* Lookup the given key and return the associated text, formatting with the number
121
* @param inKey key to lookup (text should contain a %d)
122
* @param inNumber number to substitute into the %d
123
* @return associated text, or the key if not found
125
public static String getTextWithNumber(String inKey, int inNumber)
127
String localText = getText(inKey);
130
localText = String.format(localText, inNumber);
133
{} // printf formatting didn't work, maybe the placeholders are wrong?