bug 285653: source l10n for reporter tool; r=bsmedberg;a=asa

This commit is contained in:
gandalf%firefox.pl 2005-04-07 15:21:19 +00:00
parent 8e5a842439
commit 6821d8dc1d
12 changed files with 80 additions and 12 deletions

View File

@ -44,5 +44,9 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
DIRS = \
locales \
$(NULL)
include $(topsrcdir)/config/rules.mk

View File

@ -7,14 +7,6 @@ reporter.jar:
content/reporter/about.xul (resources/content/reporter/about.xul)
content/reporter/error.xhtml (resources/content/reporter/error.xhtml)
content/reporter/report.xhtml (resources/content/reporter/report.xhtml)
locale/en-US/reporter/contents.rdf (resources/locale/en-US/reporter/contents.rdf)
locale/en-US/reporter/reportWizard.dtd (resources/locale/en-US/reporter/reportWizard.dtd)
locale/en-US/reporter/about.dtd (resources/locale/en-US/reporter/about.dtd)
locale/en-US/reporter/reporterOverlay.dtd (resources/locale/en-US/reporter/reporterOverlay.dtd)
locale/en-US/reporter/reportResults.dtd (resources/locale/en-US/reporter/reportResults.dtd)
locale/en-US/reporter/reporter.dtd (resources/locale/en-US/reporter/reporter.dtd)
locale/en-US/reporter/reportWizard.properties (resources/locale/en-US/reporter/reportWizard.properties)
locale/en-US/reporter/reporterOverlay.properties (resources/locale/en-US/reporter/reporterOverlay.properties)
skin/classic/reporter/contents.rdf (resources/skin/classic/reporter/contents.rdf)
skin/classic/reporter/browserOverlay.css (resources/skin/classic/reporter/browserOverlay.css)
skin/classic/reporter/icon.png (resources/skin/classic/reporter/icon.png)
@ -23,3 +15,4 @@ reporter.jar:
skin/classic/reporter/reporter-icon-large.png (resources/skin/classic/reporter/reporter-icon-large.png)
skin/classic/reporter/reporter-icon-small.png (resources/skin/classic/reporter/reporter-icon-small.png)
skin/classic/reporter/splash.png (resources/skin/classic/reporter/splash.png)

View File

@ -0,0 +1,47 @@
# ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
#
# The contents of this file are subject to the Mozilla 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/MPL/
#
# 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 the Mozilla Browser code.
#
# The Initial Developer of the Original Code is
# Benjamin Smedberg <bsmedberg@covad.net>
# Portions created by the Initial Developer are Copyright (C) 2004
# the Initial Developer. All Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 2 or later (the "GPL"), or
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
# in which case the provisions of the GPL or the LGPL are applicable instead
# of those above. If you wish to allow use of your version of this file only
# under the terms of either the GPL or the LGPL, and not to allow others to
# use your version of this file under the terms of the MPL, indicate your
# decision by deleting the provisions above and replace them with the notice
# and other provisions required by the GPL or the LGPL. If you do not delete
# the provisions above, a recipient may use your version of this file under
# the terms of any one of the MPL, the GPL or the LGPL.
#
# ***** END LICENSE BLOCK *****
DEPTH = ../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
relativesrcdir = extensions/reporter/locales
include $(DEPTH)/config/autoconf.mk
DEFINES += -DAB_CD=$(AB_CD)
include $(topsrcdir)/config/rules.mk

View File

@ -1,13 +1,16 @@
<?xml version="1.0"?>
#filter substitution
<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:chrome="http://www.mozilla.org/rdf/chrome#">
<RDF:Seq about="urn:mozilla:locale:root">
<RDF:li resource="urn:mozilla:locale:en-US"/>
<RDF:li resource="urn:mozilla:locale:@AB_CD@"/>
</RDF:Seq>
<RDF:Description RDF:about="urn:mozilla:locale:en-US" chrome:name="en-US">
<RDF:Description RDF:about="urn:mozilla:locale:@AB_CD@" chrome:name="@AB_CD@">
<chrome:packages>
<RDF:Seq RDF:about="urn:mozilla:locale:en-US:packages">
<RDF:li RDF:resource="urn:mozilla:locale:en-US:reporter"/>
<RDF:Seq RDF:about="urn:mozilla:locale:@AB_CD@:packages">
<RDF:li RDF:resource="urn:mozilla:locale:@AB_CD@:reporter"/>
</RDF:Seq>
</chrome:packages>
</RDF:Description>

View File

@ -0,0 +1,21 @@
#filter substitution
@AB_CD@.jar:
* locale/@AB_CD@/reporter/contents.rdf (generic/chrome/contents.rdf)
locale/@AB_CD@/reporter/reportWizard.dtd (%chrome/reportWizard.dtd)
locale/@AB_CD@/reporter/about.dtd (%chrome/about.dtd)
locale/@AB_CD@/reporter/reporterOverlay.dtd (%chrome/reporterOverlay.dtd)
locale/@AB_CD@/reporter/reportResults.dtd (%chrome/reportResults.dtd)
locale/@AB_CD@/reporter/reporter.dtd (%chrome/reporter.dtd)
locale/@AB_CD@/reporter/reportWizard.properties (%chrome/reportWizard.properties)
locale/@AB_CD@/reporter/reporterOverlay.properties (%chrome/reporterOverlay.properties)
reporter.jar:
* locale/en-US/reporter/contents.rdf (generic/chrome/contents.rdf)
locale/en-US/reporter/reportWizard.dtd (%chrome/reportWizard.dtd)
locale/en-US/reporter/about.dtd (%chrome/about.dtd)
locale/en-US/reporter/reporterOverlay.dtd (%chrome/reporterOverlay.dtd)
locale/en-US/reporter/reportResults.dtd (%chrome/reportResults.dtd)
locale/en-US/reporter/reporter.dtd (%chrome/reporter.dtd)
locale/en-US/reporter/reportWizard.properties (%chrome/reportWizard.properties)
locale/en-US/reporter/reporterOverlay.properties (%chrome/reporterOverlay.properties)