fix for #38834 r=ben (last week sometime)

make wizard page X of Y localizable
This commit is contained in:
alecf%netscape.com 2000-07-31 21:26:29 +00:00
Родитель fa3dec7235
Коммит 8fd7d44622
2 изменённых файлов: 9 добавлений и 9 удалений

Просмотреть файл

@ -157,14 +157,14 @@ function WM_ProgressUpdate( currentPageNumber )
{
var statusbar = document.getElementById ( "status" );
if ( statusbar ) {
var string = "";
string += (currentPageNumber + 1);
try {
string += ( " " + this.bundle.GetStringFromName("oflabel") + " " );
} catch (e) {
// mac string bundle hack
string += " of ";
}
var string;
try {
string = this.bundle.formatStringFromName("oflabel",
[currentPageNumber,
this.GetMapLength], 2);
} catch (e) {
string = "";
}
string += this.GetMapLength();
statusbar.setAttribute( "progress", string );
}

Просмотреть файл

@ -1,3 +1,3 @@
finishButtonLabel=Finish
nextButtonLabel=Next
oflabel=of
oflabel=%S of %S