Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches: [ main ]
paths:
- 'Translator/translations/**/*.json'
- 'translations/**/*.json'
workflow_dispatch:

permissions:
Expand Down
4 changes: 4 additions & 0 deletions BTCPayTranslator.slnx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
<Folder Name="/Misc/">
<File Path="README.md" />
<File Path=".github/workflows/tests.yml" />
<File Path=".github/workflows/manifest.yml" />
</Folder>
<Folder Name="/translations/">
<File Path="translations/**" />
</Folder>
<Project Path="Translator.Tests/BTCPayTranslator.Tests.csproj" />
<Project Path="Translator/BTCPayTranslator.csproj" />
Expand Down
4 changes: 2 additions & 2 deletions Translator/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -501,12 +501,12 @@ private static Command CreateValidatePacksCommand(ServiceProvider serviceProvide
private static Command CreateGenerateManifestCommand(ServiceProvider serviceProvider)
{
var projectDirectory = ResolveProjectDirectory();
var defaultTranslationPath = Path.Combine(projectDirectory, "translations");
var defaultTranslationPath = Path.Combine(projectDirectory, "..", "translations");
var defaultManifestPath = Path.Combine(projectDirectory, "..", "manifest.json");

var translationPathOption = new Option<string>(
"--translation-path",
"Path to the translations folder. Defaults to <repo-root>/Translator/translations.")
"Path to the translations folder. Defaults to <repo-root>/translations.")
{
IsRequired = false
};
Expand Down
1 change: 0 additions & 1 deletion Translator/translations

This file was deleted.

14 changes: 12 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
"Name": "French",
"Native": "Français",
"File": "translations/french.json",
"Sha": "178695b65cabc42b2b714070fc6d2fa61c5152a7f3df1ea9cb403982de215bba",
"Sha": "2f7e4d3df7378cdc3c0e2218d1caf32704eab14559820bcbd7a8954a19f9e00c",
"Maintainer": "teamssUTXO|https://github.com/teamssUTXO",
"Updated": "2026-04-29T21:26:25Z"
"Updated": "2026-05-05T18:33:24Z"
},
{
"Code": "de",
Expand Down Expand Up @@ -100,6 +100,16 @@
"Maintainer": "thgO-O|https://github.com/thgO-O",
"Updated": "2026-05-01T08:45:19Z"
},
{
"Code": "ro",
"Bcp47": "ro",
"Name": "Romanian",
"Native": "Română",
"File": "translations/romanian.json",
"Sha": "fc81a3f301d30a5889e7934dc2549679438beafc58acb4e0a7a9b0e9f08d20fc",
"Maintainer": null,
"Updated": "2026-05-05T17:52:06Z"
},
{
"Code": "ru",
"Bcp47": "ru-RU",
Expand Down
2 changes: 1 addition & 1 deletion translations/french.json
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@
"Consider the invoice paid even if the paid amount is … % less than expected": "Considérer la facture comme payée même si le montant payé est … % inférieur au montant attendu",
"Consider the invoice settled when the payment transaction …": "Considérer la facture comme réglée lorsque la transaction de paiement …",
"Constant": "Constante",
"Constraints do not match any installed camera.": "Les contraintes ne correspondent à aucune caméra installée.",
"Constraints do not match any installed camera.": "Aucune caméra ne satisfait les contraintes spécifiées.",
"Contact URL": "URL de contact",
"Contact Us": "Contactez-nous",
"Container Name": "Nom du conteneur",
Expand Down
Loading