Commit 465fbdf
committed
Skip ResXFileRef entries in resx parsing
File references (icons, images, sounds) with type="System.Resources.ResXFileRef"
are now excluded from parsing as they are not translatable strings.
This fixes false "missing translation" reports when analyzing projects like
ShareX that store both text strings and binary resource references in the
same .resx file.1 parent 36eeb98 commit 465fbdf
File tree
2 files changed
+14
-0
lines changed- LocalizationManager.Core/Backends/Resx
- vscode-extension/src/parsers
2 files changed
+14
-0
lines changedLines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
111 | 119 | | |
112 | 120 | | |
113 | 121 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
27 | 33 | | |
28 | 34 | | |
29 | 35 | | |
| |||
0 commit comments