69 Commits

Author SHA1 Message Date
skodak
6e4dc10f54 deglobalization of $ADMIN; merged admin/adminlib.php into lib/adminlib.php; fixed includes and some other minor fixes 2006-09-02 13:14:57 +00:00
vinkmar
90a73bb361 Admin page cleanup (Google soc 2006) 2006-08-18 07:25:17 +00:00
mudrd8mz
45428e8614 * Fixed bug 5745 reported by Harry Smith so now can edit en_utf8_local pack
* More notification messages included
2006-06-09 08:48:45 +00:00
mudrd8mz
f20c155a3b * "go to first missing string" link can be displayed (see LANG_DISPLAY_MISSING_LINKS)
* "go to next/previous missing" links can be displayed (see LANG_DISPLAY_MISSING_LINKS)
* submit button may be repeated (see LANG_SUBMIT_REPEAT*)
* added (empty) "summary" attribute for the <table>'s
* added error_reporting(E_ALL ^ E_NOTICE); in "compare" mode (even in debug environment we know that missing keys are missing strings here, not bugs ;-)
* LANG_DEFAULT_FILE can be now set. moodle.php used to be opened automatically. As it was (and still is) one of the biggest files it usually took a long time to load the page even if you just want to choose the file to translate.
* added links from "missing" to "compare" mode page
* English strings are now key-sorted in "missing" mode
* list of files with missing strings is now displayed at the top of "missing" page
* A lot of changes to support translation of *_utf8_local langugage packs. Needs testing
* Merged with version by Mitsuhiro Yoshida - display icon links instead of text links (I have changed the position of arrow icons to not to be so close each other)
2006-05-30 16:47:59 +00:00
stronk7
5a606b3944 Prevent edition of langconfig.php from Moodle editor. Part of 4924.
(http://moodle.org/bugs/bug.php?op=show&bugid=4924)
2006-04-10 22:15:57 +00:00
vyshane
5723bc6f09 Fix for Bug #4910 - stringnames with - . and / don't show up in translation editor
Modified /admin/lang.php to allow us to still use periods in language string keys. The lang.php script just replaces the periods with ##46# for the form inputs and then puts the periods back in before saving to the language file.

This means that there is no need to update language files at all. They will just work even with periods in the string keys.
2006-04-05 04:07:16 +00:00
skodak
045e9e2484 parameter cleaup - round 2 2006-03-06 13:22:37 +00:00
toyomoyo
48dbefcd7d fix for 4735 2006-02-13 02:44:37 +00:00
toyomoyo
7988d9e75a prevent the attempt of editting packs located in $CFG->dirroot/lang (from get_list_of_languages() used in 1.6 sites that are not uncodedb) 2006-02-08 07:44:36 +00:00
toyomoyo
bcfe401e39 fix for 4715 2006-02-08 07:23:02 +00:00
moodler
20f601d324 editting of langs take place in $CFG->dataroot/lang now, Editting of en_utf8 is disabled 2006-02-06 08:41:21 +00:00
toyomoyo
1a71d8074c some changes to lang pack management 2006-01-06 02:14:16 +00:00
moodler
145ec44bf7 FIx for bug 3181 - empty files are no longer created - make your own! :-) 2005-07-14 16:00:23 +00:00
thepurpleblob
993ef10da7 require_variable() and optional_variable() replaced with required_param() &
optional_param. Other tweaks to suit.
2005-06-15 12:31:09 +00:00
moodler
1ce8d3f0bd More robust at handling hyphens (bug 2899) 2005-04-13 04:18:24 +00:00
moodler
2d99362fba Bug number of last checkin was 2801 ;-) 2005-03-28 04:32:50 +00:00
moodler
dbd956ac2b Fixed XHTML issues in admin/lang.php 2005-03-28 04:31:14 +00:00
moodler
2bb407f51d Very very quick checking of new lang doc editing script from David Mudrak,
with significant cleanups

