8000 fix(Web Form): make button label translatable by barredterra · Pull Request #24122 · frappe/frappe · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix(Web Form): make button label translatable #24122

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

Merged
merged 2 commits into from
Jan 5, 2024

Conversation

barredterra
Copy link
Collaborator
@barredterra barredterra commented Jan 4, 2024

Line 44: wrap button label in translation function
other lines: we cannot pass null to a python function. Correct syntax for python is _("Translate Me", context="Web Form")

@barredterra barredterra requested review from a team and surajshetty3416 and removed request for a team January 4, 2024 11:28
@barredterra barredterra added backport version-14-hotfix backport to version 14 backport version-15-hotfix Backport the PR to v15 labels Jan 4, 2024
@barredterra barredterra enabled auto-merge January 4, 2024 11:28
@barredterra barredterra changed the title fix(web Form): make button label translatable fix(Web Form): make button label translatable Jan 4, 2024
@barredterra barredterra disabled auto-merge January 5, 2024 16:17
@ankush ankush merged commit 3fd2677 into frappe:develop Jan 5, 2024
mergify bot pushed a commit that referenced this pull request Jan 5, 2024
* fix(web Form): make button label translatable

* fix: context in web form translations

(cherry picked from commit 3fd2677)
mergify bot pushed a commit that referenced this pull request Jan 5, 2024
* fix(web Form): make button label translatable

* fix: context in web
10000
 form translations

(cherry picked from commit 3fd2677)
@barredterra barredterra deleted the web-form-translatable-button branch January 5, 2024 18:52
barredterra added a commit that referenced this pull request Jan 5, 2024
…-24122

fix(Web Form): make button label translatable (backport #24122)
barredterra added a commit that referenced this pull request Jan 5, 2024
…-24122

fix(Web Form): make button label translatable (backport #24122)
frappe-pr-bot pushed a commit that referenced this pull request Jan 10, 2024
## [14.62.2](v14.62.1...v14.62.2) (2024-01-10)

### Bug Fixes

* Allowed standard fields in data export ( creation, owner) (backport [#24187](#24187)) ([#24190](#24190)) ([73a0f20](73a0f20))
* ambiguous linked tables ([#24214](#24214)) ([4c5dab7](4c5dab7))
* broken `dynamic_link` to `link` formatting in query report (backport [#24054](#24054)) ([#24087](#24087)) ([ea78f39](ea78f39))
* Broken IMAP account disabling logic (backport [#24118](#24118)) ([#24130](#24130)) ([fbd0404](fbd0404))
* **communication:** don't change email case ([51562b4](51562b4))
* copy content on reply ([399ab3f](399ab3f))
* extract the frappe version from backup header directly ([ee9f28f](ee9f28f))
* number card only gives integer ([#24047](#24047)) ([#24137](#24137)) ([3ebd3a6](3ebd3a6))
* **OTP:** Autofocus OTP input, fix placeholder ([#24203](#24203)) ([#24204](#24204)) ([4d59a87](4d59a87))
* **recorder:** Normalize `IN` in SQL queries ([#24132](#24132)) ([#24133](#24133)) ([a8da916](a8da916))
* use correct parent field in rebuild_tree() ([#24107](#24107)) ([#24120](#24120)) ([5d8a825](5d8a825))
* **Web Form:** make button label translatable ([#24122](#24122)) ([1da33fd](1da33fd))
frappe-pr-bot pushed a commit that referenced this pull request Jan 10, 2024
# [15.9.0](v15.8.1...v15.9.0) (2024-01-10)

### Bug Fixes

* added precision field in webform field ([3876ba2](3876ba2))
* added validation if upload is clicked without uploading file ([ba2ce30](ba2ce30))
* Allowed standard fields in data export ( creation, owner) (backport [#24187](#24187)) ([#24191](#24191)) ([5b66da4](5b66da4))
* broken `dynamic_link` to `link` formatting in query report (backport [#24054](#24054)) ([#24088](#24088)) ([4a9eae9](4a9eae9))
* Broken IMAP account disabling logic (backport [#24118](#24118)) ([#24131](#24131)) ([7669a7e](7669a7e))
* **communication:** don't change email case ([f91cff9](f91cff9))
* copy content on reply ([5135a13](5135a13))
* Correct logic for can_cancel ([#24196](#24196)) ([#24201](#24201)) ([94312f6](94312f6))
* delete existing children first to avoid `UniqueValidationError` ([#24140](#24140)) ([f00da85](f00da85))
* don't update docstatus (backport [#24216](#24216)) ([#24221](#24221)) ([b95f7c3](b95f7c3))
* **DX:** return email queue doc ([#23495](#23495)) ([#24174](#24174)) ([f25e42f](f25e42f))
* extract the frappe version from backup header directly ([4d2cf23](4d2cf23))
* get precision data while getting fields ([4cb65f0](4cb65f0))
* Handle empty value of datetime control ([cc3997d](cc3997d))
* include Web Form Field in core_doctypes ([785416a](785416a))
* **minor:** drop icon column, unsupported, fixes [#23826](#23826) ([a18c061](a18c061))
* **minor:** show footer on login via Website Settings, fixes [#24153](#24153) ([8a0b5c7](8a0b5c7))
* **minor:** Unpublish article when category is unpublished [#15361](#15361) ([c2c8323](c2c8323))
* mobile issue with form pop up ([#24125](#24125)) ([#24151](#24151)) ([de30760](de30760))
* notification.py should ignore permissions on fetching on mobile_no receiver list ([6f5535b](6f5535b))
* number card only gives integer ([#24047](#24047)) ([#24138](#24138)) ([16f9907](16f9907))
* **OTP:** Autofocus OTP input, fix placeholder ([#24203](#24203)) ([#24205](#24205)) ([458f3fc](458f3fc))
* **recorder:** Normalize `IN` in SQL queries ([#24132](#24132)) ([#24134](#24134)) ([9dc4d8f](9dc4d8f))
* **router:** Don't capture clicks on links with target attr ([#24110](#24110)) ([#24135](#24135)) ([b80de74](b80de74))
* Skip no-value fields for rename ([#24163](#24163)) ([#24164](#24164)) ([dfa2ffd](dfa2ffd))
* **style:** set min height correctly ([c774787](c774787))
* **test_recorder:** get the correct request ([#24143](#24143)) ([#24149](#24149)) ([9fa7e9f](9fa7e9f))
* use correct parent field in rebuild_tree() ([#24107](#24107)) ([#24121](#24121)) ([f12f9db](f12f9db))
* **Web Form:** make button label translatable ([#24122](#24122)) ([14ee9c8](14ee9c8))
* webhook error logging fails ([#24172](#24172)) ([#24183](#24183)) ([6cd7eba](6cd7eba))

### Features

* support background jobs in recorder ([1eb3a56](1eb3a56))

### Performance Improvements

* Update roles affected by role profile in background ([#24104](#24104)) ([840f059](840f059))
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backport version-14-hotfix backport to version 14 backport version-15-hotfix Backport the PR to v15
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0