<commit_before>/**
 * We need extra translations for the following strings that aren't included on
 * translate.scratch.mit.edu:
 *
 *  - 'turn left 10 degrees'
 *  - 'turn right 10 degrees'
 *  - 'when green flag clicked'
 *  - 'end' (written after a 'C' block)
 */

module.exports = {
  de: {
    // German
    "drehe dich nach links um %1 Grad": "MOTION_TURNLEFT",
    "drehe dich nach rechts um %1 Grad": "MOTION_TURNRIGHT",
    "Wenn die grüne Flagge angeklickt": "EVENT_WHENFLAGCLICKED",
    Ende: "scratchblocks:end",
  },

  pt: {
    // Portugese
    "gira para a esquerda %1 º": "MOTION_TURNLEFT",
    "gira para a direita %1 º": "MOTION_TURNRIGHT",
    "Quando alguém clicar na bandeira verde": "EVENT_WHENFLAGCLICKED",
    fim: "scratchblocks:end",
  },

  it: {
    // Italian
    "ruota in senso antiorario di %1 gradi": "MOTION_TURNLEFT",
    "ruota in senso orario di %1 gradi": "MOTION_TURNRIGHT",
    "quando si clicca sulla bandiera verde": "EVENT_WHENFLAGCLICKED",
    fine: "scratchblocks:end",
  },

  fr: {
    // French
    "tourner gauche de %1 degrés": "MOTION_TURNLEFT",
    "tourner droite de %1 degrés": "MOTION_TURNRIGHT",
    "quand le drapeau vert pressé": "EVENT_WHENFLAGCLICKED",
    fin: "scratchblocks:end",
  },

  gd: {
    // Scottish Gaelic
    "cuairtich @turnLeft le %1 ceum": "MOTION_TURNLEFT",
    "cuairtich @turnRight le %1 ceum": "MOTION_TURNRIGHT",
    "le briogadh air @greenFlag": "EVENT_WHENFLAGCLICKED",
    deireadh: "scratchblocks:end",
  },

  es: {
    // Spanish
    "girar a la izquierda %1 grados": "MOTION_TURNLEFT",
    "girar a la derecha %1 grados": "MOTION_TURNRIGHT",
    "al presionar bandera verde": "EVENT_WHENFLAGCLICKED",
    fin: "scratchblocks:end",
  },

  nl: {
    // Dutch
    "draai %1 graden naar links": "MOTION_TURNLEFT",
    "draai %1 graden naar rechts": "MOTION_TURNRIGHT",
    "wanneer groene vlag wordt aangeklikt": "EVENT_WHENFLAGCLICKED",
    einde: "scratchblocks:end",
  },

  "zh-cn": {
    // Chinese (simplified)
    "左转 %1 度": "MOTION_TURNLEFT",
    "右转 %1 度": "MOTION_TURNRIGHT",
    点击绿旗时: "EVENT_WHENFLAGCLICKED",
    结束: "scratchblocks:end",
  },

  "zh-tw": {
    // Chinese (traditional)
    "左轉 %1 度": "MOTION_TURNLEFT",
    "右轉 %1 度": "MOTION_TURNRIGHT",
    當綠旗被點擊時: "EVENT_WHENFLAGCLICKED",
    結束: "scratchblocks:end",
  },

  he: {
    // Hebrew
    "הסתובב שמאל %1 מעלות": "MOTION_TURNLEFT",
    "הסתובב ימינה %1 מעלות": "MOTION_TURNRIGHT",
    "כאשר לוחצים על דגל ירוק": "EVENT_WHENFLAGCLICKED",
    סוף: "scratchblocks:end",
  },

  pl: {
    // Polish
    "obróć w lewo o %1 stopni": "MOTION_TURNLEFT",
    "obróć w prawo o %1 stopni": "MOTION_TURNRIGHT",
    "kiedy kliknięto zieloną flagę": "EVENT_WHENFLAGCLICKED",
    koniec: "scratchblocks:end",
  },

  nb: {
    // Norwegian
    "vend venstre %1 grader": "MOTION_TURNLEFT",
    "vend høyre %1 grader": "MOTION_TURNRIGHT",
    "når grønt flagg klikkes": "EVENT_WHENFLAGCLICKED",
    slutt: "scratchblocks:end",
  },

  ru: {
    // Russian
    "повернуть влево на %1 градусов": "MOTION_TURNLEFT",
    "повернуть вправо на %1 градусов": "MOTION_TURNRIGHT",
    "когда щёлкнут по зелёному флагу": "EVENT_WHENFLAGCLICKED",
    конец: "scratchblocks:end",
  },

  ca: {
    // Catalan
    "gira a l'esquerra %1 graus": "MOTION_TURNLEFT",
    "gira a la dreta %1 graus": "MOTION_TURNRIGHT",
    "quan la bandera verda es premi": "EVENT_WHENFLAGCLICKED",
    fi: "scratchblocks:end",
  },

  tr: {
    // Turkish
    "_ derece sola dön": "MOTION_TURNLEFT",
    "_ derece sağa dön": "MOTION_TURNRIGHT",
    "_ derece saatin tersi yönde dön": "MOTION_TURNLEFT",
    "_ derece saat yönünde dön": "MOTION_TURNRIGHT",
    "yeşil bayrak tıklandığında": "EVENT_WHENFLAGCLICKED",
    son: "scratchblocks:end",
  },

  el: {
    // Greek
    "στρίψε αριστερά %1 μοίρες": "MOTION_TURNLEFT",
    "στρίψε αριστερόστροφα %1 μοίρες": "MOTION_TURNLEFT",
    "στρίψε δεξιά %1 μοίρες": "MOTION_TURNRIGHT",
    "στρίψε δεξιόστροφα %1 μοίρες": "MOTION_TURNRIGHT",
    "Όταν στην πράσινη σημαία γίνει κλικ": "EVENT_WHENFLAGCLICKED",
    τέλος: "scratchblocks:end",
  },

  cy: {
    // Welsh
    "troi %1 gradd i'r chwith": "MOTION_TURNLEFT",
    "troi %1 gradd i'r dde": "MOTION_TURNRIGHT",
    "pan fo'r flag werdd yn cael ei glicio": "EVENT_WHENFLAGCLICKED",
    diwedd: "scratchblocks:end",
  },

  hi: {
    // Hindi
    "%1 डिग्री से बाएं घूम जाए": "MOTION_TURNLEFT",
    "%1 डिग्री से दाएं घूम जाए": "MOTION_TURNRIGHT",
    "जब झंडे को क्लिक किया गया हो": "EVENT_WHENFLAGCLICKED",
    अंत: "scratchblocks:end",
  },

  ro: {
    // Romanian
    "rotește la stânga %1 grade": "MOTION_TURNLEFT",
    "rotește la dreapta %1 grade": "MOTION_TURNRIGHT",
    "când se face click pe stegulețul verde": "EVENT_WHENFLAGCLICKED",
    terminare: "scratchblocks:end",
  },

  id: {
    // Indonesian
    "putar ke kiri %1 derajat": "MOTION_TURNLEFT",
    "putar ke kanan %1 derajat": "MOTION_TURNRIGHT",
    "ketika bendera hijau diklik": "EVENT_WHENFLAGCLICKED",
    selesai: "scratchblocks:end",
  },

  hr: {
    // Croatian
    "skreni lijevo %1 stupnjeva": "MOTION_TURNLEFT",
    "skreni desno %1 stupnjeva": "MOTION_TURNRIGHT",
    "kada je zelena zastava kliknut": "EVENT_WHENFLAGCLICKED",
    kraj: "scratchblocks:end",
  },

  cs: {
    // Czech
    "otoč se o %1 stupňů doleva": "MOTION_TURNLEFT",
    "otoč se o %1 stupňů doprava": "MOTION_TURNRIGHT",
    "po kliknutí na zelenou vlajku": "EVENT_WHENFLAGCLICKED",
    konec: "scratchblocks:end",
  },

  sl: {
    // Slovenian
    "obrni se za %1 stopinj v levo": "MOTION_TURNLEFT",
    "obrni se za %1 stopinj v desno": "MOTION_TURNRIGHT",
    "ko je kliknjena zelena zastavica": "EVENT_WHENFLAGCLICKED",
    ustavi: "scratchblocks:end",
  },

  fa: {
    // Persian
    "به اندازه %1 درجه به چپ بچرخ": "MOTION_TURNLEFT",
    "به اندازه %1 درجه به راست بچرخ": "MOTION_TURNRIGHT",
    "وقتی که پرچم کلیک شد": "EVENT_WHENFLAGCLICKED",
    آخر: "scratchblocks:end",
  },

  // : { // template
  //   '': 'MOTION_TURNLEFT',
  //   '': 'MOTION_TURNRIGHT',
  //   '': 'EVENT_WHENFLAGCLICKED',
  //   '': 'end',
  // },
}
<commit_msg>Add Japanese aliases<commit_after>/**
 * We need extra translations for the following strings that aren't included on
 * translate.scratch.mit.edu:
 *
 *  - 'turn left 10 degrees'
 *  - 'turn right 10 degrees'
 *  - 'when green flag clicked'
 *  - 'end' (written after a 'C' block)
 */

