-
-
Notifications
You must be signed in to change notification settings - Fork 662
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor translations #3441
Refactor translations #3441
Conversation
jaapmarcus
commented
Apr 5, 2023
•
edited
edited
- Add support for basic "White label" Add White label options to Hestia CP #2493
- Replace for example "ACCOUNT_READY" With the current translation. We might want to tweak them
- Updated translations where English was different from source for example: Editing web domain replaced by Edit web domain
- Dropped .mo for English
- From email and name are changeable by user via settings (Form doesn't exists yet)
- Removed all "Hestia Control Panel" text with %s. Except on /edit/server. There it is converted to hardcoded
- Option to hide docs
- Allow user to use custom templates for email (Fully editable and available in any supported languages
- Change / Update Subject of said emails
- Alter / change title
ad4c835
to
5942480
Compare
@jaapmarcus Do we have an ETA? |
33a8d07
to
00d6885
Compare
bf151a1
to
c944a1d
Compare
c944a1d
to
a622f4d
Compare
Have decided to drop "logo" changing / update support. The system I implemented was not great and still had issues. PR will very soon a merge hell and it would be useful to allow the "community" to start on translation work... |
@jaapmarcus Request hold on the merge. After reviewing all changes, some typos and missing strings were found. If you accept, I'll make a PR to the "refactor-translation-strings" branch by next week, agree? |
Please go ahead :) |
- Refactor translations - Add support for Whitelabeling (Logo's will come in other PR) - Add support for changing email templates - Removed copy javascript email credentials to hidden input.
44a25b8
to
f6765b9
Compare
Fix: php error Undefined variable $error Remove: Undefined variable $v_record_id Remove: Undefined variable $status Also removed unused from form: murmur hasn't been used for a long time...
c7ddb97
to
6e0f7ba
Compare
Allows translators to format Every 2 days. For month tab replace: "Date" with "Day"
Will merge it "tomorrow" and prepare https://translate.hestiacp.com/projects/hestiacp-1.8/ to be translated |
Still have to wait... After testing the scan, it looks like there are still a lot of strings that need to be cleaned up. |
The main issue for now any changes in the main branch on the "Web" page will cause merge conflict hell .. Really want to prevent this kind of *** if possible. Have synced up the current .pot file with https://translate.hestiacp.com/projects/hestiacp-1.8/ |
I'll finish it ASAP... |
@jaapmarcus #3523 is ready to merge. I noticed a lot of strings on GlotPress link to legacy "*.html" templates. Seems like you need to clean up your dev machine before scanning. |
* Another fixes to "Refactor translations" * Final adjustments * Fix syntax error * Revert wrong changes * Revert "Revert wrong changes" This reverts commit 4e45424. * Convert {text} to <b>text</b> Also remove hardcode color from template in add access key * Fix typos --------- Co-authored-by: Jaap Marcus <9754650+jaapmarcus@users.noreply.github.com>