Bug 107387 - rename security.properties to caps.properties. r=nhotta, rs=jst.

This commit is contained in:
mstoltz%netscape.com 2001-12-12 04:43:35 +00:00
Родитель 483ca3222a
Коммит 45defae20a
6 изменённых файлов: 27 добавлений и 5 удалений

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

@ -1 +0,0 @@
security.properties

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

@ -71,7 +71,7 @@ CHROME_DIR = locales/en-US
CHROME_L10N_DIR = communicator/locale/security CHROME_L10N_DIR = communicator/locale/security
CHROME_L10N = \ CHROME_L10N = \
security.properties \ caps.properties \
$(NULL) $(NULL)
include $(topsrcdir)/config/rules.mk include $(topsrcdir)/config/rules.mk

25
caps/src/caps.properties Normal file
Просмотреть файл

@ -0,0 +1,25 @@
# 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.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
Yes = Yes
No = No
Titleline = Internet Security
CheckMessage = Remember this decision
EnableCapabilityQuery = A script from "%1$s" has requested enhanced privileges. You should grant these privileges only if you are comfortable downloading and executing a program from this source. Do you wish to allow these privileges?

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

@ -1,2 +0,0 @@
en-US.jar:
locale/en-US/communicator/security/security.properties

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

@ -1584,7 +1584,7 @@ nsScriptSecurityManager::IsCapabilityEnabled(const char *capability,
return NS_OK; return NS_OK;
} }
#define PROPERTIES_URL "chrome://communicator/locale/security/security.properties" #define PROPERTIES_URL "chrome://communicator/locale/security/caps.properties"
nsresult nsresult
Localize(const char *genericString, nsString &result) Localize(const char *genericString, nsString &result)

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