Skip to content

Commit a577195

Browse files
authored
Merge pull request #81 from teamssUTXO/main
Update french translations + fix appsettings
2 parents 4f2307a + e15e9f3 commit a577195

4 files changed

Lines changed: 70 additions & 4 deletions

File tree

.github/workflows/manifest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,6 @@ jobs:
3838
with:
3939
default_author: github_actor
4040
add: ./manifest.json # if the working directory is the repo root dir
41-
message: "Update manifest.json"
41+
message: "ci: update manifest.json"
4242
commit: ""
4343
push: true

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@ OPENROUTER_APP_NAME=https://github.com/btcpayserver/btcpayserver
4242

4343
## Usage
4444

45+
**Run from the `Translator/` directory.** All commands below assume your shell's
46+
working directory is `Translator/`:
47+
48+
```bash
49+
cd Translator && dotnet run -- <command>
50+
```
51+
4552
### List Available Languages
4653
```bash
4754
dotnet run -- list-languages
@@ -194,7 +201,7 @@ The tool supports 100+ languages including:
194201
"MaxRetries": 3,
195202
"DelayBetweenRequests": 1000,
196203
"InputFile": "https://raw.githubusercontent.com/btcpayserver/btcpayserver/master/BTCPayServer/Services/Translations.Default.cs",
197-
"OutputDirectory": "translations",
204+
"OutputDirectory": "../translations",
198205
"BTCPayUrl": ""
199206
}
200207
}

Translator/appsettings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
"BatchSize": 40,
1313
"MaxRetries": 3,
1414
"DelayBetweenRequests": 2000,
15-
"InputFile": "https://raw.githubusercontent.com/btcpayserver/btcpayserver/master/BTCPayServer/Services/Translations.Default.cs",
16-
"OutputDirectory": "translations",
15+
"InputFile": "https://raw.githubusercontent.com/btcpayserver/btcpayserver/master/BTCPayServer/Plugins/Translations/Translations.Default.cs",
16+
"OutputDirectory": "../translations",
1717
"BTCPayUrl": ""
1818
},
1919
"Logging": {

0 commit comments

Comments
 (0)