-
Notifications
You must be signed in to change notification settings - Fork 28
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
Fixed String Translation in some PHP files #240
Open
DAnn2012
wants to merge
33
commits into
propertyhive:master
Choose a base branch
from
DAnn2012:patch-2
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
c7624e9
Update class-ph-meta-box-viewing-property.php
DAnn2012 4336c19
Update class-ph-meta-box-offer-property.php
DAnn2012 0de555a
Update class-ph-meta-box-tenancy-property.php
DAnn2012 93b709b
Update class-ph-meta-box-property-actions.php
DAnn2012 848fafe
Update class-ph-meta-box-sale-applicant-solicitor.php
DAnn2012 001b961
Update class-ph-meta-box-contact-solicitor.php
DAnn2012 ea840ff
Update class-ph-meta-box-appraisal-property-owner.php
DAnn2012 a9f741f
Update class-ph-meta-box-contact-actions.php
DAnn2012 13c0816
Update class-ph-meta-box-offer-applicant.php
DAnn2012 ae8ac67
Update class-ph-meta-box-enquiry-details.php
DAnn2012 312d263
Update class-ph-meta-box-viewing-applicant.php
DAnn2012 2fcd647
Update class-ph-meta-box-sale-property-owner-solicitor.php
DAnn2012 c4ba329
Update class-ph-meta-box-tenancy-applicant.php
DAnn2012 d62baa6
Update class-ph-meta-box-offer-property-owner-solicitor.php
DAnn2012 d3a3d3d
Update class-ph-meta-box-offer-applicant-solicitor.php
DAnn2012 2615dbd
Update class-ph-meta-box-sale-property.php
DAnn2012 4b982f2
Update class-ph-meta-box-tenancy-property.php
DAnn2012 c66c9e2
Update class-ph-meta-box-offer-property.php
DAnn2012 f25d832
Update class-ph-meta-box-viewing-property.php
DAnn2012 6d2da54
Update class-ph-meta-box-offer-applicant.php
DAnn2012 bff61a8
Update class-ph-meta-box-viewing-applicant.php
DAnn2012 34bce6b
Update class-ph-meta-box-property-actions.php
DAnn2012 1a58f01
Update class-ph-meta-box-property-actions.php
DAnn2012 ff97431
Update class-ph-meta-box-contact-actions.php
DAnn2012 fe7d836
Update class-ph-meta-box-contact-actions.php
DAnn2012 85cb3b8
Update class-ph-meta-box-contact-actions.php
DAnn2012 471ced1
Update class-ph-meta-box-property-actions.php
DAnn2012 8bc00ba
Update class-ph-meta-box-property-actions.php
DAnn2012 c9a2b6d
Update class-ph-meta-box-enquiry-details.php
DAnn2012 60c7bbf
Update class-ph-meta-box-appraisal-property-owner.php
DAnn2012 47fbc5b
Update class-ph-meta-box-sale-property.php
DAnn2012 b6d9ec6
Update class-ph-meta-box-tenancy-property.php
DAnn2012 b3007cb
Update class-ph-meta-box-offer-property.php
DAnn2012 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 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 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 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 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 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 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 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.
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.
I'm not sure how it was before was 'wrong'. There are a finite number of contact types and this allows you to translate these also. Otherwise the $enquiry_content_type would remain untranslated if translation is the goal.
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.
Hello @propertyhive
Can the value of $enquiry_contact_type be 'Applicant' or 'Contact'? Is that so?
The string 'View Contact' is present among the translatable strings, but the string 'View Applicant' is not.
In any case, I think that a variable inside the __() function, even if the translation is displayed, can create confusion and problems..
What do you think?
Thanks.