]> source.dussan.org Git - sonarqube.git/commitdiff
Improve date format with english and german locales
authorSimon Brandhof <simon.brandhof@gmail.com>
Wed, 8 Jun 2011 09:33:55 +0000 (11:33 +0200)
committerSimon Brandhof <simon.brandhof@gmail.com>
Wed, 8 Jun 2011 09:33:55 +0000 (11:33 +0200)
sonar-server/src/main/webapp/WEB-INF/config/locales/de.yml [new file with mode: 0644]
sonar-server/src/main/webapp/WEB-INF/config/locales/en-AU.yml [new file with mode: 0644]
sonar-server/src/main/webapp/WEB-INF/config/locales/en-GB.yml [new file with mode: 0644]
sonar-server/src/main/webapp/WEB-INF/config/locales/en-US.yml [new file with mode: 0644]
sonar-server/src/main/webapp/WEB-INF/config/locales/en.yml [deleted file]

diff --git a/sonar-server/src/main/webapp/WEB-INF/config/locales/de.yml b/sonar-server/src/main/webapp/WEB-INF/config/locales/de.yml
new file mode 100644 (file)
index 0000000..4726660
--- /dev/null
@@ -0,0 +1,10 @@
+# Override default date formats
+
+de:
+  date:
+    formats:
+      default: "%d. %b %Y"
+
+  time:
+    formats:
+      default: "%d. %b %Y %H:%M"
\ No newline at end of file
diff --git a/sonar-server/src/main/webapp/WEB-INF/config/locales/en-AU.yml b/sonar-server/src/main/webapp/WEB-INF/config/locales/en-AU.yml
new file mode 100644 (file)
index 0000000..9b4fd51
--- /dev/null
@@ -0,0 +1,13 @@
+# Override default locale
+
+"en-AU":
+  date:
+    formats:
+      default: "%d %b %Y"
+
+  time:
+    formats:
+      default: "%d %b %Y %H:%M"
+    am: "am"
+    pm: "pm"
+
diff --git a/sonar-server/src/main/webapp/WEB-INF/config/locales/en-GB.yml b/sonar-server/src/main/webapp/WEB-INF/config/locales/en-GB.yml
new file mode 100644 (file)
index 0000000..0ef3ab8
--- /dev/null
@@ -0,0 +1,13 @@
+# Override default locale
+
+"en-GB":
+  date:
+    formats:
+      default: "%d %b %Y"
+
+  time:
+    formats:
+      default: "%d %b %Y %H:%M"
+    am: "am"
+    pm: "pm"
+
diff --git a/sonar-server/src/main/webapp/WEB-INF/config/locales/en-US.yml b/sonar-server/src/main/webapp/WEB-INF/config/locales/en-US.yml
new file mode 100644 (file)
index 0000000..154c872
--- /dev/null
@@ -0,0 +1,13 @@
+# Override default locale
+
+"en-US":
+  date:
+    formats:
+      default: "%d %b %Y"
+
+  time:
+    formats:
+      default: "%d %b %Y %H:%M"
+    am: "am"
+    pm: "pm"
+
diff --git a/sonar-server/src/main/webapp/WEB-INF/config/locales/en.yml b/sonar-server/src/main/webapp/WEB-INF/config/locales/en.yml
deleted file mode 100644 (file)
index f164a55..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-# Override default locale
-
-en:
-  date:
-    formats:
-      default: "%d %b %Y"
-
-  time:
-    formats:
-      default: "%d %b %Y %H:%M"
-    am: "am"
-    pm: "pm"
-