Opened 15 years ago
Closed 14 years ago
#6092 closed enhancement (fixed)
Localization for NetworkStatus application
Reported by: | Karvjorm | Owned by: | pulkomandy |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Applications | Version: | R1/alpha2 |
Keywords: | NetworkStatus localization patch libbe.so build fail | Cc: | Karvjorm |
Blocked By: | Blocking: | ||
Platform: | All |
Description
Here is a localization patch for NetworkStatus application. For some reason I was not able to build it because of failed buildning of libbe.so (dependecies with icon files?).
Attachments (2)
Change History (7)
comment:1 by , 15 years ago
patch: | 0 → 1 |
---|
by , 15 years ago
Attachment: | libicon_a_error.png added |
---|
comment:2 by , 15 years ago
Summary: | Localization for NetworStatus application → Localization for NetworkStatus application |
---|
I fixed also Summary line typo. And there were 2 bugs, (= instead of +=) that I already fixed. It's better to sleep some hours because of many errors. ;)
comment:3 by , 15 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:4 by , 15 years ago
The part with strncmp() in NetworkStatusView:359 feels a bit hacky to me. Also, kstatusDescriptions is a const, so you can't change it this way. Instead, you have to use TR_MARK (or whatever the macro to "mark for translation" was renamed to), on the static strings in line 51. Then, you have to call B_TRANSLATE in all the places where the table is actually used, for example printf(kStatusDescriptions[2]) becomes printf(B_TRANSLATE(kStatusDescrptions[2])).
by , 15 years ago
Attachment: | NetworkStatusLocalization.patch added |
---|
An updated localization patch for NetworkStatus
comment:5 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Applied in hrev37337. Thanks !
Error message when trying to build NetworkStatus application