Skip to content

Commit

Permalink
Update 1.4.152_1025
Browse files Browse the repository at this point in the history
  • Loading branch information
Kasha committed Apr 4, 2015
1 parent ec449bf commit 5724c33
Show file tree
Hide file tree
Showing 3,614 changed files with 592,178 additions and 358,026 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
96 changes: 81 additions & 15 deletions AndroidManifest.xml

Large diffs are not rendered by default.

11 changes: 6 additions & 5 deletions apktool.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
version: 2.0.0-RC3
apkFileName: 小米运动_1.3.312_375.apk
apkFileName: 小米运动_1.4.152_1025.apk
isFrameworkApk: false
usesFramework:
ids:
Expand All @@ -10,12 +10,13 @@ sdkInfo:
packageInfo:
forced-package-id: '127'
versionInfo:
versionCode: '375'
versionName: 1.3.312
versionCode: '1025'
versionName: 1.4.152
compressionType: false
unknownFiles:
push_version: '8'
com/robotium/solo/RobotiumWeb.js: '8'
push_version: '0'
org/achartengine/image/zoom-1.png: '8'
org/achartengine/image/zoom_in.png: '8'
org/achartengine/image/zoom_out.png: '8'
com/sina/weibo/sdk/net/cacert_cn.cer: '8'
com/sina/weibo/sdk/net/cacert_com.cer: '8'
Binary file modified assets/Mili.fw
Binary file not shown.
6 changes: 5 additions & 1 deletion assets/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,18 @@
"enable":true,
"loadEnable" : true,
"healthLinkEnable" : false,
"QQHealthEnable":true
"QQHealthEnable":false,
"WeiboHealthEnable" : false
},

"runner" : {
"enable" : true,
"runnerGroupEnnable" : true
},

"relation" : {
"enable" : false
},
"mall" : {
"enable" : true
},
Expand Down
Binary file added assets/drawable-hdpi/common_button_white.9.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/drawable-hdpi/weibosdk_empty_failed.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/drawable-xhdpi/common_button_white.9.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/drawable-xhdpi/timeline_icon_add_friends.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/drawable-xhdpi/timeline_icon_attention.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/drawable-xhdpi/weibosdk_empty_failed.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/drawable/sdk_weibo_logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
134 changes: 134 additions & 0 deletions assets/lua/localization.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
-------------------------
-- Localization for Lua
-- Huami Co, ltd. (2014)
-- Herbert dai
-- 20140731
-------------------------

-------------Globals----------------
TAG = "chenee"
--zh_CN = 'zh_CN'
--zh_TW = 'zh_TW'
--zh_HK = 'zh_HK'
--en_US = 'en_US'
--en_GB = 'en_GB'
--en = 'en'
--indo = 'in' --indonesia

g_CurLocale = ""
DEBUG = true
g_curTable = localization_English_table
-------------Globals----------------

__log = nil
function log(msg, right)
if DEBUG == false then
return
end

if __log == nil then __log = luajava.bindClass("android.util.Log") end

if right == 'w' then
__log:w(TAG,'luaScript('..__luaVersion.."):" ..msg)
elseif right == 'e' then
__log:e(TAG,'luaScript('..__luaVersion.."):" ..msg)
else
__log:d(TAG,'luaScript('..__luaVersion.."):" ..msg)
end
end


function getCurLocale()
return g_CurLocale;
end


localization_table = {
{ 'en', localization_en_table},
{ 'zh_CN', localization_zh_rCN_table},
{ 'zh_TW', localization_zh_rTW_table},
{ 'zh_HK', localization_zh_rTW_table},
{ 'hi' , localization_hi_rIN_table},
{ 'bn_IN' , localization_bn_rIN_table},
{ 'kn_IN' , localization_kn_rIN_table},
{ 'ml_IN' , localization_ml_rIN_table},
{ 'ta_IN' , localization_ta_rIN_table},
{ 'te_IN' , localization_te_rIN_table},
{ 'id', localization_in_rID_table},
{ 'ms_MY' , localization_ms_rMY_table},
{ 'pt_BR' , localization_pt_rBR_table},
{ 'ro' , localization_ro_rRO_table},
{ 'ru' , localization_ru_rRU_table},
{ 'th' , localization_th_rTH_table},
{ 'vi' , localization_vi_rVN_table},
{ 'tr' , localization_tr_rTR_table},
{ 'de' , localization_de_rDE_table},
{ 'fr' , localization_fr_rFR_table},
{ 'it' , localization_it_rIT_table},

}



