mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-02 03:49:37 +00:00
Adding i18n support to xpinstall: using StringBundleService.
This commit is contained in:
parent
32147a6fe0
commit
e5364a1cdd
@ -1188,6 +1188,8 @@ sub MakeResourceAliases()
|
||||
|
||||
my($xpinstall_dir) = "$resource_dir" . "xpinstall:";
|
||||
_InstallResources(":mozilla:xpinstall:res:MANIFEST", "$xpinstall_dir");
|
||||
my($xpinstall_ch_dir) = "$chrome_dir" . "xpinstall";
|
||||
_InstallResources(":mozilla:xpinstall:res:locale:en-US:MANIFEST", "$xpinstall_ch_dir:locale:en-US:", 0);
|
||||
|
||||
my($profile_dir) = "$resource_dir" . "profile:";
|
||||
my($profile_chrome_dir) = "$chrome_dir" . "Profile";
|
||||
|
3
xpinstall/res/locale/en-US/MANIFEST
Normal file
3
xpinstall/res/locale/en-US/MANIFEST
Normal file
@ -0,0 +1,3 @@
|
||||
xpinstall.properties
|
||||
progress.dtd
|
||||
xpistatus.dtd
|
@ -24,6 +24,8 @@ include <$(DEPTH)\config\rules.mak>
|
||||
install::
|
||||
$(MAKE_INSTALL) progress.dtd $(DIST)\bin\chrome\xpinstall\locale\en-US
|
||||
$(MAKE_INSTALL) xpistatus.dtd $(DIST)\bin\chrome\xpinstall\locale\en-US
|
||||
$(MAKE_INSTALL) xpinstall.properties $(DIST)\bin\chrome\xpinstall\locale\en-US
|
||||
|
||||
|
||||
clobber::
|
||||
rm -f $(DIST)\bin\chrome\xpinstall\locale\en-US\*.*
|
||||
|
36
xpinstall/res/locale/en-US/xpinstall.properties
Normal file
36
xpinstall/res/locale/en-US/xpinstall.properties
Normal file
@ -0,0 +1,36 @@
|
||||
# The contents of this file are subject to the Netscape Public License
|
||||
# Version 1.1 (the "License"); you may not use this file except in
|
||||
# compliance with the License. You may obtain a copy of the License at
|
||||
# http://www.mozilla.org/NPL/
|
||||
#
|
||||
# Software distributed under the License is distributed on an "AS IS" basis,
|
||||
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||
# for the specific language governing rights and limitations under the
|
||||
# License.
|
||||
#
|
||||
# The Original Code is Mozilla Communicator client code, released March
|
||||
# 31, 1998.
|
||||
#
|
||||
# The Initial Developer of the Original Code is Netscape Communications
|
||||
# Corporation. Portions created by Netscape are Copyright (C) 1998-1999
|
||||
# Netscape Communications Corporation. All Rights Reserved.
|
||||
#
|
||||
# Contributors:
|
||||
# Samir Gehani <sgehani@netscape.com>
|
||||
|
||||
#
|
||||
# String resources for xpinstall user interface dialogs
|
||||
#
|
||||
|
||||
InstallFile=Installing: %s
|
||||
ReplaceFile=Replacing: %s
|
||||
|
||||
DeleteFile=Deleting file: %s
|
||||
DeleteComponent=Deleting component: %s
|
||||
|
||||
Execute=Executing: %s
|
||||
ExecuteWithArgs=Executing: %s with argument: %s
|
||||
|
||||
Patch=Patching: %s
|
||||
|
||||
Uninstall=Uninstalling: %s
|
Loading…
x
Reference in New Issue
Block a user