| |
| | |

CodersClub

 Forgot password?
 Register
Search
View: 4599|Reply: 2
Collapse the left

Invalid word sequence in the PM notice

[Copy link]

 Russia

Post time: 2013-01-18 20:41
| Show all posts |Read mode
Kim Sung from cnvkr.com reported a bugin the Private Message Feed.
home.php?mod=space&do=pm


In the picture above, the correctorder of the language is "2,3,1" (빠빠리 )
can besolved in template file
NOW in template:
{$value[tousername]}</a>{lang say} {lang you_to} <span class="xi2">{langyou}</span>
Means: "username" + "said" +"to" + "you"
MUST be:
{$value[tousername]}</a>{lang you_to} <span class="xi2">{lang you}</span> {langsay} :
i.e. "username" +"to" + "you" + "said"



This post contains more resources

You have to Login for download or view attachment(s). No Account? Register

x

 Russia

 Author| Post time: 2013-01-21 20:27
| Show all posts
I do not know how to solve this problem,
because of such type template modifying will cause an invalid sentence for other languages.
I.e. for English:
was: "someuser wrote to you"
became: "someuser to you wrote" <- this is a wrong sequence for English...

 Russia

 Author| Post time: 2013-01-22 20:12
| Show all posts
The problem is solved.
Modified templates:
template/default/home/space_pm.htm: line #459, #461
template/default/mobile/space_pm.htm: line #16, #18
New language variable added:
language/XX/home/lang_template.php:
  1. 'say_to' => '인사',//'말',//'said',//'说',
Copy the Code
Modified all the languages.
You have to log in before you can reply Login | Register

Points Rules

Archive|Mobile|Dark room|CodersClub

Top.Mail.Ru
Top.Mail.Ru

2024-11-22 11:22 GMT+3 , Processed in 0.047011 sec., 12 queries .

Powered by Discuz! X3.4 Release 20230520

© 2001-2024 Discuz! Team.

MultiLingual version, Rev. 4301, © codersclub.org

Quick Reply To Top Return to the list