File tree
Expand file treeCollapse file tree1 file changed
+2
-2
lines changed Expand file treeCollapse file tree1 file changed
+2
-2
lines changed Original file line number | Diff line number | Diff line change |
---|
@@ -487,11 +487,11 @@ your application:
|
487 | 487 |
|
488 | 488 | .. code-block:: twig
|
489 | 489 |
|
490 |
| -{{ 'Application version: {version}'|trans }} |
| 490 | +{{ 'Application version: {app_version}'|trans }} |
491 | 491 | {# output: "Application version: 1.2.3" #}
|
492 | 492 |
|
493 | 493 | {# 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'}) }} |
495 | 495 | # Displays "Package version: 2.3.4"
|
496 | 496 |
|
497 | 497 | Forcing the Translator Locale
|
|
You can’t perform that action at this time.
0 commit comments