Commit graph

138 commits

Author SHA1 Message Date
mudrd8mz
dd43d37152 lang.php now keeps orphaned transaltions, i.e. string without English reference. Fixes MDL-8409. 2007-02-03 12:23:53 +00:00
mudrd8mz
5764893508 Produces better HTML/CSS output to fit into translators' screen.
There are only two columns in the translation table form now. Odd and even
rows' background alters.
See MDL-8334 and http://moodle.org/mod/forum/discuss.php?d=62800 for more info about this.
2007-02-02 14:42:15 +00:00
mudrd8mz
de4214a592 The script used to fwrite \?\> instead of ?>. Fixes MDL-8129.
This was introduced in 1.80 by moodler. Don't know why but it caused an PHP critical
syntax error.
2007-01-15 11:40:26 +00:00
mudrd8mz
f024bea279 The maximum length of the missing strings to display can be set now. Fixes MDL-8184.
Because the tags <pre>...</pre> are used when displaying original English
version of missing texts, the screen may get very wide. This patch displays
only first 60 characters followed by '...'. This produces better output.
2007-01-15 11:18:26 +00:00
moodler
819f239a81 Strict on editing long files too 2007-01-09 09:22:16 +00:00
moodler
5a34b76be0 Strrrrrrict when editing language files 2007-01-09 09:20:55 +00:00
moodler
99b112ee32 More cleaning up XHTML Strict 2007-01-09 09:11:50 +00:00
moodler
fc935b3095 Fix strings 2007-01-09 09:01:38 +00:00
moodler
5d6993b187 MOved some loose strings I found 2007-01-09 08:25:40 +00:00
skodak
0d905d9f34 MDL-7861 new class .icon and .iconsmall 2007-01-08 09:14:05 +00:00
skodak
b7dc225654 MDL-8062 1.3 Remove name attribute from <form> and fix focus everywhere - more changes ahead 2007-01-04 21:32:36 +00:00
skodak
fa73873105 MDL-8050 1.2 Remove all target="_top" - refactoring of previous commit 2007-01-04 18:23:55 +00:00
skodak
e25cb71041 MDL-8050 1.2 Remove all target="_top" 2007-01-03 19:24:48 +00:00
toyomoyo
5fabce28e3 adding missing tag MDL-7861 2006-12-19 07:05:48 +00:00
toyomoyo
92a6d3f510 MDL-7861, adding third param to notice() function, so that the right footer is printed. Currently missing admin footer 2006-12-19 06:49:45 +00:00
skodak
344044b28e MDL-7434 all images that convey information should have alt text to convey that information - part 1 2006-11-24 20:16:37 +00:00
skodak
e3bc106621 remove use of get_String("thischarset") replace it with utf-8 MDL-7570 2006-11-15 20:39:26 +00:00
mudrd8mz
6ea1cd02cb Merged fix of MDL-7361 from MOODLE-17-STABLE 2006-11-07 13:35:12 +00:00
skodak
fd98800ea2 another admin ui cleanup 2006-09-21 08:28:25 +00:00
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