Changeset 246
- Timestamp:
- 06/28/05 03:54:03 (8 years ago)
- Location:
- trunk
- Files:
-
- 3 modified
-
lang/fr.js (modified) (2 diffs)
-
popups/insert_image.html (modified) (4 diffs)
-
popups/insert_table.html (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lang/fr.js
r187 r246 113 113 "Cell padding:": "Marge interne", 114 114 "Space between content and border in cell": "Espace entre le contenu et la bordure d'une cellule", 115 "You must enter a number of rows": "Vous devez entrez le nombre de lignes", 116 "You must enter a number of columns": "Vous devez entrer le nombre de colonnes", 115 117 116 118 // Insert Image … … 123 125 "For browsers that don't support images": "Pour les navigateurs qui ne supportent pas les images", 124 126 "Positioning of this image": "Position de l'image", 125 "Image Preview:": "Prévisualisation" 127 "Image Preview:": "Prévisualisation", 128 "You must enter the URL": "Vous devez entrer l'URL" 126 129 } -
trunk/popups/insert_image.html
r239 r246 11 11 window.resizeTo(400, 100); 12 12 13 HTMLArea = window.opener.HTMLArea; 14 function i18n(str) { 15 return (HTMLArea._lc(str, 'HTMLArea')); 16 }; 17 13 18 function Init() { 14 19 __dlg_translate('HTMLArea'); 15 20 __dlg_init(); 21 // Make sure the translated string appears in the drop down. (for gecko) 22 document.getElementById("f_align").selectedIndex = 1; 23 document.getElementById("f_align").selectedIndex = 5; 16 24 var param = window.dialogArguments; 17 25 if (param) { … … 29 37 function onOK() { 30 38 var required = { 31 "f_url": "You must enter the URL"39 "f_url": i18n("You must enter the URL") 32 40 }; 33 41 for (var i in required) { … … 61 69 var url = f_url.value; 62 70 if (!url) { 63 alert( "You have to enter an URL first");71 alert(i18n("You must enter the URL")); 64 72 f_url.focus(); 65 73 return false; … … 151 159 <tr> 152 160 <td valign="bottom"> 153 Image Preview:<br />161 <div class="fr">Image Preview:</div> 154 162 <iframe name="ipreview" id="ipreview" frameborder="0" style="border : 1px solid gray;" height="200" width="300" src=""></iframe> 155 163 </td> -
trunk/popups/insert_table.html
r239 r246 11 11 window.resizeTo(400, 100); 12 12 13 HTMLArea = window.opener.HTMLArea; 14 function i18n(str) { 15 return (HTMLArea._lc(str, 'HTMLArea')); 16 }; 17 13 18 function Init() { 14 19 HTMLArea = window.opener.HTMLArea; // load the HTMLArea plugin and lang file 15 20 __dlg_translate('HTMLArea'); 16 21 __dlg_init(); 22 // Make sure the translated string appears in the drop down. (for gecko) 23 document.getElementById("f_unit").selectedIndex = 1; 24 document.getElementById("f_unit").selectedIndex = 0; 25 document.getElementById("f_align").selectedIndex = 1; 26 document.getElementById("f_align").selectedIndex = 0; 17 27 document.getElementById("f_rows").focus(); 18 28 }; … … 20 30 function onOK() { 21 31 var required = { 22 "f_rows": "You must enter a number of rows",23 "f_cols": "You must enter a number of columns"32 "f_rows": i18n("You must enter a number of rows"), 33 "f_cols": i18n("You must enter a number of columns") 24 34 }; 25 35 for (var i in required) {
