Alex Schroeder
4b33b3afeb
Get rid of -r
2016-06-27 12:05:37 +02:00
Alex Schroeder
d5429d276f
load-lang.pl: Fix code and add test
...
If you're accept-language settings included something for which no file
exists (such as "de-ch"), then the test for the file would
succeed (testing for the existence of "$LoadLanguageDir/") even though
no actual file will be loaded. This is fixed. Also: implemented actual
testing.
2016-05-28 09:30:59 +02:00
Aleks-Daniel Jakimenko-Aleksejev
0107e41123
load-lang.pl: Add Estonian translation
2015-12-30 15:45:41 +02:00
Aleks-Daniel Jakimenko
9ecfe306cb
load-lang.pl: missing translations, meta test
2015-09-19 08:28:05 +03:00
Aleks-Daniel Jakimenko
a4dd2b8b0a
load-lang.pl: Use $ModuleDir/translations by default
...
Modules are not loaded recursively, so we are free to use any directory inside
$ModuleDir. It is also where translations are located in the git repo.
Also, %library was renamed to %TranslationsLibrary (which is now "our"). This
is required for tests and for custom configuration.
2015-09-19 07:57:33 +03:00
Alex Schroeder
58e9a1e240
use v5.10 everywhere + enabled test in meta.t
2015-08-18 10:48:03 +02:00
Alex Schroeder
c7274a267b
Remove README and $ReadMe
...
I don't think anybody ever relied on this feature.
2015-07-03 11:51:48 +02:00
Aleks-Daniel Jakimenko
a615bedccf
Fixed a bunch of stuff
2015-04-28 00:03:11 +03:00
Aleks-Daniel Jakimenko
6f8d281d79
No more "use vars"!
2015-04-10 13:31:28 +03:00
Aleks-Daniel Jakimenko
4492ede096
"use strict;" in modules (some modules have problems)
2015-03-27 03:01:01 +02:00
Alex Schroeder
8773242dba
Add support for zh-cn and zh-tw
2015-01-04 11:18:05 +01:00
Alex Schroeder
5aba2ae56f
Fixed typo in AddModuleDescription sub name
2014-08-21 22:23:23 +02:00
Alex Jakimenko
ee932dee37
Automatically reformatted modules
2014-08-21 07:29:46 +03:00
Aki Goto
0ab5261bc6
load-lang.pl: add $LoadLanguageDir
...
The new option $LoadLanguageDir specifies a directory for the language
files.
2014-06-16 15:33:53 +02:00
Alex Schroeder
f11e2a8731
getting rid of $Id$ tags in $WikiDescription
...
Replaced the $Id$ tags in $WikiDescription for all the modules and wiki.pl itself with a link to the source and an appropriate wiki page, if possible. This is shown in action=version and should help users figure out what another wiki has installed.
2012-04-19 02:18:45 +02:00
Alex Schroeder
c5c892e0d7
Prepend instead of append to
...
MyInitVariables to get rid of a conflict with gotobar.pl.
2010-05-17 17:21:06 +00:00
Alex Schroeder
aca7e831a9
Fix typo.
2009-04-09 17:02:17 +00:00
Alex Schroeder
4337a39d93
($CurrentLanguage): New variable.
...
(LoadLanguage): Set it.
2009-04-09 16:57:34 +00:00
Alex Schroeder
484c144e33
Added greek.
2008-11-24 18:09:42 +00:00
Alex Schroeder
2cfcd5f3eb
Added korean
2007-11-11 10:57:55 +00:00
Alex Schroeder
873926d45c
(LoadLanguage): Fix 'en' shortcut.
2006-10-10 10:23:58 +00:00
Alex Schroeder
93c1e6a68b
(LoadLanguage): Change controlling
...
parameter from 'lang' to 'interface' because the interface
language should be independent from the filter language for search
and recent changes.
2006-10-10 10:07:11 +00:00
Alex Schroeder
d8a9b83954
(LoadLanguage): Consider en the default language (no translation
...
file and no extra config file to be loaded), use lang paramater if
available (already stored in the cookie).
2006-10-09 12:49:44 +00:00
Alex Schroeder
100be71962
*** empty log message ***
2006-10-09 10:34:34 +00:00
Alex Schroeder
02f3692d92
(LoadLanguage): Load language-specific
...
config file if it exists.
2006-10-09 10:18:57 +00:00
Alex Schroeder
0074e42d67
added polish
2006-05-09 20:37:10 +00:00