function setCurLocale(locale)
g_CurLocale = locale;

log("setCurLocale, cur locale = " .. g_CurLocale)

for i,line in ipairs(localization_table) do
log("line[1] = ".. line[1])
if string.find(locale, line[1]) == 1 then
g_curTable = line[2]
log("find g_curTable = ".. line[1])

end
end

if (g_curTable == nil) then
log('g_curTable is nil')
g_curTable = localization_English_table
end
end

function getString(string_locale)
str = g_curTable[string_locale];

if (str == nil) then
str = localization_English_table[string_locale]
end
return str
end

function getEnglishMonthStr(month)
log("getEngishMonthStr month="..month)

if (month == "01") then
str = "Jan."
elseif (month == "02") then
str = "Feb."
elseif (month == "03") then
str = "Mar."
elseif (month == "04") then
str = "Apr."
elseif (month == "05") then
str = "May"
elseif (month == "06") then
str = "Jun."
elseif (month == "07") then
str = "Jul."
elseif (month == "08") then
str = "Aug."
elseif (month == "09") then
str = "Sept."
elseif (month == "10") then
str = "Oct."
elseif (month == "11") then
str = "Nov."
elseif (month == "12") then
str = "Dec."
else
str = month;
end

return str
end
154 changes: 154 additions & 0 deletions assets/lua/localization_bn_in.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,154 @@
-------------------------
-- English Localization String resources
-- Huami Co, ltd. (2014)
-- Herbert dai
-- 20140731
-------------------------
localization_bn_rIN_table = {
calories_table={

},

ok='ঠিক আছে',

hour='ঘন্টা',
minute='মিনিট',
month='মাস',
day='দিন',
step="ধাপ",
km='কিলোমিটার',
mile='miles',
minute_format='%d মিনিট',
hour_minute_format='%dঘন্টা %dমিনিট',
hour_format='%d ঘন্টা',

welcome_use="স্বাগত",
last_week_walked_format='গত সপ্তাহে আপনি %d পা হেঁটেছিলেন।',
last_week_walked_info_format='Walked %s, burned %dcal.',
last_month_walked_format='গত মাসে আপনি %d পা হেঁটেছিলেন।',
last_month_walked_info_format='Walked %s, burned %dcal.',

get_over_format=", প্রায় %d গ্রাম ফ্যাট",
click_to_get_help="Mi ব্যান্ড বিযেয়ে আরো জানুন",
take_a_walk="আপনার ব্যান্ড পড়ে হাঁটুন",
take_a_walk_info="আপনার ব্যান্ড সারা দিনে আপনার প্রতিটি পদক্ষেপের উপর নজর রাখে।",
unlock_hint="খুল যা সিম সিম!",
unlock_hint_info="স্বয়ংক্রিয়ভাবে আপনার ডিভাইস আনলক করতে আপনার ব্যান্ড ব্যবহার করুন।",
unlock_password_hint="Set screen lock to keep phone secure.",
unlock_password_hint_info="Mi Band gives the best screen unlocker.",
no_data_hint_0="মার্কিন যুক্তরাষ্ট্রের নিদ্রা প্রতিষ্ঠান প্রতিরাত্রে ৭-৮ ঘন্টা ঘুমের পরামর্শ দেয়।",
no_data_hint_1="পুনরাবৃত্তি হল সাফল্যের জনক।",
no_data_hint_2="অগ্রগতির জন্য সংগ্রাম, উৎকর্ষতার জন্য নয়।",
no_data_hint_3="আপনি যত ধীরে দৌড়ান না কেন, তবুও সোফায় বসে থাকা প্রতিটি মানুষের থেকে এগিয়ে আছেন।",
not_binded_hint="এই অ্যাকাউন্টে সাথে কোনো ব্যান্ড যুক্ত করা হয়নি।",
not_binded_hint_info="You can also click Weight Scale in menu.",
new_record_info="আপনি একটি নতুন রেকর্ড সেট করেছেন!",
new_record_format="%d পা, %s %d",
today_goal_reached="আজকে আপনি আপনার লক্ষ্যে পৌঁছে গেছেন!",
today_goal_reached_click_info="Click to see the results.",
week_continue_reach_goal="আপনি",

challenge_format="একটি সারিতে %d দিনের জন্য আপনি আপনার লক্ষ্য ছুঁয়ে ফেলেছেন!",
personal_best_format="আপনার দীর্ঘতম সফলতা বা বিফলতার পুনরাবৃত্তির সময়সীমা হল %d দিন!",
continue_with_skips_title="আপনি গতকাল আপনার লক্ষ্যে পৌঁছাতে পারেননি। আসুন একটি অলস দিন কাটাই ;)",
continue_with_skips_title_today="আপনি আজ আপনার লক্ষ্যে পৌঁছাতে পারেননি। আসুন একটি অলস দিন কাটাই ;)",
personal_best_with_skips_format=" You have %d Lazy Days left ;)",
continue_used_n_skips_format="একটি পর পর %d দিনের জন্য আপনি আপনার লক্ষ্য ছুঁয়েছেন! আপনার কাছে এখনও %d টি অলস দিন আছে",
continue_used_0_skips_format="একটি সারিতে %d দিনের জন্য আপনি আপনার লক্ষ্য ছুঁয়ে ফেলেছেন! আপনার একটিও অলস দিন বাকি নেই।",
personal_best_on_skip_day_title="সফলতা বা বিফলতার পুনরাবৃত্তির সময়সীমা %d দিন! আপনি একটি অলস দিন পেয়েছেন!",
personal_best_on_skip_day_info="সফলতা বা বিফলতার পুনরাবৃত্তির সময়সীমার প্রতি7- দিন পরে আপনি একটি অলস দিন পাবেন। যখন আপনি আপনার লক্ষ্যে পৌঁছবেন না তখন আপনি অলস দিনগুলি ব্যবহার করতে পারেন।",
manual_lazy_title="আপনি আজ আপনার লক্ষ্যে পৌঁছাতে পারেননি।",
manual_lazy_subtitle="যদি আজকের দিনটি অলস দিন হিসাবে চিহ্নিত করেন তবে আপনার সফলতা বা বিফলতার পুনরাবৃত্তির সময়সীমা বজায় থাকবে।",
manual_lazy_title_used="আজকের দিনটি একটি অলস দিন।",
manual_lazy_subtitle_used="ব্যক্তিগত রেকর্ড ভাঙার মাধ্যমে আপনি আরো অলস দিন পেতে পারেন।",
manual_fail_ytd_title = "গতকাল আপনি আপনার সফলতা বা বিফলতার পুনরাবৃত্তির সময়সীমা সমাপ্ত করেছেন।",
manual_fail_ytd_subtitle = "সফলতা বা বিফলতার পুনরাবৃত্তির সময়সীমা %d দীর্ঘ ছিল।",

active_time_format_0="%dমিনিট",
active_time_format_1="%dঘন্টা",
active_time_format_2="%dঘন্টা %dমিনিট",
activie_run_format_0=" %s দৌড়েছেন। দারুণ করেছেন!",
activie_run_format_1="%s দৌড়েছেন। আপনি খুব ভালো করছেন!",
activie_run_format_2="%s দৌড়েছেন।",
activie_run_consumed="Burned %dcal. %s",

get_distance_format="প্রায় %dমিনিট।",
get_distance_format_british="%dfeet",
activity_walk_format="%s %d পদক্ষেপ, %s -এ হেঁটেছেন",
activity_walk_consumed_format="Burned %dcal %s.",
activity_rope_skipping_format="%s দড়ি লাফানো%d বার",
activity_situp_format="%s %d সিট-আপ",
activity_consumed_format="Burned %dcal %s",
activity_activity_format="%s, %s, %s অনুশীলন করেছেন",
activity_activity_format_run="%s %s অনুশীলন করেছেন, %s দৌড়েছেন",
last_night_sleeped_good_format="গত রাত্রে আপনি %s ঘুমিয়েছেন।",
last_night_sleeped_normal_format="গতরাত্রে আপনি %s ঘুমিয়েছেন।",
deep_sleep_format="%s গভীর ঘুম হয়েছিল।",

battery_low_info="আপনার ব্যান্ডে চার্জ দিন",
battery_very_low_info="আপনার ব্যান্ডের ব্যাটারির মাত্রা কমে গেছে।",

cannot_find_bracelet="আপনার ব্যান্ড খুঁজে পাওয়া যাবে না।",
cannot_find_bracelet_info="সুনিশ্চিত হয়ে নিন যে আপনার ব্যান্ডের ব্যাটারি চার্জ করা হয়েছে।",

bracelet_disconnect = "Unable to connect?click to get help.",

challenge_to_get="একটি নতুন রেকর্ড সেটিং থেকে %s দিন!",
record_reach_max="আপনি আপনার বিদ্যমান রেকর্ড আবদ্ধ করেছেন!",
new_record_born="আপনি একটি নতুন রেকর্ড সেট করুন।",

---====== Weather tips ===============
weather_tips_title_0 = "অত্যন্ত দূষণ, ঘরে থাকার চেষ্টা করুন",
weather_tips_title_1 = "অত্যন্ত দূষণ, ঘরে থাকার চেষ্টা করুন",
weather_tips_info = "সিট-আপ বা দড়ি লাফানো হল ঘরের ভিতরে করার মত ভালো শরীরচর্চা!",

---------------Weight scale -------------------
welcome_use_weight_scale = "Hi there!",
welcome_use_weight_scale_not_bind = "Tap to bind scale",
welcome_use_mi_health="Hi there!",

select_devices="Choose devices to pair",
daily_steps_not_comlete = "%s steps remaining",

am_format="%sAM",
pm_format="%sPM",

--=============================================
--===== 不要翻译的内容记载在下面====================
--=============================================

--=================== Game ====================
game_register="国庆七天日行万步, 赢取小米手机4",
game_not_register_info="分享微博赢取微博大奖",
game_register_info="已成功报名, 倒计时%s天",
game_playing="国庆七天日行万步, 第%s天挑战中",
game_playing_done="国庆七天日行万步, 第%s天达成",
game_playing_lastday="最后一天即将完成日行万步挑战, 加油",
game_playing_lastday_done="恭喜, 国庆七天日行万步挑战成功",
game_playing_bonus_info="中将结果将在%s月%s日揭晓",
click_to_show_result="点击查看活动进展",
game_fail_title_ytd="很遗憾, 昨天未达成10000步",
game_fail_title="很遗憾, %s月%s日未达成10000步",
game_failed_title="国庆七天日行万步",
game_fail_info="继续关注活动, 分享微博赢取微博大奖",

game_bonus_hit="恭喜你成为“国庆七天日行万步”获奖者",
game_bonus_hit_info="点击查看中奖结果",
game_bonus_miss="国庆七天日行万步, 中奖结果已经揭晓",
game_bonus_miss_info="快去看看哪些人中奖了吧",
game_bonus_open="中奖结果将在%s月%s日揭晓, 敬请关注",
game_bonus_open_tomorrow="中奖结果将在明天揭晓, 敬请关注",
game_bonus_open_today="中奖结果将在今天揭晓, 敬请关注",

share_to_content_for_event="“国庆七天日行万步得小米手机4”活动火热报名中,没有手环? 转发此微博即有机会赢取手环F码,点击链接查看活动详情。",
game_share_to_registered="我报名参加了“日行万步得小米手机4”的活动,你愿意站在一旁默默祝福我还是一起来参加呢?离活动开始只剩%s天了, 快来报名吧",
game_share_to_finished="今天10000步目标顺利完成",
game_share_to_not_finished="向着10000步前进",
game_share_to_failed="没想到呀,我居然挑战失败了",
game_share_to_success="挑战成功!一共走了%s步",
game_share_to_hit_bonus="一个不小心中奖了,快来围观给我点赞吧",
game_share_to_not_hit_bonus="没有抽中,就当是给下次中奖攒人品了",
less_than_one="小于1",


}

0 comments on commit 5724c33

Please sign in to comment.