diff --git a/guides/custom_labels_and_translations/custom-labels-and-translations.md b/guides/custom_labels_and_translations/custom-labels-and-translations.md index 2b199497..2342f339 100644 --- a/guides/custom_labels_and_translations/custom-labels-and-translations.md +++ b/guides/custom_labels_and_translations/custom-labels-and-translations.md @@ -236,4 +236,7 @@ msgstr "" msgid "To" msgstr "" + +msgid "Save & Continue editing" +msgstr "" ``` diff --git a/guides/upgrading/v0.9.md b/guides/upgrading/v0.9.md index 363284e2..26bd01d5 100644 --- a/guides/upgrading/v0.9.md +++ b/guides/upgrading/v0.9.md @@ -83,3 +83,11 @@ Make sure to read the improved documentation for the `handle` functions to under - `c:Backpex.ItemAction.handle/3` - `c:Backpex.ResourceAction.handle/2` + +## Translate new texts + +The latest version of Backpex introduces the following texts + +- "Save & Continue Editing" + +Make sure you translate these texts in your translation files. diff --git a/lib/backpex/html/resource/form_component.html.heex b/lib/backpex/html/resource/form_component.html.heex index 94449962..a4f0386e 100644 --- a/lib/backpex/html/resource/form_component.html.heex +++ b/lib/backpex/html/resource/form_component.html.heex @@ -48,12 +48,24 @@ <% else %> <.link navigate={@live_resource.return_to(@socket, assigns, @live_action, @item)}> - +