Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d320fff

Browse filesBrowse files
committed
minor #20913 Global translation - Fix typo on parameter name (athib)
This PR was merged into the 7.3 branch. Discussion ---------- Global translation - Fix typo on parameter name Fix typo where `app_version` is declared but `version` is used Commits ------- 9f7cc9d Fix typo on parameter name
2 parents b0fa625 + 9f7cc9d commit d320fff
Copy full SHA for d320fff

File tree

1 file changed

+2
-2
lines changed
Filter options

1 file changed

+2
-2
lines changed

‎translation.rst

Copy file name to clipboardExpand all lines: translation.rst
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -487,11 +487,11 @@ your application:
487487

488488
.. code-block:: twig
489489
490-
{{ 'Application version: {version}'|trans }}
490+
{{ 'Application version: {app_version}'|trans }}
491491
{# output: "Application version: 1.2.3" #}
492492
493493
{# parameters passed to the message override global parameters #}
494-
{{ 'Package version: {version}'|trans({'{version}': '2.3.4'}) }}
494+
{{ 'Package version: {app_version}'|trans({'{app_version}': '2.3.4'}) }}
495495
# Displays "Package version: 2.3.4"
496496
497497
Forcing the Translator Locale

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.