-
Notifications
You must be signed in to change notification settings - Fork 74
Internationalisation fixes #1088
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
Closed
Closed
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
d15e7ce
Improved sentence structure for various localised strings.
johnbillion 3f87b15
Echo the text directly instead of unnecessarily assigning to a variab…
johnbillion aa294c2
Add some missing escaping.
johnbillion 9c6efb7
Add some missing i18n.
johnbillion 65501d5
Correct a typo.
johnbillion fda22db
Correct some mis-used i18n function usage.
johnbillion 2f1f5da
Escape once instead of thrice.
johnbillion 538624c
Weekday names are provided by `WP_Locale`.
johnbillion 93c7a40
Add escaping to translations
dashaluna 22515c6
Add escaping to translations
dashaluna 30bc7ce
Merge in latest master and fix conflicts
dashaluna 35c8c61
Remove redundant new lines (introed after merge)
dashaluna fe8b6f2
Fix translations in email services
dashaluna 7199380
Unify email notification format for translation - always append line …
dashaluna d1a87b5
Fix spacing in class-email-service around email messages code
dashaluna File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,16 +10,16 @@ | |
|
|
||
| BackUpWordPress | ||
|
|
||
| <a class="page-title-action" href="https://bwp.hmn.md/" target="_blank">Extensions</a> | ||
| <a class="page-title-action" href="https://bwp.hmn.md/" target="_blank"><?php esc_html_e( 'Extensions', 'backupwordpress' ); ?></a> | ||
|
|
||
| <?php if ( get_option( 'hmbkp_enable_support' ) ) : ?> | ||
|
|
||
| <a id="intercom" class="page-title-action" href="mailto:[email protected]"><?php _e( 'Support', 'backupwordpress' ); ?></a> | ||
|
|
||
| <a id="intercom" class="page-title-action" href="mailto:[email protected]"><?php esc_html_e( 'Support', 'backupwordpress' ); ?></a> | ||
| <?php else : | ||
|
|
||
| add_thickbox(); ?> | ||
| <a id="intercom-info" class="thickbox page-title-action" href="<?php echo esc_url( wp_nonce_url( add_query_arg( array( 'action' => 'load_enable_support', 'width' => '600', 'height' => '420' ), self_admin_url( 'admin-ajax.php' ) ), 'hmbkp_nonce' ) ); ?>"><span class="dashicons dashicons-admin-users"></span> <?php _e( 'Enable Support', 'backupwordpress' ); ?></a> | ||
|
|
||
| <a id="intercom-info" class="thickbox page-title-action" href="<?php echo esc_url( wp_nonce_url( add_query_arg( array( 'action' => 'load_enable_support', 'width' => '600', 'height' => '420' ), self_admin_url( 'admin-ajax.php' ) ), 'hmbkp_nonce' ) ); ?>"><span class="dashicons dashicons-admin-users"></span> <?php esc_html_e( 'Enable Support', 'backupwordpress' ); ?></a> | ||
|
|
||
| <?php endif; ?> | ||
|
|
||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pdewouters I think you've mentioned that these files have to have a specific format otherwise they won't be processed. Will it cope if we use
sprintf()andesc_html__()?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep