Skip to content
Snippets Groups Projects
Commit 016b97ef authored by Bob Mottram's avatar Bob Mottram
Browse files

Translate short description

parent 6f70fbd8
No related branches found
No related tags found
No related merge requests found
......@@ -578,6 +578,8 @@ function web_admin_create_add_apps {
fi
SHORT_DESCRIPTION="$(grep "${app_name_upper}_SHORT_DESCRIPTION=" "$app_filename" | head -n 1 | sed 's|\$||g' | sed "s|'||g" | sed 's|\"||g' | awk -F '=' '{print $2}')"
translated_short_description=$(web_admin_translate_text "$SHORT_DESCRIPTION")
SHORT_DESCRIPTION="$translated_short_description"
app_title="${SHORT_DESCRIPTION}"
if grep -q "${app_name_upper}_DESCRIPTION=" "$app_filename"; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment