support 1 trillion gold

This commit is contained in:
Phillip Thelen 2019-04-26 11:49:37 +02:00
parent 33d350880c
commit 8605667adf
2 changed files with 2 additions and 0 deletions

View file

@ -897,4 +897,5 @@
<string name="garden">Garden</string>
<string name="i_agree_to_follow_the_guidelines">I agree to follow the guidelines</string>
<string name="report_violation">Report Violation</string>
<string name="trillion_abbrev">t</string>
</resources>

View file

@ -26,6 +26,7 @@ object NumberAbbreviator {
1 -> context.getString(R.string.thousand_abbrev)
2 -> context.getString(R.string.million_abbrev)
3 -> context.getString(R.string.billion_abbrev)
4 -> context.getString(R.string.trillion_abbrev)
else -> ""
}
}