Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Change the default text for just about everything' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Change the default text for just about everything
Authored by: wallybear on Mar 13, '08 01:40:05PM

Just keep in mind that badly edited .string files can cause malfunctions to the application, so check twice before editing and twice before saving.
Remember that the syntax of every line of localizable.strings and similar is

label (or "original string") = "string";

don't edit the label (or string) at the left of the equal sign and remember of the semicolon at the end of the line; also remember to reproduce in your modified string every occurence of the %@ token: it's a placeholder that the program will replace with an actual string (e.g: "Session started at @%" will be actually translated at runtime with something like "Session started at 10:22:15"); you can change its position, but cannot delete it.

(%@ are not the only tokens you can find: as a rule of thumb if you see "strange" @ sequences, just mantain them in your new string)



[ Reply to This | # ]
Change the default text for just about everything
Authored by: S on Mar 19, '08 03:55:05AM

And also ^0, ^1 etc sometimes work.



[ Reply to This | # ]