Skip to content
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

[FW][FIX] website: fix typo in exit full screen message #165854

Closed

Conversation

fw-bot
Copy link
Contributor

@fw-bot fw-bot commented May 16, 2024

With the conversion of inline templates in [1], a typo was introduced that changed "screen" to "string". This commit fixes that typo and updates the .pot file.

Also, the escape function used was changed to the correct one.

[1] 5700cc6

Forward-Port-Of: #165442
Forward-Port-Of: #164893

@robodoo
Copy link
Contributor

robodoo commented May 16, 2024

@fw-bot
Copy link
Contributor Author

fw-bot commented May 16, 2024

@dylankiss @rdeodoo cherrypicking of pull request #164893 failed.

stdout:

Auto-merging addons/website/i18n/website.pot
Auto-merging addons/website/static/src/components/fullscreen_indication/fullscreen_indication.js
CONFLICT (content): Merge conflict in addons/website/static/src/components/fullscreen_indication/fullscreen_indication.js

stderr:

20:11:29.746552 git.c:463               trace: built-in: git cherry-pick 766ee89b1e59a0f7b53e5df743c693b82c804863
error: could not apply 766ee89b1e59... [FIX] website: fix typo in exit full screen message
hint: After resolving the conflicts, mark them with
hint: "git add/rm <pathspec>", then run
hint: "git cherry-pick --continue".
hint: You can instead skip this commit with "git cherry-pick --skip".
hint: To abort and get back to the state before "git cherry-pick",
hint: run "git cherry-pick --abort".
----------
status:

Either perform the forward-port manually (and push to this branch, proceeding as usual) or close this PR (maybe?).

In the former case, you may want to edit this PR message as well.

⚠️ after resolving this conflict, you will need to merge it via @robodoo.

More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port

@robodoo robodoo added forwardport This PR was created by @fw-bot conflict There was an error while creating this forward-port PR labels May 16, 2024
@C3POdoo C3POdoo added the RD research & development, internal work label May 16, 2024
With the conversion of inline templates in [1], a typo was introduced
that changed "screen" to "string". Also the string was escaped and not
displayed correctly.

This commit fixes these issues.

[1]: odoo@5700cc6

X-original-commit: aec6a8b
@dylankiss dylankiss force-pushed the 17.0-16.0-fix-fullscreen-typo-dyki-dnuE-fw branch from c13e1de to 5061d75 Compare May 17, 2024 08:35
@C3POdoo C3POdoo requested a review from a team May 17, 2024 08:37
@@ -25,7 +25,7 @@ export class FullscreenIndication extends Component {
}

get fullScreenIndicationText() {
return markup(sprintf(escape(_t("Press %(key)s to exit full screen")), "<span>esc</span>"));
return markup(sprintf(escape(_t("Press %(key)s to exit full screen")), {key: "<span>esc</span>"}));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@odoo/rd-security fw-port (escaped content): #164893 (comment)

@xmo-odoo
Copy link
Collaborator

@robodoo override=ci/security

@dylankiss
Copy link
Contributor

@robodoo r+

@robodoo robodoo closed this in de7656d May 17, 2024
@fw-bot fw-bot deleted the 17.0-16.0-fix-fullscreen-typo-dyki-dnuE-fw branch May 31, 2024 16:47
lohwswilson pushed a commit to lohwswilson/odoo that referenced this pull request Jun 5, 2024
With the conversion of inline templates in [1], a typo was introduced
that changed "screen" to "string". Also the string was escaped and not
displayed correctly.

This commit fixes these issues.

[1]: odoo@5700cc6

closes odoo#165854

X-original-commit: aec6a8b
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
Signed-off-by: Dylan Kiss (dyki) <dyki@odoo.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conflict There was an error while creating this forward-port PR forwardport This PR was created by @fw-bot RD research & development, internal work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants