summaryrefslogtreecommitdiff
path: root/doc/todo/pull_request:_Locale.selectedFor_and_Locale.available_properties.mdwn
diff options
context:
space:
mode:
authorJoey Hess2015-11-25 11:20:07 -0400
committerJoey Hess2015-11-25 11:20:07 -0400
commit83735d73015bb25874a7bce91965126f797e49b0 (patch)
tree1f266eefcae18212ee9e7cdd39dc00e691f181f5 /doc/todo/pull_request:_Locale.selectedFor_and_Locale.available_properties.mdwn
parente273ee4959865ff47350f495cc5090a6651bda8a (diff)
parentb8dd74eb947f97562c353139e0d5ad65ec718615 (diff)
Merge branch 'master' of ssh://propellor.branchable.com
Diffstat (limited to 'doc/todo/pull_request:_Locale.selectedFor_and_Locale.available_properties.mdwn')
-rw-r--r--doc/todo/pull_request:_Locale.selectedFor_and_Locale.available_properties.mdwn13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/todo/pull_request:_Locale.selectedFor_and_Locale.available_properties.mdwn b/doc/todo/pull_request:_Locale.selectedFor_and_Locale.available_properties.mdwn
new file mode 100644
index 00000000..544948f4
--- /dev/null
+++ b/doc/todo/pull_request:_Locale.selectedFor_and_Locale.available_properties.mdwn
@@ -0,0 +1,13 @@
+Please consider merging branch `locale` of repo `https://git.spwhitton.name/propellor`
+
+It adds the following properties:
+
+- `Locale.selectedFor` to choose a locale for a locale variable
+- `Locale.available`, used by `Locale.selectedFor` to ensure a locale is generated
+
+Example usage (I'm British but I live in the US):
+
+ & "en_GB.UTF-8" `Locale.selectedFor` ["LANG", "LANGUAGE"]
+ & "en_US.UTF-8" `Locale.selectedFor` ["LC_PAPER"]
+
+Pretty sure I've got the indentation right this time too ;)