Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#2790 Not replace $1,$2,$3 variables, if language not english.

1.330
closed
Jamie Cameron
5
2007-03-28
2007-03-28
baka
No

Not replace $1,$2,$3 variables, if language not english.
I think that problem in this code:
push(@can, 'lang') if ($access{'lang'});
push(@can, 'theme') if ($access{'theme'});
push(@can, 'pass') if ($access{'pass'} && &can_change_pass($user));
$can = &text('index_d'.scalar(@can), map { $text{'index_d'.$_} } @can);
print &text('index_desc2', $can),"<p>\n";

Set language to ru_RU
lang/ru_RU include strings:
index_desc2=Ýòîò ìîäóëü ìîæåò áûòü èñïîëüçîâàí äëÿ èçìåíåíèÿ $1, òîëüêî äëÿ âàøåé ó÷åòíîé çàïèñè Webmin.
index_d3=1$, 2$ è 3$
index_d2=$1 è $2
index_d1=$1
index_dlang=ìîâà, íà ÿêîìó â³äîáðàæàþòüñÿ ìîäóë³
index_dtheme=òåìà, ùî êîíòðîëþº çîâí³øí³é âèãëÿä Webmin
index_dpass=ïàðîëü âèêîðèñòîâóâàíèé äëÿ ðåºñòðàö³¿

But displayed:
Ýòîò ìîäóëü ìîæåò áûòü èñïîëüçîâàí äëÿ èçìåíåíèÿ 1$, 2$ è 3$, òîëüêî äëÿ âàøåé ó÷åòíîé çàïèñè Webmin.

Discussion

  • Jamie Cameron
    Jamie Cameron
    2007-03-28

    Logged In: YES
    user_id=129364
    Originator: NO

    Same as bug 1689596.

     
  • Jamie Cameron
    Jamie Cameron
    2007-03-28

    • status: open --> closed