From 0a1a564e5b0928744286d8c17bd449d6c1e46840 Mon Sep 17 00:00:00 2001
From: moodler
Date: Mon, 26 Apr 2004 09:37:12 +0000
Subject: [PATCH] Strings in language files should always be lower case
---
lang/en/docs/coding.html | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lang/en/docs/coding.html b/lang/en/docs/coding.html
index 3b44a53dca..38b4be4187 100755
--- a/lang/en/docs/coding.html
+++ b/lang/en/docs/coding.html
@@ -35,7 +35,8 @@
All variables should be initialised or at least tested for
existence using isset() or empty() before they are used.
All strings should be translatable - create new texts in
- the "lang/en" files and call them using get_string() or print_string().
+ the "lang/en" files with concise English lowercase names and retrieve them
+ from your code using get_string() or print_string().
All help files should be translatable - create new texts
in the "en/help" directory and call them using helpbutton().
Incoming data from the browser (sent via GET or POST) automatically
@@ -73,7 +74,7 @@ GOOD: $assignments (for an array of objects)
1);
Function names should be simple English
- words, and start with the name of the module to avoid conflicts between modules.
+ lowercase words, and start with the name of the module to avoid conflicts between modules.
Words should be separated by underscores. Parameters should always have sensible
defaults if possible. Note there is no space between the function name and
the following (brackets).
--
2.39.5