![]() |
2007-12-31
, 14:59
|
|
Posts: 3,220 |
Thanked: 326 times |
Joined on Oct 2005
@ "Almost there!" (Monte Christo, Count of)
|
#2
|
Hi all. I found some instructions for adding a city (and a
timezone) to the clock.
(http://www.rwhitby.net/blog/n800/add...sso-clock.html)
I have edited the /usr/share/osso-clock/wdb-parsed.txt file
to add a city and it *is* added. Unfortunately, when I add
this line to the file:
Toronto|CA|Canada|Canada/Eastern|402|296|en_CA
the city name appears as
osso_db_city_toronto, Canada
Anyone know what's going wrong?
(I did not follow all of Whitby's instructions since I don't
want to add a timezone and can't figure out how to install
poedit anyway)
![]() |
2008-01-01
, 23:34
|
Posts: 2 |
Thanked: 5 times |
Joined on Jan 2008
@ Phoenix, AZ
|
#3
|
The Following 3 Users Say Thank You to Scott Bertin For This Useful Post: | ||
![]() |
2008-01-02
, 00:11
|
Posts: 145 |
Thanked: 32 times |
Joined on Dec 2007
|
#4
|
![]() |
2008-01-02
, 08:08
|
|
Posts: 1,674 |
Thanked: 171 times |
Joined on Mar 2007
@ Anderson, IN
|
#5
|
![]() |
2008-01-02
, 10:34
|
Posts: 190 |
Thanked: 21 times |
Joined on Sep 2006
|
#6
|
![]() |
2008-04-14
, 02:20
|
Posts: 362 |
Thanked: 143 times |
Joined on Mar 2008
|
#7
|
Whitby's instructions are missing a step. You need to edit osso-cities.mo in /usr/share/local/en_GB/LC_MESSAGES/ (adjust for your locale) to add the city. You can do it without using poEdit, but you still need msgunfmt and msgfmt. I had them on my Linux box, but I don't know if they are available for Windows.
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.
![]() |
2008-04-14
, 21:43
|
|
Posts: 880 |
Thanked: 264 times |
Joined on Feb 2007
@ Cambridge, UK
|
#8
|
![]() |
2008-04-15
, 01:55
|
Posts: 2 |
Thanked: 5 times |
Joined on Jan 2008
@ Phoenix, AZ
|
#9
|
The Following 2 Users Say Thank You to Scott Bertin For This Useful Post: | ||
![]() |
2008-04-15
, 02:09
|
Posts: 63 |
Thanked: 4 times |
Joined on Feb 2008
|
#10
|
timezone) to the clock.
(http://www.rwhitby.net/blog/n800/add...sso-clock.html)
I have edited the /usr/share/osso-clock/wdb-parsed.txt file
to add a city and it *is* added. Unfortunately, when I add
this line to the file:
Toronto|CA|Canada|Canada/Eastern|402|296|en_CA
the city name appears as
osso_db_city_toronto, Canada
Anyone know what's going wrong?
(I did not follow all of Whitby's instructions since I don't
want to add a timezone and can't figure out how to install
poedit anyway