eritpchy / FingerprintPay

让微信、QQ、支付宝、淘宝、云闪付支持使用指纹支付
GNU General Public License v2.0
2.84k stars 119 forks source link

Added Japanese translation #174

Closed kuragehimekurara1 closed 4 months ago

eritpchy commented 1 year ago

感谢贡献, 但其实还有挺多的, src/main/java/com/surcumference/fingerprint/Lang.java, 以及代码内对ViewUtils.findViewByText的引用

kuragehimekurara1 commented 1 year ago

I would love to translate that too! Should I add it to strings.xml in the values-ja folder? Please let me know if there is another way!

eritpchy commented 1 year ago

This four line in values-ja/strings.xml should be fine. In the Lang.java, format ex: tr("指纹支付", "指纹支付", "Fingerprint Pay", "Japanese text"); For ViewUtils.findViewByText ref, If target app has Japanese translation(for example: Wechat), you should copy these text from app paste into ViewUtils.findViewByText(last argument), If it's too much trouble, you can skip this and just translate Lang.java.

Thanks.