Skip to content

Commit c50b45f

Browse files
committed
fix: strings
1 parent 7522879 commit c50b45f

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/scripts/download-translations.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ async function downloadTranslations() {
4646
const translations = downloadResponse.data;
4747
console.log(`Downloaded translations for ${language}`);
4848

49-
// POEditor'den dönen veri formatını kontrol et ve gerekirse dönüştür
49+
// Check the format of data returned from POEditor and convert if necessary
5050
let formattedTranslations = translations;
5151

52-
// Eğer dizi formatında geldiyse, key-value formatına dönüştür
52+
// If data is in array format, convert it to key-value format
5353
if (Array.isArray(translations)) {
5454
console.log(`Converting array format to key-value format for ${language}`);
5555
formattedTranslations = {};

.github/workflows/poeditor-sync.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ jobs:
3939
{
4040
"name": "poeditor-scripts",
4141
"version": "1.0.0",
42-
"type": "module",
4342
"private": true,
4443
"dependencies": {
4544
"axios": "^1.6.0",
@@ -57,7 +56,7 @@ jobs:
5756
env:
5857
POEDITOR_API_TOKEN: ${{ secrets.POEDITOR_API_TOKEN }}
5958
POEDITOR_PROJECT_ID: ${{ secrets.POEDITOR_PROJECT_ID }}
60-
LANGUAGES: ${{ github.event.inputs.languages || 'tr,gb' }}
59+
LANGUAGES: ${{ github.event.inputs.languages || 'tr,en' }}
6160
EXPORT_FORMAT: ${{ github.event.inputs.format || 'key_value_json' }}
6261
run: |
6362
mkdir -p temp

0 commit comments

Comments
 (0)