pschlan / cron-job.org

cron-job.org Open Source project
GNU General Public License v2.0
1.45k stars 251 forks source link

Create translation for Russian language #131

Closed Kutikov closed 2 years ago

Kutikov commented 2 years ago

I can create whole translation for Russian and Ukrainian langs

Kutikov commented 2 years ago

In frontend/locales/loc/translation.json what will I translate in next lines???

"calendarFormat" : {
      "lastDay" : "[Yesterday at] LTS",
      "sameDay" : "[Today at] LTS",
      "nextDay" : "[Tomorrow at] LTS",
      "lastWeek" : "[last] dddd [at] LTS",
      "nextWeek" : "dddd [at] LTS",
      "sameElse" : "L"
    },
Kutikov commented 2 years ago

I think I've done with translating. Not found landing page strings, sorry

pschlan commented 2 years ago

Thanks so much, this is great!

Could you also add ru to statuspage/src/App.jsx?

In frontend/locales/loc/translation.json what will I translate in next lines???

"calendarFormat" : {
      "lastDay" : "[Yesterday at] LTS",
      "sameDay" : "[Today at] LTS",
      "nextDay" : "[Tomorrow at] LTS",
      "lastWeek" : "[last] dddd [at] LTS",
      "nextWeek" : "dddd [at] LTS",
      "sameElse" : "L"
    },

Here, you only need to translate text in square brackets []. The other chars are format specifiers for moment.js, see https://momentjs.com/

Kutikov commented 2 years ago

All done. I've problem with adition due to lack of normal internet in Ukraine. So it is placed in another pull request

pschlan commented 2 years ago

Merged. Thanks again!

pschlan commented 2 years ago

Deployed to prod now 🚀. Thanks again!