i18n_proofreading 1.3.0 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/AGENTS.md +2 -2
- data/CHANGELOG.md +5 -0
- data/README.md +4 -4
- data/config/locales/i18n_proofreading.sl.yml +18 -0
- data/lib/i18n_proofreading/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0d4e001fe500edcbf445d9c78e1456ace59c477be826e407d9dd11463167079b
|
|
4
|
+
data.tar.gz: 927071ffe71dbf0df15e0c4d05c1c380a6f0c3cf7faf4674a6cb23335de4c618
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 22bae271ea800c25aac568fffd26bc24ee5cc351f3ef0b8d5c8255dc1d1b64a8006d62cb50caae01b44ec4401af01ca6f3c7b1e32b0f83214ae3dea5a7c5b64a
|
|
7
|
+
data.tar.gz: 43f16c3dcb35e861dc1573cf5febd25fd3189ba3fd820c4aa0f762a8d197e528e2130c2f6ada00722a7d39eff86e8e8a7ce453ecc9d1d9130e9a027001cbca41
|
data/AGENTS.md
CHANGED
|
@@ -115,7 +115,7 @@ Everything is optional; a fresh install works with zero config in development. F
|
|
|
115
115
|
| `mount_path` | `"/i18n_proofreading"` | Keep in sync with the `mount` line |
|
|
116
116
|
| `on_submit` | no-op | Runs inline after save — Slack, email, a ticket |
|
|
117
117
|
|
|
118
|
-
The tool's own UI ships in
|
|
118
|
+
The tool's own UI ships in 27 languages, RTL mirrored, and follows system light/dark.
|
|
119
119
|
|
|
120
120
|
### Common failure modes
|
|
121
121
|
|
|
@@ -149,7 +149,7 @@ bundle exec rubocop # must be clean
|
|
|
149
149
|
BUNDLE_GEMFILE=gemfiles/rails_7.1.gemfile bundle exec rake test # 7.1, 7.2, 8.0, 8.1 in gemfiles/
|
|
150
150
|
```
|
|
151
151
|
|
|
152
|
-
Layout: `app/` controller, `Suggestion`, dashboard views · `lib/i18n_proofreading/` config, middleware, the I18n marking backend, widget JS, seeds, engine · `lib/generators/i18n_proofreading/install/` the one generator · `config/locales/`
|
|
152
|
+
Layout: `app/` controller, `Suggestion`, dashboard views · `lib/i18n_proofreading/` config, middleware, the I18n marking backend, widget JS, seeds, engine · `lib/generators/i18n_proofreading/install/` the one generator · `config/locales/` 27 locales · `test/` minitest with `test/dummy` as the host app.
|
|
153
153
|
|
|
154
154
|
Conventions this codebase holds to — follow them rather than the first thing that works:
|
|
155
155
|
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -66,7 +66,7 @@ works from any app that bundles it.
|
|
|
66
66
|
| **Deps** | None. Plain JS — no Tailwind, no Stimulus, no importmap, no build step |
|
|
67
67
|
| **Layout** | Auto-injected. Opt out and place the tag yourself if you prefer |
|
|
68
68
|
| **Auth** | Lambdas over the raw request — Devise, Rails 8 auth, feature flags |
|
|
69
|
-
| **i18n** | The tool's own UI ships in
|
|
69
|
+
| **i18n** | The tool's own UI ships in 27 languages, RTL mirrored |
|
|
70
70
|
| **Theme** | Follows system light/dark |
|
|
71
71
|
| **Turbo/CSP** | Turbo Drive and strict nonce-based CSP (incl. `strict-dynamic`) |
|
|
72
72
|
|
|
@@ -284,7 +284,7 @@ I18nProofreading::Suggestion.status_pending.newest_first # scope per status
|
|
|
284
284
|
|
|
285
285
|
The pill and popover speak the app's language — every string resolves through
|
|
286
286
|
Rails I18n under `i18n_proofreading.*` and follows the language the page was
|
|
287
|
-
rendered in (`<html lang>`, falling back to `I18n.locale`).
|
|
287
|
+
rendered in (`<html lang>`, falling back to `I18n.locale`). 27 languages ship,
|
|
288
288
|
missing keys fall back to English, and RTL locales render the popover
|
|
289
289
|
right-to-left.
|
|
290
290
|
|
|
@@ -293,8 +293,8 @@ right-to-left.
|
|
|
293
293
|
|
|
294
294
|
Arabic, Bengali, Bulgarian, Chinese (Simplified), Croatian, Dutch, English,
|
|
295
295
|
French, German, Greek, Hindi, Indonesian, Italian, Japanese, Korean,
|
|
296
|
-
Luxembourgish, Polish, Portuguese, Romanian, Russian,
|
|
297
|
-
Ukrainian, Urdu, Vietnamese.
|
|
296
|
+
Luxembourgish, Polish, Portuguese, Romanian, Russian, Slovenian, Spanish,
|
|
297
|
+
Thai, Turkish, Ukrainian, Urdu, Vietnamese.
|
|
298
298
|
|
|
299
299
|
Define the keys in your own locale files — yours win over the gem's:
|
|
300
300
|
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
sl:
|
|
2
|
+
i18n_proofreading:
|
|
3
|
+
pill: "Izboljšajte prevod"
|
|
4
|
+
start: "Izboljšajte prevod"
|
|
5
|
+
stop: "Končaj predlaganje (Esc)"
|
|
6
|
+
pill_active: "Končaj predlaganje (Esc)"
|
|
7
|
+
title: "Predlagajte popravek prevoda"
|
|
8
|
+
current_text: "Trenutno besedilo"
|
|
9
|
+
suggested_text: "Predlagano besedilo"
|
|
10
|
+
comment: "Komentar"
|
|
11
|
+
comment_placeholder: "Neobvezna opomba za razvijalce"
|
|
12
|
+
prior_title: "Predlogi v obravnavi"
|
|
13
|
+
cancel: "Prekliči"
|
|
14
|
+
save: "Pošlji predlog"
|
|
15
|
+
error_blank: "Vnesite predlog."
|
|
16
|
+
error_save: "Predloga ni bilo mogoče shraniti."
|
|
17
|
+
dashboard:
|
|
18
|
+
title: "I18nProofreading"
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: i18n_proofreading
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.3.
|
|
4
|
+
version: 1.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Yaroslav Shmarov
|
|
@@ -79,6 +79,7 @@ files:
|
|
|
79
79
|
- config/locales/i18n_proofreading.pt.yml
|
|
80
80
|
- config/locales/i18n_proofreading.ro.yml
|
|
81
81
|
- config/locales/i18n_proofreading.ru.yml
|
|
82
|
+
- config/locales/i18n_proofreading.sl.yml
|
|
82
83
|
- config/locales/i18n_proofreading.th.yml
|
|
83
84
|
- config/locales/i18n_proofreading.tr.yml
|
|
84
85
|
- config/locales/i18n_proofreading.uk.yml
|