summaryrefslogtreecommitdiff
path: root/STYLE
diff options
context:
space:
mode:
authorChristian Heim <phreak@gentoo.org>2005-11-30 10:03:22 +0000
committerChristian Heim <phreak@gentoo.org>2005-11-30 10:03:22 +0000
commit4979098b2f4324a062eeaebe3039fd596d8b4e28 (patch)
treef832d482627bf1b28b2b14df8e25858a465fa272 /STYLE
parentImport the latest baselayout changes. Merging revision 1634. (diff)
downloadbaselayout-vserver-4979098b2f4324a062eeaebe3039fd596d8b4e28.tar.gz
baselayout-vserver-4979098b2f4324a062eeaebe3039fd596d8b4e28.tar.bz2
baselayout-vserver-4979098b2f4324a062eeaebe3039fd596d8b4e28.zip
Import the latest baselayout changes. Merging revision 1648.
svn path=/baselayout-vserver/trunk/; revision=123
Diffstat (limited to 'STYLE')
-rw-r--r--STYLE13
1 files changed, 13 insertions, 0 deletions
diff --git a/STYLE b/STYLE
index e99d955..f752d6e 100644
--- a/STYLE
+++ b/STYLE
@@ -56,6 +56,19 @@ or #gentoo-base on irc.freenode.net.
Do not lead with 'function '
e.g. function foo() {
+#######
+# NLS #
+#######
+- General -
+ When displaying strings that a user would read,
+ use the $"" form so that it can be localized.
+ However, you generally you dont want to localize
+ config files that only a program would parse.
+ e.g. ebegin $"Starting blahblah"
+ e.g. echo "SOMETHING=foobar" > /etc/config.file
+ e.g. echo $"Notice for user" > /etc/motd
+ e.g. ewarn $"Skipping running booga"
+
############
# COMMENTS #
############