From 7d21041769341b55bf0a4c563e766c3ac72e6352 Mon Sep 17 00:00:00 2001 From: Akamaru Date: Sat, 12 Dec 2015 23:25:23 +0100 Subject: [PATCH] , und . Fehler in app_store.lua behoben --- plugins/app_store.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/app_store.lua b/plugins/app_store.lua index e3e4185..f57fb33 100644 --- a/plugins/app_store.lua +++ b/plugins/app_store.lua @@ -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 = ""