Skip to content

Commit

Permalink
feat: symlink lsq translations from fr translations (resolves #1990) (#…
Browse files Browse the repository at this point in the history
…2002)

* feat: use symlink for LSQ written translations

* fix: hearth lsq translations missing

* fix: use curly quotes for apostrophe
  • Loading branch information
jobara authored Nov 22, 2023
1 parent ca51c31 commit 86f2aae
Show file tree
Hide file tree
Showing 34 changed files with 140 additions and 2,624 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
/public/storage
/public/robots.txt
/public/sitemap.xml
/resources/lang/lsq
/resources/lang/lsq.json
/resources/lang/vendor/hearth/lsq
/storage/*.key
/vendor
.DS_Store
Expand Down
4 changes: 1 addition & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,7 @@
],
"format": "vendor/bin/pint",
"localize": [
"@php artisan localize en,fr --remove-missing",
"cp -r resources/lang/fr/* resources/lang/lsq",
"cp resources/lang/fr.json resources/lang/lsq.json"
"@php artisan localize en,fr --remove-missing"
],
"test": [
"Composer\\Config::disableProcessTimeout",
Expand Down
3 changes: 3 additions & 0 deletions config/filesystems.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@
public_path('storage') => storage_path('app/public'),
public_path('sitemap.xml') => storage_path('app/public/sitemap.xml'),
public_path('robots.txt') => storage_path('app/public/robots.txt'),
lang_path('lsq') => lang_path('fr'),
lang_path('lsq.json') => lang_path('fr.json'),
lang_path('vendor/hearth/lsq') => lang_path('vendor/hearth/fr'),
],

];
2,012 changes: 0 additions & 2,012 deletions resources/lang/lsq.json

This file was deleted.

6 changes: 0 additions & 6 deletions resources/lang/lsq/app.php

This file was deleted.

20 changes: 0 additions & 20 deletions resources/lang/lsq/auth.php

This file was deleted.

28 changes: 0 additions & 28 deletions resources/lang/lsq/forms.php

This file was deleted.

22 changes: 0 additions & 22 deletions resources/lang/lsq/invitation.php

This file was deleted.

6 changes: 0 additions & 6 deletions resources/lang/lsq/languages.php

This file was deleted.

6 changes: 0 additions & 6 deletions resources/lang/lsq/locales.php

This file was deleted.

8 changes: 0 additions & 8 deletions resources/lang/lsq/mail.php

This file was deleted.

8 changes: 0 additions & 8 deletions resources/lang/lsq/membership.php

This file was deleted.

38 changes: 0 additions & 38 deletions resources/lang/lsq/organization.php

This file was deleted.

19 changes: 0 additions & 19 deletions resources/lang/lsq/pagination.php

This file was deleted.

14 changes: 0 additions & 14 deletions resources/lang/lsq/project.php

This file was deleted.

10 changes: 0 additions & 10 deletions resources/lang/lsq/regulated-organization.php

This file was deleted.

19 changes: 0 additions & 19 deletions resources/lang/lsq/resource-collection.php

This file was deleted.

12 changes: 0 additions & 12 deletions resources/lang/lsq/resource-select.php

This file was deleted.

7 changes: 0 additions & 7 deletions resources/lang/lsq/roles.php

This file was deleted.

Loading

0 comments on commit 86f2aae

Please sign in to comment.