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
Something that xcres has been doing for a while is to document each generated string key with the default translation for that key. That way, you can see the output string when alt-clicking the enum or using auto-complete which is really nice. Currently, the string value isn't exposed as a variable in the strings template engine.
Example input:
"confirmation_alert_title"="Do you really want to do this action?";
"confirmation_alert_cancel_title"="Abort";
Desired output:
enumL10n{/// Do you really want to do this action?case ConfirmationAlertTitle
/// Abortcase ConfirmationAlertCancelTitle
}
The text was updated successfully, but these errors were encountered:
Then using that in the default string template would be as simple as inserting /// {{ string.translation }}here.
It would be really nice if you could propose a PR to do those simple changes 😉 (dont forget to fix unit tests accordingly and credit yourself in the CHANGELOG if you do)
Something that xcres has been doing for a while is to document each generated string key with the default translation for that key. That way, you can see the output string when alt-clicking the enum or using auto-complete which is really nice. Currently, the string value isn't exposed as a variable in the strings template engine.
Example input:
Desired output:
The text was updated successfully, but these errors were encountered: