Commit e1dfad2
committed
docs(design): split translator hints between writing guide and translations ref
Move code examples for TRANSLATORS comments to basics/translations.rst
(the implementation reference) and keep only prose guidelines in
design/writing.rst. Cross-link both directions so neither page duplicates
the other.
- writing.rst: strip code blocks from Translator comments and Placeholders
sections; add cross-refs to translations.rst
- translations.rst: improve PHP/JS/Vue TRANSLATORS examples (Vue template
uses <!-- --> above element, add multi-line PHP pattern); add ref label
improving-translations for cross-linking
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>1 parent 4573c24 commit e1dfad2
2 files changed
Lines changed: 37 additions & 60 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
| 223 | + | |
| 224 | + | |
223 | 225 | | |
224 | 226 | | |
225 | 227 | | |
| |||
284 | 286 | | |
285 | 287 | | |
286 | 288 | | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
287 | 301 | | |
288 | 302 | | |
289 | | - | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | | - | |
296 | | - | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
297 | 307 | | |
298 | 308 | | |
299 | 309 | | |
300 | 310 | | |
| 311 | + | |
| 312 | + | |
301 | 313 | | |
302 | 314 | | |
303 | | - | |
| 315 | + | |
304 | 316 | | |
305 | 317 | | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
306 | 321 | | |
307 | 322 | | |
308 | 323 | | |
309 | | - | |
310 | | - | |
| 324 | + | |
311 | 325 | | |
312 | 326 | | |
313 | 327 | | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
318 | 332 | | |
319 | 333 | | |
320 | 334 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| 105 | + | |
105 | 106 | | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
| 107 | + | |
113 | 108 | | |
114 | 109 | | |
115 | 110 | | |
116 | 111 | | |
117 | | - | |
| 112 | + | |
118 | 113 | | |
119 | 114 | | |
120 | | - | |
| 115 | + | |
121 | 116 | | |
122 | 117 | | |
123 | | - | |
| 118 | + | |
124 | 119 | | |
125 | 120 | | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
| 121 | + | |
| 122 | + | |
160 | 123 | | |
161 | | - | |
| 124 | + | |
162 | 125 | | |
163 | 126 | | |
164 | 127 | | |
| |||
0 commit comments