diff --git a/mozilla/editor/ui/Makefile.in b/mozilla/editor/ui/Makefile.in
index baa0d603516..4c3a3c130c4 100644
--- a/mozilla/editor/ui/Makefile.in
+++ b/mozilla/editor/ui/Makefile.in
@@ -42,6 +42,10 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
+DIRS = \
+ locales \
+ $(NULL)
+
ifndef MOZ_STANDALONE_COMPOSER
PREF_JS_EXPORTS = $(srcdir)/composer.js
EXTRA_COMPONENTS = nsComposerCmdLineHandler.js
diff --git a/mozilla/editor/ui/composer/locale/en-US/contents.rdf b/mozilla/editor/ui/composer/locale/en-US/contents.rdf
deleted file mode 100644
index 93e76c9f742..00000000000
--- a/mozilla/editor/ui/composer/locale/en-US/contents.rdf
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/mozilla/editor/ui/jar.mn b/mozilla/editor/ui/jar.mn
index 9a3002b3e8d..15394a1e9ac 100644
--- a/mozilla/editor/ui/jar.mn
+++ b/mozilla/editor/ui/jar.mn
@@ -224,57 +224,3 @@ comm.jar:
content/editor/EditorPublishOverlay.xul (dialogs/content/EditorPublishOverlay.xul)
content/editor/EditorPublishProgress.xul (dialogs/content/EditorPublishProgress.xul)
content/editor/EditorPublishProgress.js (dialogs/content/EditorPublishProgress.js)
-
-#ifndef MOZ_XUL_APP
-en-US.jar:
- locale/en-US/editor/editor.dtd (composer/locale/en-US/editor.dtd)
-* locale/en-US/editor/contents.rdf (composer/locale/en-US/contents.rdf)
- locale/en-US/editor/editorSmileyOverlay.dtd (composer/locale/en-US/editorSmileyOverlay.dtd)
- locale/en-US/editor/editorPrefsOverlay.dtd (composer/locale/en-US/editorPrefsOverlay.dtd)
- locale/en-US/editor/editorNavigatorOverlay.dtd (composer/locale/en-US/editorNavigatorOverlay.dtd)
- locale/en-US/editor/pref-toolbars.dtd (composer/locale/en-US/pref-toolbars.dtd)
- locale/en-US/editor/pref-editing.dtd (composer/locale/en-US/pref-editing.dtd)
- locale/en-US/editor/pref-composer.dtd (composer/locale/en-US/pref-composer.dtd)
- locale/en-US/editor/pref-publish.dtd (composer/locale/en-US/pref-publish.dtd)
- locale/en-US/editor/editorOverlay.dtd (composer/locale/en-US/editorOverlay.dtd)
- locale/en-US/editor/editor.properties (composer/locale/en-US/editor.properties)
- locale/en-US/editor/EditorHLineProperties.dtd (dialogs/locale/en-US/EditorHLineProperties.dtd)
- locale/en-US/editor/EditorImageProperties.dtd (dialogs/locale/en-US/EditorImageProperties.dtd)
- locale/en-US/editor/EditorInsertSource.dtd (dialogs/locale/en-US/EditorInsertSource.dtd)
- locale/en-US/editor/EditorInsertChars.dtd (dialogs/locale/en-US/EditorInsertChars.dtd)
- locale/en-US/editor/EditorInsertTable.dtd (dialogs/locale/en-US/EditorInsertTable.dtd)
- locale/en-US/editor/EditorInsertTOC.dtd (dialogs/locale/en-US/EditorInsertTOC.dtd)
- locale/en-US/editor/EditorLinkProperties.dtd (dialogs/locale/en-US/EditorLinkProperties.dtd)
- locale/en-US/editor/EdLinkChecker.dtd (dialogs/locale/en-US/EdLinkChecker.dtd)
- locale/en-US/editor/EditorListProperties.dtd (dialogs/locale/en-US/EditorListProperties.dtd)
- locale/en-US/editor/EditorPageProperties.dtd (dialogs/locale/en-US/EditorPageProperties.dtd)
- locale/en-US/editor/EditorColorProperties.dtd (dialogs/locale/en-US/EditorColorProperties.dtd)
- locale/en-US/editor/EdColorPicker.dtd (dialogs/locale/en-US/EdColorPicker.dtd)
- locale/en-US/editor/EditorPersonalDictionary.dtd (dialogs/locale/en-US/EditorPersonalDictionary.dtd)
- locale/en-US/editor/EditorReplace.dtd (dialogs/locale/en-US/EditorReplace.dtd)
- locale/en-US/editor/EditorSnapToGrid.dtd (dialogs/locale/en-US/EditorSnapToGrid.dtd)
- locale/en-US/editor/EditorSpellCheck.dtd (dialogs/locale/en-US/EditorSpellCheck.dtd)
- locale/en-US/editor/EditorTableProperties.dtd (dialogs/locale/en-US/EditorTableProperties.dtd)
- locale/en-US/editor/EditorFormProperties.dtd (dialogs/locale/en-US/EditorFormProperties.dtd)
- locale/en-US/editor/EditorInputProperties.dtd (dialogs/locale/en-US/EditorInputProperties.dtd)
- locale/en-US/editor/EditorTextAreaProperties.dtd (dialogs/locale/en-US/EditorTextAreaProperties.dtd)
- locale/en-US/editor/EditorSelectProperties.dtd (dialogs/locale/en-US/EditorSelectProperties.dtd)
- locale/en-US/editor/EditorButtonProperties.dtd (dialogs/locale/en-US/EditorButtonProperties.dtd)
- locale/en-US/editor/EditorLabelProperties.dtd (dialogs/locale/en-US/EditorLabelProperties.dtd)
- locale/en-US/editor/EditorFieldSetProperties.dtd (dialogs/locale/en-US/EditorFieldSetProperties.dtd)
- locale/en-US/editor/EdNamedAnchorProperties.dtd (dialogs/locale/en-US/EdNamedAnchorProperties.dtd)
- locale/en-US/editor/EdDialogOverlay.dtd (dialogs/locale/en-US/EdDialogOverlay.dtd)
- locale/en-US/editor/EdAdvancedEdit.dtd (dialogs/locale/en-US/EdAdvancedEdit.dtd)
- locale/en-US/editor/EditorImageMap.dtd (dialogs/locale/en-US/EditorImageMap.dtd)
- locale/en-US/editor/EditorImageMapHotSpot.dtd (dialogs/locale/en-US/EditorImageMapHotSpot.dtd)
- locale/en-US/editor/EditConflict.dtd (dialogs/locale/en-US/EditConflict.dtd)
- locale/en-US/editor/EditorSaveAsCharset.dtd (dialogs/locale/en-US/EditorSaveAsCharset.dtd)
- locale/en-US/editor/EdConvertToTable.dtd (dialogs/locale/en-US/EdConvertToTable.dtd)
- locale/en-US/editor/EditorPublish.dtd (dialogs/locale/en-US/EditorPublish.dtd)
- locale/en-US/editor/EditorPublishProgress.dtd (dialogs/locale/en-US/EditorPublishProgress.dtd)
-
-US.jar:
-* locale/US/editor-region/contents.rdf (composer/locale/en-US/contents-region.rdf)
- locale/US/editor-region/region.properties (composer/locale/en-US/region.properties)
-#endif
-
diff --git a/mozilla/editor/ui/locales/Makefile.in b/mozilla/editor/ui/locales/Makefile.in
new file mode 100644
index 00000000000..c1cdcdaa6c4
--- /dev/null
+++ b/mozilla/editor/ui/locales/Makefile.in
@@ -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
+# 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 = editor/ui/locales
+
+include $(DEPTH)/config/autoconf.mk
+
+DEFINES += -DAB_CD=$(AB_CD)
+
+include $(topsrcdir)/config/rules.mk
diff --git a/mozilla/editor/ui/composer/locale/en-US/editor.dtd b/mozilla/editor/ui/locales/en-US/chrome/composer/editor.dtd
similarity index 100%
rename from mozilla/editor/ui/composer/locale/en-US/editor.dtd
rename to mozilla/editor/ui/locales/en-US/chrome/composer/editor.dtd
diff --git a/mozilla/editor/ui/composer/locale/en-US/editor.properties b/mozilla/editor/ui/locales/en-US/chrome/composer/editor.properties
similarity index 100%
rename from mozilla/editor/ui/composer/locale/en-US/editor.properties
rename to mozilla/editor/ui/locales/en-US/chrome/composer/editor.properties
diff --git a/mozilla/editor/ui/composer/locale/en-US/editorNavigatorOverlay.dtd b/mozilla/editor/ui/locales/en-US/chrome/composer/editorNavigatorOverlay.dtd
similarity index 100%
rename from mozilla/editor/ui/composer/locale/en-US/editorNavigatorOverlay.dtd
rename to mozilla/editor/ui/locales/en-US/chrome/composer/editorNavigatorOverlay.dtd
diff --git a/mozilla/editor/ui/composer/locale/en-US/editorOverlay.dtd b/mozilla/editor/ui/locales/en-US/chrome/composer/editorOverlay.dtd
similarity index 100%
rename from mozilla/editor/ui/composer/locale/en-US/editorOverlay.dtd
rename to mozilla/editor/ui/locales/en-US/chrome/composer/editorOverlay.dtd
diff --git a/mozilla/editor/ui/composer/locale/en-US/editorPrefsOverlay.dtd b/mozilla/editor/ui/locales/en-US/chrome/composer/editorPrefsOverlay.dtd
similarity index 100%
rename from mozilla/editor/ui/composer/locale/en-US/editorPrefsOverlay.dtd
rename to mozilla/editor/ui/locales/en-US/chrome/composer/editorPrefsOverlay.dtd
diff --git a/mozilla/editor/ui/composer/locale/en-US/editorSmileyOverlay.dtd b/mozilla/editor/ui/locales/en-US/chrome/composer/editorSmileyOverlay.dtd
similarity index 100%
rename from mozilla/editor/ui/composer/locale/en-US/editorSmileyOverlay.dtd
rename to mozilla/editor/ui/locales/en-US/chrome/composer/editorSmileyOverlay.dtd
diff --git a/mozilla/editor/ui/composer/locale/en-US/pref-composer.dtd b/mozilla/editor/ui/locales/en-US/chrome/composer/pref-composer.dtd
similarity index 100%
rename from mozilla/editor/ui/composer/locale/en-US/pref-composer.dtd
rename to mozilla/editor/ui/locales/en-US/chrome/composer/pref-composer.dtd
diff --git a/mozilla/editor/ui/composer/locale/en-US/pref-editing.dtd b/mozilla/editor/ui/locales/en-US/chrome/composer/pref-editing.dtd
similarity index 100%
rename from mozilla/editor/ui/composer/locale/en-US/pref-editing.dtd
rename to mozilla/editor/ui/locales/en-US/chrome/composer/pref-editing.dtd
diff --git a/mozilla/editor/ui/composer/locale/en-US/pref-publish.dtd b/mozilla/editor/ui/locales/en-US/chrome/composer/pref-publish.dtd
similarity index 100%
rename from mozilla/editor/ui/composer/locale/en-US/pref-publish.dtd
rename to mozilla/editor/ui/locales/en-US/chrome/composer/pref-publish.dtd
diff --git a/mozilla/editor/ui/composer/locale/en-US/pref-toolbars.dtd b/mozilla/editor/ui/locales/en-US/chrome/composer/pref-toolbars.dtd
similarity index 100%
rename from mozilla/editor/ui/composer/locale/en-US/pref-toolbars.dtd
rename to mozilla/editor/ui/locales/en-US/chrome/composer/pref-toolbars.dtd
diff --git a/mozilla/editor/ui/dialogs/locale/en-US/EdAdvancedEdit.dtd b/mozilla/editor/ui/locales/en-US/chrome/dialogs/EdAdvancedEdit.dtd
similarity index 100%
rename from mozilla/editor/ui/dialogs/locale/en-US/EdAdvancedEdit.dtd
rename to mozilla/editor/ui/locales/en-US/chrome/dialogs/EdAdvancedEdit.dtd
diff --git a/mozilla/editor/ui/dialogs/locale/en-US/EdColorPicker.dtd b/mozilla/editor/ui/locales/en-US/chrome/dialogs/EdColorPicker.dtd
similarity index 100%
rename from mozilla/editor/ui/dialogs/locale/en-US/EdColorPicker.dtd
rename to mozilla/editor/ui/locales/en-US/chrome/dialogs/EdColorPicker.dtd
diff --git a/mozilla/editor/ui/dialogs/locale/en-US/EdConvertToTable.dtd b/mozilla/editor/ui/locales/en-US/chrome/dialogs/EdConvertToTable.dtd
similarity index 100%
rename from mozilla/editor/ui/dialogs/locale/en-US/EdConvertToTable.dtd
rename to mozilla/editor/ui/locales/en-US/chrome/dialogs/EdConvertToTable.dtd
diff --git a/mozilla/editor/ui/dialogs/locale/en-US/EdDialogOverlay.dtd b/mozilla/editor/ui/locales/en-US/chrome/dialogs/EdDialogOverlay.dtd
similarity index 100%
rename from mozilla/editor/ui/dialogs/locale/en-US/EdDialogOverlay.dtd
rename to mozilla/editor/ui/locales/en-US/chrome/dialogs/EdDialogOverlay.dtd
diff --git a/mozilla/editor/ui/dialogs/locale/en-US/EdLinkChecker.dtd b/mozilla/editor/ui/locales/en-US/chrome/dialogs/EdLinkChecker.dtd
similarity index 100%
rename from mozilla/editor/ui/dialogs/locale/en-US/EdLinkChecker.dtd
rename to mozilla/editor/ui/locales/en-US/chrome/dialogs/EdLinkChecker.dtd
diff --git a/mozilla/editor/ui/dialogs/locale/en-US/EdNamedAnchorProperties.dtd b/mozilla/editor/ui/locales/en-US/chrome/dialogs/EdNamedAnchorProperties.dtd
similarity index 100%
rename from mozilla/editor/ui/dialogs/locale/en-US/EdNamedAnchorProperties.dtd
rename to mozilla/editor/ui/locales/en-US/chrome/dialogs/EdNamedAnchorProperties.dtd
diff --git a/mozilla/editor/ui/dialogs/locale/en-US/EditConflict.dtd b/mozilla/editor/ui/locales/en-US/chrome/dialogs/EditConflict.dtd
similarity index 100%
rename from mozilla/editor/ui/dialogs/locale/en-US/EditConflict.dtd
rename to mozilla/editor/ui/locales/en-US/chrome/dialogs/EditConflict.dtd
diff --git a/mozilla/editor/ui/dialogs/locale/en-US/EditorButtonProperties.dtd b/mozilla/editor/ui/locales/en-US/chrome/dialogs/EditorButtonProperties.dtd
similarity index 100%
rename from mozilla/editor/ui/dialogs/locale/en-US/EditorButtonProperties.dtd
rename to mozilla/editor/ui/locales/en-US/chrome/dialogs/EditorButtonProperties.dtd
diff --git a/mozilla/editor/ui/dialogs/locale/en-US/EditorColorProperties.dtd b/mozilla/editor/ui/locales/en-US/chrome/dialogs/EditorColorProperties.dtd
similarity index 100%
rename from mozilla/editor/ui/dialogs/locale/en-US/EditorColorProperties.dtd
rename to mozilla/editor/ui/locales/en-US/chrome/dialogs/EditorColorProperties.dtd
diff --git a/mozilla/editor/ui/dialogs/locale/en-US/EditorFieldSetProperties.dtd b/mozilla/editor/ui/locales/en-US/chrome/dialogs/EditorFieldSetProperties.dtd
similarity index 100%
rename from mozilla/editor/ui/dialogs/locale/en-US/EditorFieldSetProperties.dtd
rename to mozilla/editor/ui/locales/en-US/chrome/dialogs/EditorFieldSetProperties.dtd
diff --git a/mozilla/editor/ui/dialogs/locale/en-US/EditorFormProperties.dtd b/mozilla/editor/ui/locales/en-US/chrome/dialogs/EditorFormProperties.dtd
similarity index 100%
rename from mozilla/editor/ui/dialogs/locale/en-US/EditorFormProperties.dtd
rename to mozilla/editor/ui/locales/en-US/chrome/dialogs/EditorFormProperties.dtd
diff --git a/mozilla/editor/ui/dialogs/locale/en-US/EditorHLineProperties.dtd b/mozilla/editor/ui/locales/en-US/chrome/dialogs/EditorHLineProperties.dtd
similarity index 100%
rename from mozilla/editor/ui/dialogs/locale/en-US/EditorHLineProperties.dtd
rename to mozilla/editor/ui/locales/en-US/chrome/dialogs/EditorHLineProperties.dtd
diff --git a/mozilla/editor/ui/dialogs/locale/en-US/EditorImageMap.dtd b/mozilla/editor/ui/locales/en-US/chrome/dialogs/EditorImageMap.dtd
similarity index 100%
rename from mozilla/editor/ui/dialogs/locale/en-US/EditorImageMap.dtd
rename to mozilla/editor/ui/locales/en-US/chrome/dialogs/EditorImageMap.dtd
diff --git a/mozilla/editor/ui/dialogs/locale/en-US/EditorImageMapHotSpot.dtd b/mozilla/editor/ui/locales/en-US/chrome/dialogs/EditorImageMapHotSpot.dtd
similarity index 100%
rename from mozilla/editor/ui/dialogs/locale/en-US/EditorImageMapHotSpot.dtd
rename to mozilla/editor/ui/locales/en-US/chrome/dialogs/EditorImageMapHotSpot.dtd
diff --git a/mozilla/editor/ui/dialogs/locale/en-US/EditorImageProperties.dtd b/mozilla/editor/ui/locales/en-US/chrome/dialogs/EditorImageProperties.dtd
similarity index 100%
rename from mozilla/editor/ui/dialogs/locale/en-US/EditorImageProperties.dtd
rename to mozilla/editor/ui/locales/en-US/chrome/dialogs/EditorImageProperties.dtd
diff --git a/mozilla/editor/ui/dialogs/locale/en-US/EditorInputProperties.dtd b/mozilla/editor/ui/locales/en-US/chrome/dialogs/EditorInputProperties.dtd
similarity index 100%
rename from mozilla/editor/ui/dialogs/locale/en-US/EditorInputProperties.dtd
rename to mozilla/editor/ui/locales/en-US/chrome/dialogs/EditorInputProperties.dtd
diff --git a/mozilla/editor/ui/dialogs/locale/en-US/EditorInsertChars.dtd b/mozilla/editor/ui/locales/en-US/chrome/dialogs/EditorInsertChars.dtd
similarity index 100%
rename from mozilla/editor/ui/dialogs/locale/en-US/EditorInsertChars.dtd
rename to mozilla/editor/ui/locales/en-US/chrome/dialogs/EditorInsertChars.dtd
diff --git a/mozilla/editor/ui/dialogs/locale/en-US/EditorInsertSource.dtd b/mozilla/editor/ui/locales/en-US/chrome/dialogs/EditorInsertSource.dtd
similarity index 100%
rename from mozilla/editor/ui/dialogs/locale/en-US/EditorInsertSource.dtd
rename to mozilla/editor/ui/locales/en-US/chrome/dialogs/EditorInsertSource.dtd
diff --git a/mozilla/editor/ui/dialogs/locale/en-US/EditorInsertTOC.dtd b/mozilla/editor/ui/locales/en-US/chrome/dialogs/EditorInsertTOC.dtd
similarity index 100%
rename from mozilla/editor/ui/dialogs/locale/en-US/EditorInsertTOC.dtd
rename to mozilla/editor/ui/locales/en-US/chrome/dialogs/EditorInsertTOC.dtd
diff --git a/mozilla/editor/ui/dialogs/locale/en-US/EditorInsertTable.dtd b/mozilla/editor/ui/locales/en-US/chrome/dialogs/EditorInsertTable.dtd
similarity index 100%
rename from mozilla/editor/ui/dialogs/locale/en-US/EditorInsertTable.dtd
rename to mozilla/editor/ui/locales/en-US/chrome/dialogs/EditorInsertTable.dtd
diff --git a/mozilla/editor/ui/dialogs/locale/en-US/EditorLabelProperties.dtd b/mozilla/editor/ui/locales/en-US/chrome/dialogs/EditorLabelProperties.dtd
similarity index 100%
rename from mozilla/editor/ui/dialogs/locale/en-US/EditorLabelProperties.dtd
rename to mozilla/editor/ui/locales/en-US/chrome/dialogs/EditorLabelProperties.dtd
diff --git a/mozilla/editor/ui/dialogs/locale/en-US/EditorLinkProperties.dtd b/mozilla/editor/ui/locales/en-US/chrome/dialogs/EditorLinkProperties.dtd
similarity index 100%
rename from mozilla/editor/ui/dialogs/locale/en-US/EditorLinkProperties.dtd
rename to mozilla/editor/ui/locales/en-US/chrome/dialogs/EditorLinkProperties.dtd
diff --git a/mozilla/editor/ui/dialogs/locale/en-US/EditorListProperties.dtd b/mozilla/editor/ui/locales/en-US/chrome/dialogs/EditorListProperties.dtd
similarity index 100%
rename from mozilla/editor/ui/dialogs/locale/en-US/EditorListProperties.dtd
rename to mozilla/editor/ui/locales/en-US/chrome/dialogs/EditorListProperties.dtd
diff --git a/mozilla/editor/ui/dialogs/locale/en-US/EditorPageProperties.dtd b/mozilla/editor/ui/locales/en-US/chrome/dialogs/EditorPageProperties.dtd
similarity index 100%
rename from mozilla/editor/ui/dialogs/locale/en-US/EditorPageProperties.dtd
rename to mozilla/editor/ui/locales/en-US/chrome/dialogs/EditorPageProperties.dtd
diff --git a/mozilla/editor/ui/dialogs/locale/en-US/EditorPersonalDictionary.dtd b/mozilla/editor/ui/locales/en-US/chrome/dialogs/EditorPersonalDictionary.dtd
similarity index 100%
rename from mozilla/editor/ui/dialogs/locale/en-US/EditorPersonalDictionary.dtd
rename to mozilla/editor/ui/locales/en-US/chrome/dialogs/EditorPersonalDictionary.dtd
diff --git a/mozilla/editor/ui/dialogs/locale/en-US/EditorPublish.dtd b/mozilla/editor/ui/locales/en-US/chrome/dialogs/EditorPublish.dtd
similarity index 100%
rename from mozilla/editor/ui/dialogs/locale/en-US/EditorPublish.dtd
rename to mozilla/editor/ui/locales/en-US/chrome/dialogs/EditorPublish.dtd
diff --git a/mozilla/editor/ui/dialogs/locale/en-US/EditorPublishProgress.dtd b/mozilla/editor/ui/locales/en-US/chrome/dialogs/EditorPublishProgress.dtd
similarity index 100%
rename from mozilla/editor/ui/dialogs/locale/en-US/EditorPublishProgress.dtd
rename to mozilla/editor/ui/locales/en-US/chrome/dialogs/EditorPublishProgress.dtd
diff --git a/mozilla/editor/ui/dialogs/locale/en-US/EditorReplace.dtd b/mozilla/editor/ui/locales/en-US/chrome/dialogs/EditorReplace.dtd
similarity index 100%
rename from mozilla/editor/ui/dialogs/locale/en-US/EditorReplace.dtd
rename to mozilla/editor/ui/locales/en-US/chrome/dialogs/EditorReplace.dtd
diff --git a/mozilla/editor/ui/dialogs/locale/en-US/EditorSaveAsCharset.dtd b/mozilla/editor/ui/locales/en-US/chrome/dialogs/EditorSaveAsCharset.dtd
similarity index 100%
rename from mozilla/editor/ui/dialogs/locale/en-US/EditorSaveAsCharset.dtd
rename to mozilla/editor/ui/locales/en-US/chrome/dialogs/EditorSaveAsCharset.dtd
diff --git a/mozilla/editor/ui/dialogs/locale/en-US/EditorSelectProperties.dtd b/mozilla/editor/ui/locales/en-US/chrome/dialogs/EditorSelectProperties.dtd
similarity index 100%
rename from mozilla/editor/ui/dialogs/locale/en-US/EditorSelectProperties.dtd
rename to mozilla/editor/ui/locales/en-US/chrome/dialogs/EditorSelectProperties.dtd
diff --git a/mozilla/editor/ui/dialogs/locale/en-US/EditorSnapToGrid.dtd b/mozilla/editor/ui/locales/en-US/chrome/dialogs/EditorSnapToGrid.dtd
similarity index 100%
rename from mozilla/editor/ui/dialogs/locale/en-US/EditorSnapToGrid.dtd
rename to mozilla/editor/ui/locales/en-US/chrome/dialogs/EditorSnapToGrid.dtd
diff --git a/mozilla/editor/ui/dialogs/locale/en-US/EditorSpellCheck.dtd b/mozilla/editor/ui/locales/en-US/chrome/dialogs/EditorSpellCheck.dtd
similarity index 100%
rename from mozilla/editor/ui/dialogs/locale/en-US/EditorSpellCheck.dtd
rename to mozilla/editor/ui/locales/en-US/chrome/dialogs/EditorSpellCheck.dtd
diff --git a/mozilla/editor/ui/dialogs/locale/en-US/EditorTableProperties.dtd b/mozilla/editor/ui/locales/en-US/chrome/dialogs/EditorTableProperties.dtd
similarity index 100%
rename from mozilla/editor/ui/dialogs/locale/en-US/EditorTableProperties.dtd
rename to mozilla/editor/ui/locales/en-US/chrome/dialogs/EditorTableProperties.dtd
diff --git a/mozilla/editor/ui/dialogs/locale/en-US/EditorTextAreaProperties.dtd b/mozilla/editor/ui/locales/en-US/chrome/dialogs/EditorTextAreaProperties.dtd
similarity index 100%
rename from mozilla/editor/ui/dialogs/locale/en-US/EditorTextAreaProperties.dtd
rename to mozilla/editor/ui/locales/en-US/chrome/dialogs/EditorTextAreaProperties.dtd
diff --git a/mozilla/editor/ui/composer/locale/en-US/region.properties b/mozilla/editor/ui/locales/en-US/chrome/region/region.properties
similarity index 100%
rename from mozilla/editor/ui/composer/locale/en-US/region.properties
rename to mozilla/editor/ui/locales/en-US/chrome/region/region.properties
diff --git a/mozilla/mail/locales/generic/chrome/editor/contents.rdf b/mozilla/editor/ui/locales/generic/chrome/composer/contents.rdf
similarity index 73%
rename from mozilla/mail/locales/generic/chrome/editor/contents.rdf
rename to mozilla/editor/ui/locales/generic/chrome/composer/contents.rdf
index c95bb670001..f4ce8178a91 100644
--- a/mozilla/mail/locales/generic/chrome/editor/contents.rdf
+++ b/mozilla/editor/ui/locales/generic/chrome/composer/contents.rdf
@@ -1,8 +1,6 @@
-
@@ -20,4 +18,9 @@
-
+
+
+
+
\ No newline at end of file
diff --git a/mozilla/editor/ui/composer/locale/en-US/contents-region.rdf b/mozilla/editor/ui/locales/generic/chrome/region/contents.rdf
similarity index 50%
rename from mozilla/editor/ui/composer/locale/en-US/contents-region.rdf
rename to mozilla/editor/ui/locales/generic/chrome/region/contents.rdf
index 346204515cc..510de6a8f79 100644
--- a/mozilla/editor/ui/composer/locale/en-US/contents-region.rdf
+++ b/mozilla/editor/ui/locales/generic/chrome/region/contents.rdf
@@ -1,26 +1,27 @@
+
+#filter substitution
+
-
+
-
+
-
-
+
+
-
-
+
+
\ No newline at end of file
diff --git a/mozilla/editor/ui/locales/jar.mn b/mozilla/editor/ui/locales/jar.mn
new file mode 100644
index 00000000000..c2ccc42418c
--- /dev/null
+++ b/mozilla/editor/ui/locales/jar.mn
@@ -0,0 +1,55 @@
+#filter substitution
+
+@AB_CD@.jar:
+* locale/@AB_CD@/editor/contents.rdf (generic/chrome/composer/contents.rdf)
+ locale/@AB_CD@/editor/editorSmileyOverlay.dtd (%chrome/composer/editorSmileyOverlay.dtd)
+ locale/@AB_CD@/editor/editorOverlay.dtd (%chrome/composer/editorOverlay.dtd)
+ locale/@AB_CD@/editor/editor.properties (%chrome/composer/editor.properties)
+ locale/@AB_CD@/editor/EditorHLineProperties.dtd (%chrome/dialogs/EditorHLineProperties.dtd)
+ locale/@AB_CD@/editor/EditorImageProperties.dtd (%chrome/dialogs/EditorImageProperties.dtd)
+ locale/@AB_CD@/editor/EditorInsertSource.dtd (%chrome/dialogs/EditorInsertSource.dtd)
+ locale/@AB_CD@/editor/EditorInsertChars.dtd (%chrome/dialogs/EditorInsertChars.dtd)
+ locale/@AB_CD@/editor/EditorInsertTable.dtd (%chrome/dialogs/EditorInsertTable.dtd)
+ locale/@AB_CD@/editor/EditorInsertTOC.dtd (%chrome/dialogs/EditorInsertTOC.dtd)
+ locale/@AB_CD@/editor/EditorLinkProperties.dtd (%chrome/dialogs/EditorLinkProperties.dtd)
+ locale/@AB_CD@/editor/EditorListProperties.dtd (%chrome/dialogs/EditorListProperties.dtd)
+ locale/@AB_CD@/editor/EditorColorProperties.dtd (%chrome/dialogs/EditorColorProperties.dtd)
+ locale/@AB_CD@/editor/EdColorPicker.dtd (%chrome/dialogs/EdColorPicker.dtd)
+ locale/@AB_CD@/editor/EditorReplace.dtd (%chrome/dialogs/EditorReplace.dtd)
+ locale/@AB_CD@/editor/EditorSpellCheck.dtd (%chrome/dialogs/EditorSpellCheck.dtd)
+ locale/@AB_CD@/editor/EditorPersonalDictionary.dtd (%chrome/dialogs/EditorPersonalDictionary.dtd)
+ locale/@AB_CD@/editor/EditorTableProperties.dtd (%chrome/dialogs/EditorTableProperties.dtd)
+ locale/@AB_CD@/editor/EdNamedAnchorProperties.dtd (%chrome/dialogs/EdNamedAnchorProperties.dtd)
+ locale/@AB_CD@/editor/EdDialogOverlay.dtd (%chrome/dialogs/EdDialogOverlay.dtd)
+ locale/@AB_CD@/editor/EdAdvancedEdit.dtd (%chrome/dialogs/EdAdvancedEdit.dtd)
+ locale/@AB_CD@/editor/EdConvertToTable.dtd (%chrome/dialogs/EdConvertToTable.dtd)
+
+
+#ifndef MOZ_XUL_APP
+@AB_CD@.jar:
+ locale/@AB_CD@/editor/editor.dtd (%chrome/composer/editor.dtd)
+ locale/@AB_CD@/editor/editorPrefsOverlay.dtd (%chrome/composer/editorPrefsOverlay.dtd)
+ locale/@AB_CD@/editor/editorNavigatorOverlay.dtd (%chrome/composer/editorNavigatorOverlay.dtd)
+ locale/@AB_CD@/editor/pref-toolbars.dtd (%chrome/composer/pref-toolbars.dtd)
+ locale/@AB_CD@/editor/pref-editing.dtd (%chrome/composer/pref-editing.dtd)
+ locale/@AB_CD@/editor/pref-composer.dtd (%chrome/composer/pref-composer.dtd)
+ locale/@AB_CD@/editor/pref-publish.dtd (%chrome/composer/pref-publish.dtd)
+ locale/@AB_CD@/editor/EdLinkChecker.dtd (%chrome/dialogs/EdLinkChecker.dtd)
+ locale/@AB_CD@/editor/EditorPageProperties.dtd (%chrome/dialogs/EditorPageProperties.dtd)
+ locale/@AB_CD@/editor/EditorSnapToGrid.dtd (%chrome/dialogs/EditorSnapToGrid.dtd)
+ locale/@AB_CD@/editor/EditorFormProperties.dtd (%chrome/dialogs/EditorFormProperties.dtd)
+ locale/@AB_CD@/editor/EditorInputProperties.dtd (%chrome/dialogs/EditorInputProperties.dtd)
+ locale/@AB_CD@/editor/EditorTextAreaProperties.dtd (%chrome/dialogs/EditorTextAreaProperties.dtd)
+ locale/@AB_CD@/editor/EditorSelectProperties.dtd (%chrome/dialogs/EditorSelectProperties.dtd)
+ locale/@AB_CD@/editor/EditorButtonProperties.dtd (%chrome/dialogs/EditorButtonProperties.dtd)
+ locale/@AB_CD@/editor/EditorLabelProperties.dtd (%chrome/dialogs/EditorLabelProperties.dtd)
+ locale/@AB_CD@/editor/EditorFieldSetProperties.dtd (%chrome/dialogs/EditorFieldSetProperties.dtd)
+ locale/@AB_CD@/editor/EditorImageMap.dtd (%chrome/dialogs/EditorImageMap.dtd)
+ locale/@AB_CD@/editor/EditorImageMapHotSpot.dtd (%chrome/dialogs/EditorImageMapHotSpot.dtd)
+ locale/@AB_CD@/editor/EditConflict.dtd (%chrome/dialogs/EditConflict.dtd)
+ locale/@AB_CD@/editor/EditorSaveAsCharset.dtd (%chrome/dialogs/EditorSaveAsCharset.dtd)
+ locale/@AB_CD@/editor/EditorPublish.dtd (%chrome/dialogs/EditorPublish.dtd)
+ locale/@AB_CD@/editor/EditorPublishProgress.dtd (%chrome/dialogs/EditorPublishProgress.dtd)
+* locale/@AB_CD@/editor-region/contents.rdf (generic/chrome/region/contents.rdf)
+ locale/@AB_CD@/editor-region/region.properties (%chrome/region/region.properties)
+#endif
diff --git a/mozilla/mail/locales/en-US/chrome/editor/EdAdvancedEdit.dtd b/mozilla/mail/locales/en-US/chrome/editor/EdAdvancedEdit.dtd
deleted file mode 100644
index f72c7eec30c..00000000000
--- a/mozilla/mail/locales/en-US/chrome/editor/EdAdvancedEdit.dtd
+++ /dev/null
@@ -1,52 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/mozilla/mail/locales/en-US/chrome/editor/EdColorPicker.dtd b/mozilla/mail/locales/en-US/chrome/editor/EdColorPicker.dtd
deleted file mode 100644
index 380e7811583..00000000000
--- a/mozilla/mail/locales/en-US/chrome/editor/EdColorPicker.dtd
+++ /dev/null
@@ -1,55 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/mozilla/mail/locales/en-US/chrome/editor/EdConvertToTable.dtd b/mozilla/mail/locales/en-US/chrome/editor/EdConvertToTable.dtd
deleted file mode 100644
index 6f47dfc644c..00000000000
--- a/mozilla/mail/locales/en-US/chrome/editor/EdConvertToTable.dtd
+++ /dev/null
@@ -1,48 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/mozilla/mail/locales/en-US/chrome/editor/EdDialogOverlay.dtd b/mozilla/mail/locales/en-US/chrome/editor/EdDialogOverlay.dtd
deleted file mode 100644
index c537b438d85..00000000000
--- a/mozilla/mail/locales/en-US/chrome/editor/EdDialogOverlay.dtd
+++ /dev/null
@@ -1,50 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/mozilla/mail/locales/en-US/chrome/editor/EdNamedAnchorProperties.dtd b/mozilla/mail/locales/en-US/chrome/editor/EdNamedAnchorProperties.dtd
deleted file mode 100644
index d1dd897e4e5..00000000000
--- a/mozilla/mail/locales/en-US/chrome/editor/EdNamedAnchorProperties.dtd
+++ /dev/null
@@ -1,43 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/mozilla/mail/locales/en-US/chrome/editor/EditorColorProperties.dtd b/mozilla/mail/locales/en-US/chrome/editor/EditorColorProperties.dtd
deleted file mode 100644
index 88bf9d32b34..00000000000
--- a/mozilla/mail/locales/en-US/chrome/editor/EditorColorProperties.dtd
+++ /dev/null
@@ -1,61 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/mozilla/mail/locales/en-US/chrome/editor/EditorHLineProperties.dtd b/mozilla/mail/locales/en-US/chrome/editor/EditorHLineProperties.dtd
deleted file mode 100644
index 07eb36fce45..00000000000
--- a/mozilla/mail/locales/en-US/chrome/editor/EditorHLineProperties.dtd
+++ /dev/null
@@ -1,60 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/mozilla/mail/locales/en-US/chrome/editor/EditorImageProperties.dtd b/mozilla/mail/locales/en-US/chrome/editor/EditorImageProperties.dtd
deleted file mode 100644
index d1b213a4467..00000000000
--- a/mozilla/mail/locales/en-US/chrome/editor/EditorImageProperties.dtd
+++ /dev/null
@@ -1,119 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/mozilla/mail/locales/en-US/chrome/editor/EditorInsertChars.dtd b/mozilla/mail/locales/en-US/chrome/editor/EditorInsertChars.dtd
deleted file mode 100644
index 5aa243e27ba..00000000000
--- a/mozilla/mail/locales/en-US/chrome/editor/EditorInsertChars.dtd
+++ /dev/null
@@ -1,52 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/mozilla/mail/locales/en-US/chrome/editor/EditorInsertSource.dtd b/mozilla/mail/locales/en-US/chrome/editor/EditorInsertSource.dtd
deleted file mode 100644
index 05772a43072..00000000000
--- a/mozilla/mail/locales/en-US/chrome/editor/EditorInsertSource.dtd
+++ /dev/null
@@ -1,48 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/mozilla/mail/locales/en-US/chrome/editor/EditorInsertTOC.dtd b/mozilla/mail/locales/en-US/chrome/editor/EditorInsertTOC.dtd
deleted file mode 100644
index 04d313a4ca8..00000000000
--- a/mozilla/mail/locales/en-US/chrome/editor/EditorInsertTOC.dtd
+++ /dev/null
@@ -1,50 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/mozilla/mail/locales/en-US/chrome/editor/EditorInsertTable.dtd b/mozilla/mail/locales/en-US/chrome/editor/EditorInsertTable.dtd
deleted file mode 100644
index 9a0b6ac30bd..00000000000
--- a/mozilla/mail/locales/en-US/chrome/editor/EditorInsertTable.dtd
+++ /dev/null
@@ -1,51 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/mozilla/mail/locales/en-US/chrome/editor/EditorLinkProperties.dtd b/mozilla/mail/locales/en-US/chrome/editor/EditorLinkProperties.dtd
deleted file mode 100644
index 7b0c01615be..00000000000
--- a/mozilla/mail/locales/en-US/chrome/editor/EditorLinkProperties.dtd
+++ /dev/null
@@ -1,39 +0,0 @@
-
-
-
-
diff --git a/mozilla/mail/locales/en-US/chrome/editor/EditorListProperties.dtd b/mozilla/mail/locales/en-US/chrome/editor/EditorListProperties.dtd
deleted file mode 100644
index 2df1d9af5da..00000000000
--- a/mozilla/mail/locales/en-US/chrome/editor/EditorListProperties.dtd
+++ /dev/null
@@ -1,54 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/mozilla/mail/locales/en-US/chrome/editor/EditorPersonalDictionary.dtd b/mozilla/mail/locales/en-US/chrome/editor/EditorPersonalDictionary.dtd
deleted file mode 100644
index 28ba3bba957..00000000000
--- a/mozilla/mail/locales/en-US/chrome/editor/EditorPersonalDictionary.dtd
+++ /dev/null
@@ -1,53 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/mozilla/mail/locales/en-US/chrome/editor/EditorReplace.dtd b/mozilla/mail/locales/en-US/chrome/editor/EditorReplace.dtd
deleted file mode 100644
index 2b4f1afff5b..00000000000
--- a/mozilla/mail/locales/en-US/chrome/editor/EditorReplace.dtd
+++ /dev/null
@@ -1,61 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/mozilla/mail/locales/en-US/chrome/editor/EditorSpellCheck.dtd b/mozilla/mail/locales/en-US/chrome/editor/EditorSpellCheck.dtd
deleted file mode 100644
index 7131a155c7d..00000000000
--- a/mozilla/mail/locales/en-US/chrome/editor/EditorSpellCheck.dtd
+++ /dev/null
@@ -1,71 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/mozilla/mail/locales/en-US/chrome/editor/EditorTableProperties.dtd b/mozilla/mail/locales/en-US/chrome/editor/EditorTableProperties.dtd
deleted file mode 100644
index f89f8b37ee0..00000000000
--- a/mozilla/mail/locales/en-US/chrome/editor/EditorTableProperties.dtd
+++ /dev/null
@@ -1,116 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/mozilla/mail/locales/en-US/chrome/editor/editor.properties b/mozilla/mail/locales/en-US/chrome/editor/editor.properties
deleted file mode 100644
index 532e785d798..00000000000
--- a/mozilla/mail/locales/en-US/chrome/editor/editor.properties
+++ /dev/null
@@ -1,233 +0,0 @@
-#
-# moved from content/
-#
-# LOCALIZATION NOTE FILE: embedded "\n" represent HTML breaks (
)
-# Don't translate embedded "\n".
-# Don't translate strings like this: %variable%
-# as they will be replaced using JavaScript
-#
-Yes=Yes
-No=No
-Cancel=Cancel
-Insert=Insert
-InsertAccessKey=I
-Save=Save
-DontSave=Don't Save
-More=More
-Fewer=Fewer
-Less=Less
-MoreAttributes=More Attributes
-FewerAttributes=Fewer Attributes
-MoreProperties=More Properties
-FewerProperties=Fewer Properties
-PropertiesAccessKey=P
-None=None
-none=none
-OpenHTMLFile=Open HTML File
-SelectImageFile=Select Image File
-SaveDocument=Save Page
-SaveDocumentAs=Save Page As
-ExportToText=Export to Text
-EditMode=Edit Mode
-Preview=Preview
-Publish=Publish
-PublishPage=Publish Page
-DontPublish=Don't Publish
-SavePassword=Use Password Manager to save this password
-CorrectSpelling=(correct spelling)
-NoSuggestedWords=(no suggested words)
-NoMisspelledWord=No misspelled words
-CheckSpellingDone=Completed spell checking.
-CheckSpelling=Check Spelling
-LoadingDone=Done loading page
-InputError=Error
-Alert=Alert
-CantEditFramesetMsg=Composer cannot edit HTML framesets, or pages with inline frames. For framesets, try editing the page for each frame separately. For pages with iframes, save a copy of the page and remove the