Closed sirthegamercoder closed 4 months ago
Awesome thanks for your translation.
I will review it soon.
I can fix the format for you, but it would then happen outside of this pull request. If you want your commit in the Klecks history and you're interested in learning you can also make these adjustments.
JSON5 is essentially a less strict JSON that can look closer to JavaScript. JSON is also valid JSON5.
For translations to work in Klecks there is a certain process to follow. It requires node to be installed so you can run npm commands in the terminal.
npm i
npm run lang:add id
id.json5
in /src/languages/
It will look like this:
Then all you do is replace the values with your translation.
You can even test out your translation, by starting Klecks locally with the following commands:
npm run lang:build
npm start
If that sounds too much, I can take care of the format.
I went over it and made a few adjustments. I will close this MR and will release it shortly. Please let me know if my adjustments are flawed. Here is the list of adjusted translations:
// shortened a bit
'layers-blending': {
hint: 'Common feature in image editing & drawing software. All layers-blend- keys relate to this. https://en.wikipedia.org/wiki/Blend_modes',
original: 'Blending',
value: 'Campuran'
},
// aligned naming with other software
'layers-blend-normal': {
original: 'normal',
value: 'normal'
},
'layers-blend-darken': {
original: 'darken',
value: 'gelapkan'
},
'layers-blend-multiply': {
original: 'multiply',
value: 'gandakan'
},
'layers-blend-color-burn': {
original: 'color burn',
value: 'burn warna'
},
'layers-blend-lighten': {
original: 'lighten',
value: 'cerahkan'
},
'layers-blend-color-dodge': {
original: 'color dodge',
value: 'dodge warna'
},
'layers-blend-overlay': {
original: 'overlay',
value: 'overlay'
},
'layers-blend-exclusion': {
original: 'exclusion',
value: 'pengecualian'
},
'layers-blend-saturation': {
original: 'saturation',
value: 'saturasi'
},
'layers-blend-luminosity': {
original: 'luminosity',
value: 'kilau'
},
// shortened a bit, because there's not much space.
'file-no-autosave': {
hint: "let user know they can't autosave, and there's no cloud storage. Keep short so fits on one line",
original: 'No autosave, no cloud storage',
value: 'Tidak ada autosave, tidak ada cloud'
},
// fixed typo
'save-reminder-psd-layers': {
original: 'PSD will remember all layers.',
value: 'PSD akan mengingat semua lapisan.'
},
// was empty
'x-minutes': {
original: '{x}min',
value: '{x} menit'
}
Again thanks for your contribution!
I added a translation of Indonesian These words have been translated by me
(sorry the file format is JSON not JSON5 because I am still a beginner so i can't make JSON5)