, und . Fehler in app_store.lua behoben
This commit is contained in:
parent
d6ba9a16f2
commit
7d21041769
@ -33,7 +33,7 @@ local function send_appstore_data(data, receiver)
|
|||||||
-- Body
|
-- Body
|
||||||
local description = string.sub(unescape(data.description), 1, 150) .. '...'
|
local description = string.sub(unescape(data.description), 1, 150) .. '...'
|
||||||
local min_ios_ver = data.minimumOsVersion
|
local min_ios_ver = data.minimumOsVersion
|
||||||
local size = string.gsub(round(data.fileSizeBytes / 1000000, 2), "%.", "%,") -- wtf Apple, it's 1024, not 1000!
|
local size = round(data.fileSizeBytes / 1000000, 2) -- wtf Apple, it's 1024, not 1000!
|
||||||
local release = makeOurDate(data.releaseDate)
|
local release = makeOurDate(data.releaseDate)
|
||||||
if data.isGameCenterEnabled then
|
if data.isGameCenterEnabled then
|
||||||
game_center = '\nUnterstützt Game Center'
|
game_center = '\nUnterstützt Game Center'
|
||||||
@ -57,7 +57,7 @@ local function send_appstore_data(data, receiver)
|
|||||||
|
|
||||||
-- Footer
|
-- Footer
|
||||||
if data.averageUserRating and data.userRatingCount then
|
if data.averageUserRating and data.userRatingCount then
|
||||||
avg_rating = 'Bewertung: '..string.gsub(data.averageUserRating, "%.", "%,")..' Sterne '
|
avg_rating = 'Bewertung: '..data.averageUserRating..' Sterne '
|
||||||
ratings = 'von '..comma_value(data.userRatingCount)..' Bewertungen'
|
ratings = 'von '..comma_value(data.userRatingCount)..' Bewertungen'
|
||||||
else
|
else
|
||||||
avg_rating = ""
|
avg_rating = ""
|
||||||
|
Reference in New Issue
Block a user