Interesting discussion related to this commit below.
2 points:
1) I think application translations shouldn't go in XWiki main JAR
2) At the level of the wiki it's easy to imagine a document holding
the translations. However as we want each application (blog, search,
panels, etc) to be independant, we need a solution at the level of
each applications.
If we have a document for each application, it's going to be too
painful to have to register each page in the admin.
Thus I think a better solution would be to modify XWikiMessageTool to
automatically look for documents having a Translation object attached
to them and to use the content of that object to resource properties.
Only issue is that this Translation class has to exist in all wikis...
Any idea?
Thanks
-Vincent
On Jun 30, 2007, at 11:45 AM, Sergiu Dumitriu wrote:
Author: sdumitriu
Date: 2007-06-30 11:45:13 +0200 (Sat, 30 Jun 2007)
New Revision: 3776
Modified:
xwiki-platform/core/trunk/src/main/resources/
ApplicationResources.properties
Log:
XWIKI-918: Cleanup/refactor the ApplicationResources* files
Panels.EditTranslation
Modified: xwiki-platform/core/trunk/src/main/resources/
ApplicationResources.properties
===================================================================
--- xwiki-platform/core/trunk/src/main/resources/
ApplicationResources.properties 2007-06-30 09:30:16 UTC (rev 3775)
+++ xwiki-platform/core/trunk/src/main/resources/
ApplicationResources.properties 2007-06-30 09:45:13 UTC (rev 3776)
@@ -736,3 +736,11 @@
core.delete.backlinksWarning=The following documents contain links
to the current page:{0}After deleting this document, those links
will point to an empty page.
core.delete.confirm=The deletion of a document is not reversible.
Are you sure you wish to continue?
core.delete.confirmWithBacklinks=In addition, the deletion of a
document is not reversible. Are you sure you wish to continue?
+
+panels.translation.title=Document translations
+panels.translation.editingOriginal=You are editing the original
document ({0}).
+panels.translation.editingTranslation=You are editing the
following translation: {0}.
+panels.translation.originalLanguage=The original language of the
document is <a href="{0}">{1}</a>.
+panels.translation.translate=Translate this document in:
+panels.translation.otherTranslations=Other translations:
+panels.translation.existingTranslations=Existing translations:
--
You receive this message as a subscriber of the xwiki-
commits(a)objectweb.org mailing list.
To unsubscribe: mailto:xwiki-commits-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page:
http://www.objectweb.org/
wws