0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-31 08:42:40 +00:00

add 'lang' as a brew metadata property

This commit is contained in:
Gazook89
2022-09-21 12:21:32 -05:00
parent 8c6fd3086c
commit bce7cf41af
4 changed files with 6 additions and 2 deletions

View File

@@ -126,6 +126,7 @@ const GoogleActions = {
views : parseInt(file.properties.views),
published : file.properties.published ? file.properties.published == 'true' : false,
systems : [],
lang : file.properties.lang,
thumbnail : file.properties.thumbnail
};
});
@@ -255,6 +256,7 @@ const GoogleActions = {
tags : obj.data.properties.tags ? obj.data.properties.tags : '',
systems : obj.data.properties.systems ? obj.data.properties.systems.split(',') : [],
authors : [],
lang : obj.data.properties.lang,
published : obj.data.properties.published ? obj.data.properties.published == 'true' : false,
trashed : obj.data.trashed,