You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now, where do we load localized make variables? Currently in №3, because languages are set by project (or CLI run) most reasonable in №2. That leaves them unusable in №2. Which mean projects can't avail themselves of localized strings.
Obviously the current makefile hackery to even have localized strings is, well, dirty. We should come up with something cleaner, preferably moving localization to Fluent and loading strings earlier to be used earlier too.
The text was updated successfully, but these errors were encountered:
This could get resolved by moving some configuration parameters from being Makefile variables to YAML or TOML based project configs. In that event they could be read early and defaults supplied after without screwing up GNU Make's Makefile processing order.
This is resolved in v0.4.1. Put language: <code> into a YAML config file and save as casile.yml. It's processed early on (before make even gets its grubby fingers on anything).
Current makefile load order:
casile.mk
rules.mk
Now, where do we load localized make variables? Currently in №3, because languages are set by project (or CLI run) most reasonable in №2. That leaves them unusable in №2. Which mean projects can't avail themselves of localized strings.
Obviously the current makefile hackery to even have localized strings is, well, dirty. We should come up with something cleaner, preferably moving localization to Fluent and loading strings earlier to be used earlier too.
The text was updated successfully, but these errors were encountered: