Commit c5dc579
committed
fix(plugin-manager): rank validation-failure status by flag, not translated text
The rank logic matched the status cell against the hardcoded English
"update validation failed", but the label is translated via _(). In non-English
locales the match failed and the row sorted to the bottom (rank 4) instead of
the top with updates (rank 0). Track the state with a locale-independent
$validation_failed flag and rank on that instead.1 parent b83cf2f commit c5dc579
1 file changed
Lines changed: 4 additions & 2 deletions
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
| 193 | + | |
193 | 194 | | |
194 | 195 | | |
195 | 196 | | |
| |||
201 | 202 | | |
202 | 203 | | |
203 | 204 | | |
| 205 | + | |
204 | 206 | | |
205 | 207 | | |
206 | 208 | | |
207 | 209 | | |
208 | 210 | | |
209 | | - | |
| 211 | + | |
| 212 | + | |
210 | 213 | | |
211 | | - | |
212 | 214 | | |
213 | 215 | | |
214 | 216 | | |
| |||
0 commit comments