[vlma-devel] commit: Some comments about locale resolution. (Adrien Grand )
git version control
git at videolan.org
Wed Aug 6 23:15:27 CEST 2008
vlma | branch: master | Adrien Grand <jpountz at videolan.org> | Wed Aug 6 23:17:50 2008 +0200| [9fa2b3ebad8ac2fea293d8f269d5021e9635c2cd] | committer: Adrien Grand
Some comments about locale resolution.
> http://git.videolan.org/gitweb.cgi/vlma.git/?a=commit;h=9fa2b3ebad8ac2fea293d8f269d5021e9635c2cd
---
vlma-webapp/src/main/resources/messages.properties | 7 ++++++-
.../src/main/resources/messages_en.properties | 4 ++++
.../src/main/resources/messages_fr.properties | 4 +++-
3 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/vlma-webapp/src/main/resources/messages.properties b/vlma-webapp/src/main/resources/messages.properties
index 5bde43b..aec087a 100644
--- a/vlma-webapp/src/main/resources/messages.properties
+++ b/vlma-webapp/src/main/resources/messages.properties
@@ -1,3 +1,8 @@
+# Default translation file.
+
+# When a key cannot be found in the dedicated translation file, the
+# value will be read from this file.
+
quicklinks.welcome = Home
quicklinks.configuration = Configuration
quicklinks.servers = Servers
@@ -271,4 +276,4 @@ footpage.contact = Contact
podcast.title = Playlist
podcast.description = Playlist of the streamed channels.
-error.remote_exception = Cannot contact the RMI registry
\ No newline at end of file
+error.remote_exception = Cannot contact the RMI registry
diff --git a/vlma-webapp/src/main/resources/messages_en.properties b/vlma-webapp/src/main/resources/messages_en.properties
index e69de29..1ab6078 100644
--- a/vlma-webapp/src/main/resources/messages_en.properties
+++ b/vlma-webapp/src/main/resources/messages_en.properties
@@ -0,0 +1,4 @@
+# English translation file
+
+# Even if it is empty, this file is required for the locale resolver
+# to know there is an english translation file.
diff --git a/vlma-webapp/src/main/resources/messages_fr.properties b/vlma-webapp/src/main/resources/messages_fr.properties
index cd1248b..dab0060 100644
--- a/vlma-webapp/src/main/resources/messages_fr.properties
+++ b/vlma-webapp/src/main/resources/messages_fr.properties
@@ -1,3 +1,5 @@
+# French translation file.
+
quicklinks.welcome = Accueil
quicklinks.configuration = Configuration
quicklinks.servers = Serveurs
@@ -271,4 +273,4 @@ footpage.contact = Contact
podcast.title = Liste de lecture
podcast.description = Liste de lecture des chaînes diffusées.
-error.remote_exception = Impossible d'interroger le registre RMI
\ No newline at end of file
+error.remote_exception = Impossible d'interroger le registre RMI
More information about the vlma-devel
mailing list