Giter Site home page Giter Site logo

magisk-icu-fix's Introduction

ICU zh-hans Digital Unit Fix for Android 8.1+

Overview

Since Android 8.1 (android-8.1.0_r1), android.text.formatter.Formatter.formatFileSize() starts to use the strings from ICU library to format the file size, which contains many some unnessary Chinese translations. It makes us get file size or storage space in 3.12吉字节 instead of 3.12 GB in Android 8.1+ with zh-hans.

Picture via @sumimakito: https://twitter.com/sumimakito/status/938689794204246016

This module replaces the icu data file to fix this problem.

概览

从 Android 8.1 (android-8.1.0_r1) 开始, android.text.formatter.Formatter.formatFileSize() 开始使用来自 ICU 库的字符串来格式化文件大小, 这个库包含有一些 不必要的翻译, 这使我们在简体中文的 Android 8.1+ 上看到的文件大小、剩余空间之类的东西是 3.12吉字节 而不是 3.12 GB.

这个模块更换了 ICU 数据文件来解决这个问题。

Dowload

Release

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.