Skip to content

translation update: turbo handbook page_refreshes #176

@github-actions

Description

@github-actions

Translation Update Required

The upstream documentation has been updated. Please review the changes and update the translation accordingly.

File: turbo/handbook/page_refreshes.md
Current translated commit: 0b2c287
Latest upstream commit: 17e5033

Diff

Click to expand diff
diff --git a/_source/handbook/03_page_refreshes.md b/_source/handbook/03_page_refreshes.md
index 74daa71..e3aa25f 100644
--- a/_source/handbook/03_page_refreshes.md
+++ b/_source/handbook/03_page_refreshes.md
@@ -22,7 +22,7 @@ You can configure how Turbo handles page refresh with a `<meta name="turbo-refre
 </head>
 ```
 
-The possible values are `morph` or `replace` (the default). When it is `morph,` when a page refresh happens, instead of replacing the page's `<body>,` Turbo will only update the DOM elements that have changed, keeping the rest untouched. This approach delivers better sensations because it keeps the screen state.
+The possible values are `morph` or `replace` (the default). When it is `morph,` when a page refresh happens, instead of replacing the page's `<body>` contents, Turbo will only update the DOM elements that have changed, keeping the rest untouched. This approach delivers better sensations because it keeps the screen state.
 
 Under the hood, Turbo uses the fantastic [idiomorph library](https://github.com/bigskysoftware/idiomorph).
 
@@ -52,8 +52,7 @@ Sometimes, you want to ignore certain elements while morphing. For example, you
 You can use [turbo frames](/handbook/frames.html) to define regions in your screen that will get reloaded using morphing when a page refresh happens. To do so, you must flag those frames with `refresh="morph"`.
 
 ```html
-<turbo-frame id="my-frame" refresh="morph">
-  ...
+<turbo-frame id="my-frame" refresh="morph" src="/my_frame">
 </turbo-frame>
 ```
 

How to Update

  1. Fork this repository
  2. Update the translation in turbo/handbook/page_refreshes.md
  3. Update the commit field in the front matter to 17e5033
  4. Create a Pull Request with your changes

View changes on GitHub


Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions