|
| 1 | +// Attribution: Translated by Oliver Geer with some help from English Wiktionary |
| 2 | +let findAndReplaceTranslations = { |
| 3 | + start: "Buscar términos en su código.", |
| 4 | + none: "No hay sucesos", |
| 5 | + oneFound: "1 suceso encontrado.", |
| 6 | + matchIndex: (index, count) => `${index} de ${count} sucesos.`, |
| 7 | + error: (message) => `Error: ${message}`, |
| 8 | + infiniteLoopError: "Causa un ciclo infinito", |
| 9 | + closeDialog: "Cerrar el Diálogo y Regresar al Editor", |
| 10 | + findPlaceholder: "Buscar", |
| 11 | + findCaseSensitive: "Prestar atención a las minúsculas/mayúsculas", |
| 12 | + findRegExp: "Utilizar expresión regular de JavaScript", |
| 13 | + replaceTitle: "Reemplazar", |
| 14 | + replacePlaceholder: "Reemplazar con", |
| 15 | + findNext: "Buscar Suceso Próximo", |
| 16 | + findPrevious: "Buscar Suceso Previo", |
| 17 | + replaceActionShort: "Reemplazar", |
| 18 | + replaceAction: "Reemplazar este Suceso", |
| 19 | + replaceAllActionShort: "Reemplazar Todos", |
| 20 | + replaceAllAction: "Reemplazar Todos los Sucesos" |
| 21 | +}; |
| 22 | +let goToLineTranslations = { |
| 23 | + closeDialog: "Cerrar el Diálogo y Regresar al Editor", |
| 24 | + input: "Línea:Columno o Línea luego Retorno", |
| 25 | + guidanceFormat: "Formato incorrecto. Ingresa un número de línea (por ej. 1) o un número de línea luego dos puntos luego un número de columno (por ej. 1:3).", |
| 26 | + guidanceLineRange: (current, max) => `Número de línea (actualmente ${current}) debería ser entre 1 y ${max}.`, |
| 27 | + guidanceColumnRange: (line, current, max) => `En la línea número ${line}, número de columno (actualmente ${current}) debería ser entre 1 y ${max}.`, |
| 28 | + guidanceValidLine: (line) => `Tecla Retorno para ir a línea número ${line}.`, |
| 29 | + guidanceValidColumn: (line, column) => `Tecla Retorno para ir a línea número ${line}, columno número ${column}.`, |
| 30 | + }; |
| 31 | + let indentTranslations = { |
| 32 | + tabForIndentation: "Tabulador y Mayús-Tabulador actualmente para la indentación. Tecla Escape para activar la navegación por el teclado.", |
| 33 | + tabForNavigation: "Tabulador y Mayús-Tabulador actualmente para la navegación por el teclado. Tecla para activar la indentación.", |
| 34 | +}; |
| 35 | + |
| 36 | +rtl = `# ערך מומלץ ערך מומלץ |
| 37 | +
|
| 38 | +**לוטרת** הים היא יונק ימי קטן יחסית, חבר במשפחת הסמורים, שחי לחופיו הצפוניים והמזרחיים של האוקיינוס השקט. |
| 39 | +
|
| 40 | +ההגנה מפני קור אצל לוטרת הים מבוססת על שכבה עבה של פרווה, שהיא מהצפופות בעולם החי, |
| 41 | +וזאת בשונה ממרבית היונקים הימיים הנסמכים על שכבת שומן. CC-BY-SA he.wikipedia.org אף שהיא מסוגלת להלך על היבשה, מבלה לוטרת הים את מרבית זמנה באוקיינוס הפתוח. |
| 42 | +
|
| 43 | +# مقالة اليوم المختارة |
| 44 | +
|
| 45 | +**الواقعية في الأدب الإسبا**ني هي حركة أدبية شكلت جزءًا من الواقعية، وهو تيار ثقافي ظهر في أوروبا في منتصف القرن التاسع عشر عقب اضمحلال اتجاهات الرومانسية. |
| 46 | +
|
| 47 | +ظهر سابقًا في فرنسا سنة 1850 حيث تطورت أصوله التي كانت موجودة بالفعل في الرومانسية، وخصوصًا في الأدب الذي يتناول العادات والتقاليد. CC-BY-SA ar.wikipedia.org التي كانت تعج بكل ما هو خيالي وجمالي خلاب، وعمدوا إلى الملاحظة الموضوعية للأشخاص والمجتمع والأحداث المعاصرة في محاولة منهم إلى تقديم صورة واضحة للمجتمع آنذاك.`; |
| 48 | + ltr = `# From today's featured article |
| 49 | +
|
| 50 | +CC-BY-SA en.wikipedia.org: History is the systematic study of the past with its main focus on the human past. |
| 51 | +
|
| 52 | +Historians analyse and interpret primary and secondary sources to construct narratives about what happened and explain why it happened. RTL: مقالة اليوم المختارة They engage in source criticism to assess the authenticity, content, and reliability of these sources. |
| 53 | +
|
| 54 | +# निर्वाचित लेख |
| 55 | +
|
| 56 | +CC-BY-SA hi.wikipedia.org: **ग्लेशियर नेशनल पार्क** अमेरिकी राष्ट्रीय उद्यान है, जो कि कनाडा-संयुक्त राज्य अमेरिका की सीमा पर स्थित है। उद्यान संयुक्त राज्य के उत्तर-पश्चिमी मोंटाना राज्य |
| 57 | +
|
| 58 | +में स्थित है और कनाडा की ओर अल्बर्टा और ब्रिटिश कोलम्बिया प्रांतों से सटा हुआ है। उद्यान दस लाख एकड़ RTL: ערך מומלץ ערך מומלץ (4,000 किमी2) से अधिक क्षेत्र में फैला हुआ है और इसमें दो पर्वत श्रृंखला (रॉकी पर्वत की उप-श्रेणियाँ), 130 से अधिक नामित झीलें...`; |
| 59 | +const elems = document.querySelectorAll("body > code-input, body > textarea"); |
| 60 | +for(let i = 0; i < elems.length; i++) { |
| 61 | + let dir = elems[i].getAttribute("dir"); |
| 62 | + if(dir == "rtl") elems[i].value = rtl; |
| 63 | + else elems[i].value = ltr; |
| 64 | +} |
0 commit comments