Opened 8 years ago

Closed 8 years ago

Last modified 6 years ago

#7494 closed bug (fixed)

ReadOnlyBootPrompt's catkey has synchronization problem in HTA

Reported by: starsseed Owned by: stippi
Priority: normal Milestone: R1
Component: Applications/FirstBootPrompt Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: yes Platform: All

Description

A string from ReadOnlyBootPrompt is remove and added repeatedly because its note is truncated.

look at the bottom of http://hta.polytect.org/catalogs/view/13/fr

it should end with <www.haiku-os.org>.\"
but it ends with <www.hai

Is the string too long ?

Attachments (1)

BootPromptWindow.cpp.patch (786 bytes) - added by taos 8 years ago.
Patch with shortend B_TRANSLATE_COMMENT string.

Download all attachments as: .zip

Change History (13)

comment:1 Changed 8 years ago by taos

On HTA, this string was removed and re-added so often that there are now more than 60 entries. Every translation attempt is futile because this string will be overwritten a few hours later.

I don't know enough about programming for Haiku to decide what exactly causes this problem. I've added a patch with a shortened string. However, I can't test if this patch will help the situation on HTA.

As ReadOnlyPrompt is - after the boot logo - the first thing users see, I think we should try to solve this problem for alpha 3. It would be a nice indication of the on-going translation effort. In regard of localization, the current nightlies have come such a long way from alpha 2 that we could proudly show this in our welcome message.

Version 0, edited 8 years ago by taos (next)

Changed 8 years ago by taos

Attachment: BootPromptWindow.cpp.patch added

Patch with shortend B_TRANSLATE_COMMENT string.

comment:2 Changed 8 years ago by taos

Has a Patch: set

comment:3 Changed 8 years ago by humdinger

Applied patch with hrev41542. I also translated that dtring at least twice... :) Let's see if it helps.
BTW, the fact one cannot copy&paste from an "inactive" string at HTA kinda sucks.

comment:4 in reply to:  3 Changed 8 years ago by taos

Replying to humdinger:

BTW, the fact one cannot copy&paste from an "inactive" string at HTA kinda sucks.

But at least, one can click on the hour glass and then copy&paste from the history of an inactive string;-) Took me a couple of weeks to notice this, though;-)

comment:5 Changed 8 years ago by taos

On HTA, there is only one entry at the moment and the string seems complete. Let's wait for the new translations and catkeys to see if it really works.

comment:6 Changed 8 years ago by starsseed

fixed in hrev41542 : please close

comment:7 Changed 8 years ago by humdinger

Resolution: fixed
Status: newclosed

Thanks for checking, starseed. Thanks for the patch, taos. Closing ticket as fixed.

comment:8 Changed 8 years ago by deejam

The string reappeared again today. So this ticket needs to be re-opened.

comment:9 Changed 8 years ago by taos

Not really - the reappearance was caused by a different handling of escaped characters in hrev41629 in order to solve #7543. If you look closely, you can see that \" was replaced by " in the string on HTA. So it's not the same string reappearing again and again and...

comment:10 in reply to:  9 Changed 8 years ago by bonefish

Replying to taos:

Not really - the reappearance was caused by a different handling of escaped characters in hrev41629 in order to solve #7543. If you look closely, you can see that \" was replaced by " in the string on HTA. So it's not the same string reappearing again and again and...

Yuck! I actually might have messed that up. I don't know which mechanism HTA uses to get the keys and write them back, but string changes where definitely unintended.

comment:11 Changed 8 years ago by taos

BTW, ReadOnlyBootPrompt seems to work with both versions (" and \").

comment:12 Changed 6 years ago by mmadia

Component: Applications/ReadOnlyBootPromptApplications/FirstBootPrompt

Modifying ticket to reflect the renaming of ReadOnlyBootPrompt to FirstBootPrompt.

Note: See TracTickets for help on using tickets.