Needs some testing.
2005-02-14 19:35:53 +00:00
moodler
3c02d134da Removed $THEME from admin pages 2005-01-25 17:08:05 +00:00
stronk7
4530d4372a Changed some sesskey behaviours SC#73 (admin part) 2005-01-22 21:02:12 +00:00
fiedorow
06870aa324 fixing a couple of instances of hardcoded /admin/ 2004-12-31 16:12:58 +00:00
moodler
6a0b58b23a Merged lang fix from stable 2004-11-30 03:48:13 +00:00
stronk7
48ba274660 admin/lang.php is now using sesskey.
Merged from MOODLE_14_STABLE
2004-10-03 09:18:19 +00:00
gustav_delius
839f2456bb XHTML compliance
- fixed (hopefully) all <img> tags
- global replace on <br> to <br />
- &amp; in URLs
- got the forum module XHTML compliant
Julian Sedding
2004-09-16 17:13:57 +00:00
gustav_delius
9a58f7cb85 towards XHTML compliance 2004-09-12 21:43:59 +00:00
gustav_delius
0cdd138180 some fixes for XHTML compliance 2004-09-12 00:21:21 +00:00
moodler
01a5135d87 Added some instructions for translators on some important strings 2004-09-10 02:20:58 +00:00
moodler
e1e88c7177 Merged bug 1638 from stable 2004-07-13 13:55:14 +00:00
defacer
d2b12fefd5 Fix for bug 1608:
When editing the language, you can easily switch between the two views with a button.

Also fixes in the HTML generation.
2004-07-02 08:18:47 +00:00
moodler
edc23b1686 Improvements for editing Unicode 2004-05-09 09:10:29 +00:00
moodler
c23ec730b9 Some fixes to improve editing of rtl languages 2004-04-25 03:54:25 +00:00
moodler
da9e21a407 Strip linefeed characters \r from multi-line strings 2004-02-02 04:19:56 +00:00
moodler
5ee2080112 Escape double quotes too 2003-11-20 11:47:14 +00:00
moodler
025583cd23 Add a little language-changing menu here to make it easier 2003-11-18 07:41:35 +00:00
moodler
452c1cb363 Language editor now saves strings with 'single quotes' which should
- simplify the files a bit
     - speed up processing at run time
2003-11-18 07:26:40 +00:00
moodler
af4efb1484 Improved the heading a little 2003-10-08 05:53:55 +00:00
moodler
094640f170 Split up the looooooooooooooong page into separate files, to make editing
a little easier!
2003-10-08 05:44:56 +00:00
moodler
11863e8663 Try to create missing string files if possible (thanks Gustav) 2003-09-10 12:37:59 +00:00
moodler
2f4d324bd7 Trying something different with the admin links ... even I was starting
to get a bit lost occasionally.
2003-08-18 16:40:27 +00:00
moodler
55e4b5f97d Some cleanups of the admin page to make it
- more explanatory
  - more expandable

Apologies for the lost muscle memories, but I think this
will work better in the long run.
2003-08-10 08:01:14 +00:00
moodler
3ee8f1715f Added a button on the language page that takes you to the moodle.org
page to download new language packs
2003-05-29 03:20:11 +00:00
moodler
b39cadbfe7 Formatting fixes from Windows editor 2003-05-23 14:41:22 +00:00
moodler
020181047d Some hacks to stop the addition of blank lines on Windows machines during editing in the web forms. 2003-05-23 14:25:55 +00:00
moodler
2fb7c49f17 Undoing an accidental check-in. These were some experiments trying to
solve a Windows problem (not successful yet).
2003-05-06 16:06:56 +00:00
moodler
1f33691c86 Cleaned up the initial setup process. It looks a bit smoother now.
Hopefully this is also the end of the occasional errors we keep
hearing about to do with never getting to setup the admin user.
(I think admin/site.php had a redirect that didn't always work).

The setup process is now much better at "trapping" you until it's all done.
2003-05-06 15:58:20 +00:00
paca70
44a334d874 Undoing needless change. 2003-04-19 19:09:01 +00:00
paca70
d61bf02f18 Works now also with $a->something 2003-04-19 17:45:50 +00:00
paca70
4dddd64b5f Hilite also empty stings. 2003-04-19 10:25:58 +00:00
moodler
45930f2db5 Add support for Taiwan Chinese 2003-02-27 12:15:00 +00:00
moodler
ecc114ee3b Add better escaping for double quotes 2003-02-02 02:37:09 +00:00