welcomebot notices sometimes not linkified

welcomebot notices sometimes not linkified

Issue ID:3131
Issue Category:bug
Component:translation
Priority:normal
Status:fixed
Assigned:march
Version:0.9
Milestone:1.0
Keywords:chinese, Language, linkify, reply, welcomebot

When welcomebot greets someone in Chinese, the username is not linkified (see first screenshot) and the users doesn't receive the notice either (see second screenshot).

It's possible this happens in other (non-latin?) languages, but the recent ones in Chinese stuck out.

AttachmentSize
hsnap03499.png18.42 KB
hsnap03500.png9.51 KB

Updates

#1

Milestone:» 1.0

I knew I'd reported this before... actually it was about 7 months ago, here:

http://identi.ca/notice/52998662

About time to fix this!

#2

Component:uncategorized» translation
Assigned to:Anonymous» siebrand

as stated 7 months ago in @marjoleink's linked thread, this seems to be caused by something in the translated phrase.

there was a sign looking like a comma but was no comma and the following @ was without a space before. see http://translatewiki.net/w/i.php?title=StatusNet:1d2bbd445c37ab22a6eff895b9dadcee723072cb-Welcome_to_1$s,_@_2$s!/zh-hans&oldid=2917541

@siebrand please check this.

#3

Assigned to:siebrand» Anonymous

All current (non-fuzzied) translations have "@%2$s" with a leading space or are at the beginning of the sentence[1]. If this can still be reproduced, it must be something in the i18n (not L10n) or "linkification" of non-Latin script usernames. Unfortunately, I am not able to be of help in that area. See code[2]

[1] https://translatewiki.net/w/i.php?title=Special:Translations&message=StatusNet:1d2bbd445c37ab22a6eff895b9dadcee723072cb-Welcome%20to%201$s,%20@%202$s!

[2] https://gitorious.org/statusnet/mainline/blobs/1.0.x/classes/User.php#li...

#4

Assigned to:Anonymous» siebrand

{appears my previous comment was eaten when modifying it... Strange).

All current (non-fuzzied) translations have "@%2$s" with a leading space or are at the beginning of the sentence[1]. If this can still be reproduced, it must be something in the i18n (not L10n) or "linkification" of non-Latin script usernames. Unfortunately, I am not able to be of help in that area. See code[2]

[1] https://translatewiki.net/w/i.php?title=Special:Translations&message=StatusNet:1d2bbd445c37ab22a6eff895b9dadcee723072cb-Welcome%20to%201$s,%20@%202$s!

[2] https://gitorious.org/statusnet/mainline/blobs/1.0.x/classes/User.php#li...

#5

Assigned to:siebrand» Anonymous

#6

Assigned to:Anonymous» march
Status:active» fixed

some moons ago i changed the translation.
meanwhile it has reached identi.ca:

http://identi.ca/notice/84200139
http://identi.ca/notice/84200072

case closed.

Login or Register to modify this issue, or to receive updates by email.

You can also subscribe to the RSS feed for updates to this issue.