From 1e6ddae5568b9c1a04ae2ae1957b520c9d4fee4f Mon Sep 17 00:00:00 2001 From: dcsjapan Date: Thu, 5 Nov 2015 08:11:59 +0900 Subject: [PATCH] Add locale file template - Adds a more detailed template for the en.yml file provided with the extension skeleton. - I've left the sample keys uncommented, but added a comment advising that they be removed. --- framework/core/stubs/extension/locale/en.yml | 28 +++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/framework/core/stubs/extension/locale/en.yml b/framework/core/stubs/extension/locale/en.yml index 15828fbe1..2032da4ac 100644 --- a/framework/core/stubs/extension/locale/en.yml +++ b/framework/core/stubs/extension/locale/en.yml @@ -1,2 +1,28 @@ {{name}}: - # hello_world: "Hello, world!" + + ## + # UNIQUE KEYS - The following keys are used in only one location each. + ## + + # Strings in this namespace are used by the admin interface. + admin: + + # These keys are provided as examples; please delete them before using. + sample_location: + sample_text: "Hello, world!" + + + # Strings in this namespace are used by the forum user interface. + forum: + + + # Strings in this namespace are used by the forum and admin interfaces. + lib: + + + ## + # REUSED STRINGS - The following keys are referenced by two or more unique keys. + ## + + # Strings in this namespace are referenced by two or more unique keys. + ref: