Modules: exposes localized module name in custom key format as {module-name}

This commit is contained in:
李通洲
2026-09-01 19:18:02 +08:00
parent 37c198d997
commit 2e06a73102
19 changed files with 19 additions and 0 deletions
+1
View File
@@ -47,6 +47,7 @@ void ffPrintLogoAndKey(const char* moduleName, uint8_t moduleIndex, const FFModu
FF_PARSE_FORMAT_STRING_CHECKED(&key, &moduleArgs->key, ((FFformatarg[]) {
FF_ARG(moduleIndex, "index"),
FF_ARG(moduleArgs->keyIcon, "icon"),
FF_ARG(moduleName, "module-name"),
}));
ffStrbufWriteTo(&key, stdout);
}