[PR #234] [MERGED] Setup for translations #5614

Closed
opened 2026-02-05 10:12:21 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/BookStackApp/BookStack/pull/234
Author: @ssddanbrown
Created: 11/13/2016
Status: Merged
Merged: 12/31/2016
Merged by: @ssddanbrown

Base: masterHead: translations


📝 Commits (10+)

  • 694a945 Moved text from auth views into lang files
  • 57dc53c Extracted text from book & chapter views
  • 066adf3 Moved text for errors and form views.
  • 96075de Extracted text from page views & standardised breadcrumbs
  • 0775cd0 Extracted text for remaining views
  • 573357a Extracted text from logic files
  • 08c4b9a Standardised JS vars and imports/exports
  • 242dc21 Converted toggle switch into a blade/jquery template
  • 05316c9 converted image picker to blade-based component
  • c9700e3 Created solution for JS translations

📊 Changes

137 files changed (+1841 additions, -1229 deletions)

View changed files

📝 app/Http/Controllers/AttachmentController.php (+5 -5)
📝 app/Http/Controllers/Auth/ForgotPasswordController.php (+1 -1)
📝 app/Http/Controllers/Auth/LoginController.php (+1 -1)
📝 app/Http/Controllers/Auth/RegisterController.php (+5 -4)
📝 app/Http/Controllers/Auth/ResetPasswordController.php (+1 -1)
📝 app/Http/Controllers/BookController.php (+6 -5)
📝 app/Http/Controllers/ChapterController.php (+8 -7)
📝 app/Http/Controllers/HomeController.php (+35 -0)
📝 app/Http/Controllers/ImageController.php (+2 -1)
📝 app/Http/Controllers/PageController.php (+19 -17)
📝 app/Http/Controllers/PermissionController.php (+5 -7)
📝 app/Http/Controllers/SearchController.php (+8 -12)
📝 app/Http/Controllers/SettingController.php (+2 -3)
📝 app/Http/Controllers/TagController.php (+4 -21)
📝 app/Http/Controllers/UserController.php (+7 -10)
📝 app/Notifications/ResetPassword.php (+4 -3)
📝 app/Repos/BookRepo.php (+1 -1)
📝 app/Repos/ChapterRepo.php (+1 -1)
📝 app/Repos/PageRepo.php (+11 -13)
📝 app/Repos/PermissionsRepo.php (+2 -2)

...and 80 more files

📄 Description

This pull request is for the work of moving all text into the resources/lang files ready to be translated.

  • Move text from views
  • Move text from controllers
  • Move text from JS files

In reference to #115.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/BookStackApp/BookStack/pull/234 **Author:** [@ssddanbrown](https://github.com/ssddanbrown) **Created:** 11/13/2016 **Status:** ✅ Merged **Merged:** 12/31/2016 **Merged by:** [@ssddanbrown](https://github.com/ssddanbrown) **Base:** `master` ← **Head:** `translations` --- ### 📝 Commits (10+) - [`694a945`](https://github.com/BookStackApp/BookStack/commit/694a9459c1f3d58c7f55b1e2c53121ca08ca963d) Moved text from auth views into lang files - [`57dc53c`](https://github.com/BookStackApp/BookStack/commit/57dc53ceff99e65c726f59c8b14a599878adba59) Extracted text from book & chapter views - [`066adf3`](https://github.com/BookStackApp/BookStack/commit/066adf3cea8eb1886b11d6bb3d5e26f82d373c1a) Moved text for errors and form views. - [`96075de`](https://github.com/BookStackApp/BookStack/commit/96075dee7be755b3e885cb613f90f67952eded85) Extracted text from page views & standardised breadcrumbs - [`0775cd0`](https://github.com/BookStackApp/BookStack/commit/0775cd09a152c6e05c100139812f1fc35cb1ac6a) Extracted text for remaining views - [`573357a`](https://github.com/BookStackApp/BookStack/commit/573357a08cf4a096921b3ce83f1449bd8b80c119) Extracted text from logic files - [`08c4b9a`](https://github.com/BookStackApp/BookStack/commit/08c4b9ac7c56ae34a350643da5d0fada2cbef2cc) Standardised JS vars and imports/exports - [`242dc21`](https://github.com/BookStackApp/BookStack/commit/242dc218764ff502913a99ca1fda0777b0b9ac0f) Converted toggle switch into a blade/jquery template - [`05316c9`](https://github.com/BookStackApp/BookStack/commit/05316c90baac1a1d0d9719d976eb4f19511dc023) converted image picker to blade-based component - [`c9700e3`](https://github.com/BookStackApp/BookStack/commit/c9700e38e2adc5c5a1e7a44e69f58b7827983885) Created solution for JS translations ### 📊 Changes **137 files changed** (+1841 additions, -1229 deletions) <details> <summary>View changed files</summary> 📝 `app/Http/Controllers/AttachmentController.php` (+5 -5) 📝 `app/Http/Controllers/Auth/ForgotPasswordController.php` (+1 -1) 📝 `app/Http/Controllers/Auth/LoginController.php` (+1 -1) 📝 `app/Http/Controllers/Auth/RegisterController.php` (+5 -4) 📝 `app/Http/Controllers/Auth/ResetPasswordController.php` (+1 -1) 📝 `app/Http/Controllers/BookController.php` (+6 -5) 📝 `app/Http/Controllers/ChapterController.php` (+8 -7) 📝 `app/Http/Controllers/HomeController.php` (+35 -0) 📝 `app/Http/Controllers/ImageController.php` (+2 -1) 📝 `app/Http/Controllers/PageController.php` (+19 -17) 📝 `app/Http/Controllers/PermissionController.php` (+5 -7) 📝 `app/Http/Controllers/SearchController.php` (+8 -12) 📝 `app/Http/Controllers/SettingController.php` (+2 -3) 📝 `app/Http/Controllers/TagController.php` (+4 -21) 📝 `app/Http/Controllers/UserController.php` (+7 -10) 📝 `app/Notifications/ResetPassword.php` (+4 -3) 📝 `app/Repos/BookRepo.php` (+1 -1) 📝 `app/Repos/ChapterRepo.php` (+1 -1) 📝 `app/Repos/PageRepo.php` (+11 -13) 📝 `app/Repos/PermissionsRepo.php` (+2 -2) _...and 80 more files_ </details> ### 📄 Description This pull request is for the work of moving all text into the `resources/lang` files ready to be translated. - [x] Move text from views - [x] Move text from controllers - [x] Move text from JS files In reference to #115. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 10:12:21 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#5614