зеркало из https://github.com/mozilla/gecko-dev.git
missed one of the strings for localization
b=32666, original reviewer was pollmann, self is reviewer for this small additional change
This commit is contained in:
Родитель
17a35ffc25
Коммит
5b4987c7ea
|
@ -257,7 +257,9 @@ nsFileControlFrame::MouseClick(nsIDOMEvent* aMouseEvent)
|
|||
|
||||
nsIFileWidget *fileWidget = nsnull;
|
||||
|
||||
nsString title; title.AssignWithConversion("File Upload");
|
||||
nsString title;
|
||||
nsFormControlHelper::GetLocalizedString("FileUpload", title);
|
||||
|
||||
nsComponentManager::CreateInstance(kCFileWidgetCID, nsnull, kIFileWidgetIID, (void**)&fileWidget);
|
||||
|
||||
if (fileWidget) {
|
||||
|
|
|
@ -22,3 +22,4 @@ Submit=Submit Query
|
|||
Browse=Browse...
|
||||
AllFilesTitle=All Files
|
||||
AllFilesFilter=*.*
|
||||
FileUpload=File Upload
|
||||
|
|
|
@ -257,7 +257,9 @@ nsFileControlFrame::MouseClick(nsIDOMEvent* aMouseEvent)
|
|||
|
||||
nsIFileWidget *fileWidget = nsnull;
|
||||
|
||||
nsString title; title.AssignWithConversion("File Upload");
|
||||
nsString title;
|
||||
nsFormControlHelper::GetLocalizedString("FileUpload", title);
|
||||
|
||||
nsComponentManager::CreateInstance(kCFileWidgetCID, nsnull, kIFileWidgetIID, (void**)&fileWidget);
|
||||
|
||||
if (fileWidget) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче