I'll try this:
Adding a new timezone to osso-clock
The set of cities included in the Nokia N800 does not include any city in my home timezone (GMT+9:30, Australian Central Standard Time).
Luckily, I’ve worked out how to add one (the following is an example for my home city of Adelaide):
- Edit /usr/share/osso-clock/wdb-parsed.txt and add the following line:
- Adelaide|AU|Australia|Australia/Adelaide|1280|650|en_AU
- (The 1280 and 650 numbers are pixel coordinates on the osso-clock map of the world)
You should be able to use the same method to add any other city that already exists in /usr/share/zoneinfo.
1. Copy osso-cities.mo from the tablet to a Linux box
2. Run "msgunfmt osso-cities.mo -o osso-cities.po"
3. Edit osso-cities.po with any text editor. Add the following lines, with blank lines separating the from other pairs:
msgid "osso_db_city_toronto"
msgstr "Toronto"
4. Run "msgfmt osso-cities.po -o osso-cities.mo
5. Copy osso-cities.mo back to your tablet.
No comments:
Post a Comment