, und . Fehler in app_store.lua behoben

This commit is contained in:
Akamaru 2015-12-12 23:25:23 +01:00
parent d6ba9a16f2
commit 7d21041769

View File

@ -33,7 +33,7 @@ local function send_appstore_data(data, receiver)
-- Body
local description = string.sub(unescape(data.description), 1, 150) .. '...'
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)
if data.isGameCenterEnabled then
game_center = '\nUnterstützt Game Center'
@ -57,7 +57,7 @@ local function send_appstore_data(data, receiver)
-- Footer
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'
else
avg_rating = ""