module.exports = {
  de: {
    // German
    "drehe dich nach links um %1 Grad": "MOTION_TURNLEFT",
    "drehe dich nach rechts um %1 Grad": "MOTION_TURNRIGHT",
    "Wenn die grüne Flagge angeklickt": "EVENT_WHENFLAGCLICKED",
    Ende: "scratchblocks:end",
  },

  pt: {
    // Portugese
    "gira para a esquerda %1 º": "MOTION_TURNLEFT",
    "gira para a direita %1 º": "MOTION_TURNRIGHT",
    "Quando alguém clicar na bandeira verde": "EVENT_WHENFLAGCLICKED",
    fim: "scratchblocks:end",
  },

  it: {
    // Italian
    "ruota in senso antiorario di %1 gradi": "MOTION_TURNLEFT",
    "ruota in senso orario di %1 gradi": "MOTION_TURNRIGHT",
    "quando si clicca sulla bandiera verde": "EVENT_WHENFLAGCLICKED",
    fine: "scratchblocks:end",
  },

  fr: {
    // French
    "tourner gauche de %1 degrés": "MOTION_TURNLEFT",
    "tourner droite de %1 degrés": "MOTION_TURNRIGHT",
    "quand le drapeau vert pressé": "EVENT_WHENFLAGCLICKED",
    fin: "scratchblocks:end",
  },

  gd: {
    // Scottish Gaelic
    "cuairtich @turnLeft le %1 ceum": "MOTION_TURNLEFT",
    "cuairtich @turnRight le %1 ceum": "MOTION_TURNRIGHT",
    "le briogadh air @greenFlag": "EVENT_WHENFLAGCLICKED",
    deireadh: "scratchblocks:end",
  },

  es: {
    // Spanish
    "girar a la izquierda %1 grados": "MOTION_TURNLEFT",
    "girar a la derecha %1 grados": "MOTION_TURNRIGHT",
    "al presionar bandera verde": "EVENT_WHENFLAGCLICKED",
    fin: "scratchblocks:end",
  },

  nl: {
    // Dutch
    "draai %1 graden naar links": "MOTION_TURNLEFT",
    "draai %1 graden naar rechts": "MOTION_TURNRIGHT",
    "wanneer groene vlag wordt aangeklikt": "EVENT_WHENFLAGCLICKED",
    einde: "scratchblocks:end",
  },

  "zh-cn": {
    // Chinese (simplified)
    "左转 %1 度": "MOTION_TURNLEFT",
    "右转 %1 度": "MOTION_TURNRIGHT",
    点击绿旗时: "EVENT_WHENFLAGCLICKED",
    结束: "scratchblocks:end",
  },

  "zh-tw": {
    // Chinese (traditional)
    "左轉 %1 度": "MOTION_TURNLEFT",
    "右轉 %1 度": "MOTION_TURNRIGHT",
    當綠旗被點擊時: "EVENT_WHENFLAGCLICKED",
    結束: "scratchblocks:end",
  },

  he: {
    // Hebrew
    "הסתובב שמאל %1 מעלות": "MOTION_TURNLEFT",
    "הסתובב ימינה %1 מעלות": "MOTION_TURNRIGHT",
    "כאשר לוחצים על דגל ירוק": "EVENT_WHENFLAGCLICKED",
    סוף: "scratchblocks:end",
  },

  pl: {
    // Polish
    "obróć w lewo o %1 stopni": "MOTION_TURNLEFT",
    "obróć w prawo o %1 stopni": "MOTION_TURNRIGHT",
    "kiedy kliknięto zieloną flagę": "EVENT_WHENFLAGCLICKED",
    koniec: "scratchblocks:end",
  },

  nb: {
    // Norwegian
    "vend venstre %1 grader": "MOTION_TURNLEFT",
    "vend høyre %1 grader": "MOTION_TURNRIGHT",
    "når grønt flagg klikkes": "EVENT_WHENFLAGCLICKED",
    slutt: "scratchblocks:end",
  },

  ru: {
    // Russian
    "повернуть влево на %1 градусов": "MOTION_TURNLEFT",
    "повернуть вправо на %1 градусов": "MOTION_TURNRIGHT",
    "когда щёлкнут по зелёному флагу": "EVENT_WHENFLAGCLICKED",
    конец: "scratchblocks:end",
  },

  ca: {
    // Catalan
    "gira a l'esquerra %1 graus": "MOTION_TURNLEFT",
    "gira a la dreta %1 graus": "MOTION_TURNRIGHT",
    "quan la bandera verda es premi": "EVENT_WHENFLAGCLICKED",
    fi: "scratchblocks:end",
  },

  tr: {
    // Turkish
    "_ derece sola dön": "MOTION_TURNLEFT",
    "_ derece sağa dön": "MOTION_TURNRIGHT",
    "_ derece saatin tersi yönde dön": "MOTION_TURNLEFT",
    "_ derece saat yönünde dön": "MOTION_TURNRIGHT",
    "yeşil bayrak tıklandığında": "EVENT_WHENFLAGCLICKED",
    son: "scratchblocks:end",
  },

  el: {
    // Greek
    "στρίψε αριστερά %1 μοίρες": "MOTION_TURNLEFT",
    "στρίψε αριστερόστροφα %1 μοίρες": "MOTION_TURNLEFT",
    "στρίψε δεξιά %1 μοίρες": "MOTION_TURNRIGHT",
    "στρίψε δεξιόστροφα %1 μοίρες": "MOTION_TURNRIGHT",
    "Όταν στην πράσινη σημαία γίνει κλικ": "EVENT_WHENFLAGCLICKED",
    τέλος: "scratchblocks:end",
  },

  cy: {
    // Welsh
    "troi %1 gradd i'r chwith": "MOTION_TURNLEFT",
    "troi %1 gradd i'r dde": "MOTION_TURNRIGHT",
    "pan fo'r flag werdd yn cael ei glicio": "EVENT_WHENFLAGCLICKED",
    diwedd: "scratchblocks:end",
  },

  hi: {
    // Hindi
    "%1 डिग्री से बाएं घूम जाए": "MOTION_TURNLEFT",
    "%1 डिग्री से दाएं घूम जाए": "MOTION_TURNRIGHT",
    "जब झंडे को क्लिक किया गया हो": "EVENT_WHENFLAGCLICKED",
    अंत: "scratchblocks:end",
  },

  ro: {
    // Romanian
    "rotește la stânga %1 grade": "MOTION_TURNLEFT",
    "rotește la dreapta %1 grade": "MOTION_TURNRIGHT",
    "când se face click pe stegulețul verde": "EVENT_WHENFLAGCLICKED",
    terminare: "scratchblocks:end",
  },

  id: {
    // Indonesian
    "putar ke kiri %1 derajat": "MOTION_TURNLEFT",
    "putar ke kanan %1 derajat": "MOTION_TURNRIGHT",
    "ketika bendera hijau diklik": "EVENT_WHENFLAGCLICKED",
    selesai: "scratchblocks:end",
  },

  hr: {
    // Croatian
    "skreni lijevo %1 stupnjeva": "MOTION_TURNLEFT",
    "skreni desno %1 stupnjeva": "MOTION_TURNRIGHT",
    "kada je zelena zastava kliknut": "EVENT_WHENFLAGCLICKED",
    kraj: "scratchblocks:end",
  },

  cs: {
    // Czech
    "otoč se o %1 stupňů doleva": "MOTION_TURNLEFT",
    "otoč se o %1 stupňů doprava": "MOTION_TURNRIGHT",
    "po kliknutí na zelenou vlajku": "EVENT_WHENFLAGCLICKED",
    konec: "scratchblocks:end",
  },

  sl: {
    // Slovenian
    "obrni se za %1 stopinj v levo": "MOTION_TURNLEFT",
    "obrni se za %1 stopinj v desno": "MOTION_TURNRIGHT",
    "ko je kliknjena zelena zastavica": "EVENT_WHENFLAGCLICKED",
    ustavi: "scratchblocks:end",
  },

  fa: {
    // Persian
    "به اندازه %1 درجه به چپ بچرخ": "MOTION_TURNLEFT",
    "به اندازه %1 درجه به راست بچرخ": "MOTION_TURNRIGHT",
    "وقتی که پرچم کلیک شد": "EVENT_WHENFLAGCLICKED",
    آخر: "scratchblocks:end",
  },

  ja: {
    // Japanese
    "左に %1 度回す": "MOTION_TURNLEFT",
    "反時計回りに %1 度回す": "MOTION_TURNLEFT",
    "右に %1 度回す": "MOTION_TURNLEFT",
    "時計回りに %1 度回す": "MOTION_TURNRIGHT",
    緑の旗が押されたとき: "EVENT_WHENFLAGCLICKED",
    緑の旗がクリックされたとき: "EVENT_WHENFLAGCLICKED",
  },

  "ja-Hira": {
    // Japanese (Hiragana)
    "ひだりに %1 どまわす": "MOTION_TURNLEFT",
    "はんとけいまわりに %1 どまわす": "MOTION_TURNLEFT",
    "みぎに %1 どまわす": "MOTION_TURNLEFT",
    "とけいまわりに %1 どまわす": "MOTION_TURNRIGHT",
    みどりのはたがおされたとき: "EVENT_WHENFLAGCLICKED",
    みどりのはたがクリックされたとき: "EVENT_WHENFLAGCLICKED",
  },

  // : { // template
  //   '': 'MOTION_TURNLEFT',
  //   '': 'MOTION_TURNRIGHT',
  //   '': 'EVENT_WHENFLAGCLICKED',
  //   '': 'end',
  // },
}

{'fraction_non_alphanumeric': 0.14559775403571706, 'fraction_numerical': 0.008734305544724324, 'mean_word_length': 3.322210987529491, 'pattern_counts': {'":': 161, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4864914', 'n_tokens_mistral': 6042, 'n_tokens_neox': 5941, 'n_words': 1233}