Vitaly Puzrin
Vitaly Puzrin
Why not just use file with simple words mapping? `--references mapping.txt` File content: ``` Array http://... Object http://... Buffer http:// ``` We can attach some default files, or user can...
I know about optional "context" in big systems. But is this really worth add for embedded? Usually simple text search in IDE shows all locations at once.
Ok. If not urgent - let's keep it open for a while. I will think about possible solutions for this feature. No principal objections to land it it somehow.
I don't understand how should it work. Existing C template is 100% working example, regenerated with [`npm run template_update`](https://t.me/Ateobreaking/77492). In your commit index seems to be missed (at least, could...
1. https://github.com/lvgl/lv_i18n/blob/9070d06be9c637a3c169bb183eb491bafbb855e4/src/lv_i18n.template.h#L11-L14 This is header template. It seems to miss index for demo data. Idea of [this script](https://github.com/lvgl/lv_i18n/blob/master/support/template_update.js) is to fill template with demo info from [demo data](https://github.com/lvgl/lv_i18n/blob/master/support/template_data.yml). That helps...
> The real world example is currently: use `--optimize` to generate optimized version with integer index. This must be generated into the header file (e.g. `lv_i18n.h`) as it must be...
Sorry, was busy today. If you have time, please add "optimized" templates near current ones, temporary. All I need to verify/rework data structs - template files. If running of script...
Sorry for delay, see summary below ## Files Layout IMO it would be more useable, if the i18n compiler always generates 2 files (.c/.h), containing both optimized and slow versions...
LGTM in general. The only note about internals - please avoid data/code mixture if possible https://github.com/lvgl/lv_i18n/blob/a64d2baea7a0d8e7a5d9351b457f4682fa028fb8/test/c/combined-sample/lv_i18n.c#L61-L65. It's more clear to define structs separate for each mode. Ideally would be to...
> This would mean, that we have _different_ `lv_i18n_lang_t` and `lv_i18n_lang_indexed_t` and this would mean, that we have to duplicate all functions taking `lv_i18n_lang_t` as a parameter so that there...