Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix drift between CVS and git

  • Loading branch information...
commit 0d003551eb3237470b1590397f8605ebe1803fc3 1 parent 07c92f6
Francois Marier authored
View
2  install/lang/cs_utf8/installer.php
@@ -192,6 +192,7 @@
<blockquote>php_value magic_quotes_gpc On</blockquote>
<blockquote>php_value register_globals Off</blockquote>
</p>';
+$string['globalswarning'] = '<p><strong>Bezpečnostní varování</strong>: Aby Moodle pracoval správně, potřebuje udělat změny v nastavení PHP.<p/><p><em>Musíte</em> nastavit <code>register_globals=off</code>. Tohoto nastavení dosáhnete buď úpravou soubor <code>php.ini</code> (Apache nebo IIS), nebo nastavením pomocí <code>.htaccess</code>.';
$string['help'] = 'Nápověda';
$string['iconvrecommended'] = 'Instalace volitelné knihovny ICONV je silně doporučena, neboť zvyšuje výkon stránek, zejména pokud používáte jazyky nezaložené na latince.';
$string['info'] = 'Informace';
@@ -296,4 +297,5 @@
$string['wrongzipfilename'] = 'Chybné jméno souboru ZIP';
$string['wwwroot'] = 'Webová adresa';
$string['wwwrooterror'] = 'Parametr \'Webová adresa\' je zřejmě nastaven nesprávně -- v zadaném umístění se nepodařilo najít instalaci Moodlu. Ve formuláři níže byla automaticky nastavena výchozí hodnota.';
+$string['xmlrpcrecommended'] = 'Instalace rozšíření pro podporu XML-RPC je velmi užitečná pro síťové funkce Moodlu.';
?>
View
15 lang/en_utf8/block_search.php
@@ -0,0 +1,15 @@
+<?php
+$string['blockname'] = 'Global Search';
+$string['configbuttonlabel'] = 'Button label';
+$string['configenablefileindexing'] = 'Enable file indexing';
+$string['configfiletypes'] = 'File types handled';
+$string['configlimitindexbody'] = 'Indexed body size limitation';
+$string['configpdftotextcmd'] = 'Path to command pdftotext';
+$string['configwordtotextcmd'] = 'Path to command doctotext';
+$string['configwordtotextenv'] = 'Environment setting for the MSWord converter';
+$string['configsearchtext'] = 'Search text';
+$string['go'] = 'Go!';
+$string['bytes'] = ' bytes (0 stands for no limits)';
+$string['searchmoodle'] = 'Search Moodle';
+$string['usemoodleroot'] = 'Prefix Moodle root for text converters';
+?>
View
33 lib/adodb/lang/adodb_th.inc.php
@@ -0,0 +1,33 @@
+<?php
+// by Trirat Petchsingh <rosskouk#gmail.com>
+$ADODB_LANG_ARRAY = array (
+ 'LANG' => 'th',
+ DB_ERROR => 'error ไม่รู้สาเหตุ',
+ DB_ERROR_ALREADY_EXISTS => 'มี�ล้ว',
+ DB_ERROR_CANNOT_CREATE => 'สร้างไม่ได้',
+ DB_ERROR_CANNOT_DELETE => 'ลบไม่ได้',
+ DB_ERROR_CANNOT_DROP => 'drop ไม่ได้',
+ DB_ERROR_CONSTRAINT => 'constraint violation',
+ DB_ERROR_DIVZERO => 'หา�ด้วยสู�',
+ DB_ERROR_INVALID => 'ไม่ valid',
+ DB_ERROR_INVALID_DATE => 'วันที่ เวลา ไม่ valid',
+ DB_ERROR_INVALID_NUMBER => 'เลขไม่ valid',
+ DB_ERROR_MISMATCH => 'mismatch',
+ DB_ERROR_NODBSELECTED => 'ไม่ได้เลือ��านข้อมูล',
+ DB_ERROR_NOSUCHFIELD => 'ไม่มีฟีลด์นี้',
+ DB_ERROR_NOSUCHTABLE => 'ไม่มีตารางนี้',
+ DB_ERROR_NOT_CAPABLE => 'DB backend not capable',
+ DB_ERROR_NOT_FOUND => 'ไม่พบ',
+ DB_ERROR_NOT_LOCKED => 'ไม่ได้ล๊อ�',
+ DB_ERROR_SYNTAX => 'ผิด syntax',
+ DB_ERROR_UNSUPPORTED => 'ไม่ support',
+ DB_ERROR_VALUE_COUNT_ON_ROW => 'value count on row',
+ DB_ERROR_INVALID_DSN => 'invalid DSN',
+ DB_ERROR_CONNECT_FAILED => 'ไม่สามารถ connect',
+ 0 => 'no error', // DB_OK
+ DB_ERROR_NEED_MORE_DATA => 'ข้อมูลไม่เพียงพอ',
+ DB_ERROR_EXTENSION_NOT_FOUND=> 'ไม่พบ extension',
+ DB_ERROR_NOSUCHDB => 'ไม่มีข้อมูลนี้',
+ DB_ERROR_ACCESS_VIOLATION => 'permissions ไม่พอ'
+);
+?>
View
2  mod/chat/gui_header_js/chatinput.php
@@ -53,7 +53,7 @@ function enableForm() {
onsubmit="return empty_field_and_submit()" style="margin:0">
<input type="text" id="input_chat_message" name="chat_message" size="50" value="" />
<?php helpbutton('chatting', get_string('helpchatting', 'chat'), 'chat', true, false); ?><br />
- <input type="checkbox" id="auto" size="50" value="" checked /><?php echo get_string('autoscroll', 'chat');?>
+ <input type="checkbox" id="auto" size="50" value="" checked='true' /><?php echo get_string('autoscroll', 'chat');?>
</form>
<form action="insert.php" method="post" target="empty" id="sendForm">
View
7 mod/chat/gui_header_js/jsupdate.php
@@ -141,8 +141,11 @@
}
}
?>
- if(parent.msg && parent.input.document.getElementById('auto').checked){
- parent.msg.scroll(1,5000000);
+ if(parent.input){
+ var autoscroll = parent.input.document.getElementById('auto');
+ if(parent.msg && autoscroll && autoscroll.checked){
+ parent.msg.scroll(1,5000000);
+ }
}
//]]>
</script>
View
371 theme/standard/rtl.css
@@ -0,0 +1,371 @@
+/*******************************************************************
+ rtl.css
+
+ This CSS file contains all layout definitions that are required for
+ right-to-left languages. It overrides definitions in other fils to
+ move right-floating blocks to the left, align text to the right,
+ swap left and right margins, etc.
+
+ *******************************************************************/
+
+body, td, li, div {
+ direction: rtl;
+}
+
+/* required for chat windows */
+
+.ltr-input {
+ direction: ltr;
+}
+
+/* for input that require LTR, e.g. filenames or URLs */
+
+.headermain, h1.headermain {
+ float: right;
+}
+
+.headermenu {
+ float: left;
+ text-align: left;
+}
+
+.navbar .breadcrumb {
+ float: right;
+}
+
+.breadcrumb {
+ padding-left: 0px;
+ padding-right: 3px;
+}
+
+.navbar .navbutton, .navbar .menu {
+ float: left;
+}
+
+.navbar .navbutton {
+ padding-left: 3px;
+ padding-right: 0px;
+}
+
+.navbar {
+ margin-left: 5px;
+ margin-right: 0px;
+}
+
+/* login window */
+
+.loginbox.twocolumns .signuppanel {
+ float: left;
+}
+
+.loginbox.twocolumns .loginpanel {
+ float: right;
+}
+
+.loginbox .loginform .form-label {
+ float: right;
+ text-align: left;
+}
+
+.loginbox .loginform .form-input {
+ float: left;
+}
+
+.loginbox .loginform {
+ text-align: right;
+}
+
+.loginbox .signuppanel .subcontent {
+ text-align: right;
+}
+
+.calendar-controls .previous, .calendar-controls .current, .calendar-controls .next {
+ float: right;
+}
+
+.coursebox .summary {
+ float: left;
+ text-align: right;
+}
+
+.coursebox .info {
+ float: right;
+ text-align: right;
+}
+
+.calendar-controls .previous {
+ text-align: right;
+}
+
+.calendar-controls .next {
+ text-align: left;
+}
+
+.reportlink {
+ text-align: left;
+}
+
+form.mform fieldset legend {
+ margin-left: 0px;
+ margin-right: 0.5em;
+}
+
+form.mform div.felement, form.mform fieldset.felement {
+ margin: 5px 10pt 0pt 0px;
+}
+
+form.mform .fitemtitle {
+ margin: 5px 10pt 0pt 0px;
+}
+
+form.mform fieldset .advancedbutton {
+ text-align: left;
+}
+
+form.mform .fdescription.required {
+ text-align: left;
+}
+
+/* language selectors */
+
+#chooselang_jump {
+ direction: ltr;
+}
+
+#id_lang {
+ direction: ltr;
+}
+
+/* admin > lang > language pack selection */
+
+select#pack {
+ direction: ltr;
+}
+
+select#uninstalllang {
+ direction: ltr;
+}
+
+.mod-forum .indent {
+ margin-right: 30px;
+ margin-left: 0px;
+}
+
+.glossarypost {
+ text-align: right;
+}
+
+h1, h2, h3, h4 {
+ text-align: right;
+ padding-left: 0px;
+ padding-right: 5px;
+}
+
+/* lessons */
+
+.mod-lesson .invisiblefieldset.fieldsetfix tr {
+ text-align: right;
+}
+
+.mod-lesson .contents {
+ text-align: right;
+}
+
+.sideblock .header .hide-show {
+ float: left;
+}
+
+.sideblock .content h3, .sideblock .content h2 {
+ text-align: right;
+}
+
+.sideblock .footer {
+ text-align: right;
+}
+
+/* blocks */
+
+h1.main, h2.main, h3.main, h4.main, h5.main, h6.main {
+ text-align: right;
+}
+
+.entrylowersection .icons, .entrylowersection .ratings {
+ text-align: left;
+ padding-left: 5px;
+ padding-right: 0px;
+}
+
+.block_calendar_upcoming .event .date {
+ text-align: left;
+ direction: ltr;
+}
+
+.block_admin_tree .admintree {
+ text-align: right;
+}
+
+body#admin-blocks table.generaltable th.c0, body#admin-blocks table.generaltable td.c0, body#admin-filters table.generaltable th.c0, body#admin-filters table.generaltable td.c0, body#admin-modules table.generaltable th.c0, body#admin-modules table.generaltable td.c0, body#admin-auth table.generaltable th.c0, body#admin-auth table.generaltable td.c0 {
+ text-align: right;
+}
+
+#mod-chat-gui_header_js-jsupdate
+.chat-event,
+#mod-chat-gui_header_js-jsupdate
+.fdate_time_selector {
+ direction: ltr;
+}
+
+.chat-event .text, .chat-message .text {
+ text-align: right;
+}
+
+/* participants */
+
+body#user-index table#participants td, body#user-index table#participants th {
+ text-align: right;
+}
+
+/* Admin > Security */
+
+#adminsettings label {
+ float: right;
+ text-align: left;
+}
+
+#adminsettings select, #adminsettings input {
+ float: right;
+ margin: 0pt 10pt 0pt 0px;
+}
+
+#adminsettings .description {
+ margin: 0pt 160px 0pt 1em;
+}
+
+#adminsettings .form-group {
+ float: right;
+}
+
+/* Courses backup */
+
+#admin-backup_sche_hour .form-group {
+ direction: ltr;
+ float: right;
+}
+
+/* backup_sche_hour */
+
+form.mform div.felement, form.mform fieldset.felement {
+ float: right;
+ text-align: right;
+ margin-right: 10px;
+ margin-left: 0px;
+}
+
+.que .info {
+ float: right;
+}
+
+.que .prompt {
+ float: right;
+}
+
+.que {
+ text-align: right;
+}
+
+body#mod-quiz-report table#attempts .header {
+ text-align: right;
+}
+
+.logtable th {
+ text-align: right;
+}
+
+form.mform .fitemtitle {
+ float: right;
+ text-align: left;
+ margin-right: 10px;
+ margin-left: 0px;
+}
+
+#course-view .section td.right {
+ border-left-width: 1px;
+ border-left-style: solid;
+ border-right-width: 0px;
+ border-right-style: none;
+}
+
+/* ========================
+ for tabs support
+ ======================== */
+
+.tabrow0 {
+ overflow: auto;
+ PADDING-BOTTOM: 2.75em;
+}
+
+.tabrow0 LI {
+ float: right;
+ MARGIN: 0px;
+ width: 130px;
+ BACKGROUND: url(pix/tab/rtlbg.gif) no-repeat right top;
+}
+
+.tabrow0 A SPAN {
+ padding: 10px 0px 0.35em 0px;
+ BACKGROUND: none;
+}
+
+.tabrow0 A {
+ PADDING-LEFT: 0px !important;
+ MARGIN: 0px;
+ BACKGROUND-IMAGE: none;
+}
+
+.tabrow0 A:hover,
+.tabrow0 A:hover span,
+.tabrow0 .here A:hover,
+.tabrow0 .here A:hover span {
+ BACKGROUND-IMAGE: none
+}
+
+.tabrow0 ul a {
+ PADDING-LEFT: 0px;
+}
+
+UL.tabrow1 {
+ right: 0px;
+ width: 800px;
+
+/* must have absolute width here, otherwise IE makes a total mess */
+ min-width: 100%;
+}
+
+UL.tabrow1 li {
+ float: right;
+}
+
+.tabtree * {
+ width: auto;
+}
+
+/* ========================
+ overrides styles_ie6
+ ======================== */
+
+FORM.mform INPUT {
+ margin-left: 5px !important;
+ margin-right: -5px !important;
+}
+
+/* ========================
+ for htmlarea editor
+ ======================== */
+
+.htmlarea {
+ direction: rtl;
+}
+
+form#adminsettings div.htmlarea {
+ clear: right;
+}
Please sign in to comment.
Something went wrong with that request. Please try again.