Skip to content

Commit

Permalink
Merge pull request #29 from randcatcraps/main
Browse files Browse the repository at this point in the history
Fix up some locales
  • Loading branch information
ColdWindScholar authored Mar 23, 2024
2 parents c8a7d3b + 5a9ed7b commit 38296cf
Show file tree
Hide file tree
Showing 11 changed files with 151 additions and 151 deletions.
6 changes: 3 additions & 3 deletions Document_Library.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
"""AI Document For MIO-KITCHEN"""
library = {
"error: ext4_allocate_best_fit_partial: failed to allocate xxx blocks, out of space?": {
"en": "You should increase the size of the img packaging, if u use <auto>, You should switch to the <original size> , and modify <PARTNAME>_size.txt(in <config> folder) increase the size of the image, and try pack again",
"en": "You should increase the size for the img you are packing, if u use <auto>, You should switch to the <original size> , and modify <PARTNAME>_size.txt(under <config> folder) to increase the size of the image, and try again",
"cn": "您应该增加镜像打包的大小,如果您使用<自动读取>,您应该切换到<原大小>,并修改<分区名>_size.txt(位于<config>文件夹)增加图像的大小,然后重试打包"
},
'error: build_directory_structure: cannot lookup security context for xxx': {
"en": "You should check if there are any folders/files with spaces in their names in this folder. If you find any, please rename or delete them and repackage them",
"en": "You should make sure there is no whitespace characters in directory or file names and try again.",
"cn": "您应该检查此文件夹是否存在名称带空格的文件夹/文件,发现后请重命名或删除,然后重新打包"
},
"Partition table must have at least one entry": {
"en": "Please select at least one partition for Super packaging",
"en": "Please select at least one partition for Super",
"cn": "请为Super至少选择一个分区打包"
},
}
44 changes: 22 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# MIO-KITCHEN-SOURCE #
![Banner](https://github.com/ColdWindScholar/MIO-KITCHEN-SOURCE/blob/a9bcfdf613ad28e82f7899e3d420d76ecfea174c/splash.png)
#### The Rom Tool Written in Python
#### A Rom Tool Written in Python
> [!CAUTION]
> Unauthorized prohibition of commercial use
> Unauthorized commercial use prohibited
***
## This tool uses many open source projects. Pay tribute to the developers!
## This tool uses many open source projects. Huge shout out to the developers!
***
## Localization
### Japanese: [ja-JP](https://github.com/ColdWindScholar/MIO-KITCHEN-SOURCE/blob/main/README_ja-JP.md)
### Chinese: [zh-CN](https://github.com/ColdWindScholar/MIO-KITCHEN-SOURCE/blob/main/README_zh-CN.md)
### 日本語: [ja-JP](https://github.com/ColdWindScholar/MIO-KITCHEN-SOURCE/blob/main/README_ja-JP.md)
### 中文: [zh-CN](https://github.com/ColdWindScholar/MIO-KITCHEN-SOURCE/blob/main/README_zh-CN.md)
### Portuguese (Brazil): [pt-BR](https://github.com/ColdWindScholar/MIO-KITCHEN-SOURCE/blob/main/README_pt-BR.md)
### German: [de-DE](https://github.com/ColdWindScholar/MIO-KITCHEN-SOURCE/blob/main/README_de-DE.md)
***
Expand All @@ -17,13 +17,13 @@
* Pack boot, dtbo, ext4, erofs, payload, logo and so on
***
## Advantages
* Automatically repair CONTEXT
* Automatic fs_config and fs_context patch
* GUI graphical interface
* Graphical parsing of plugins supports plugin editing, plugin installation, plugin export
* Quick updates, secure and stable
* A graphical plugin manager, plus an editor for plugin script editing. Support plugin installing and exporting
* Quick updates, secure, stable and fast
* Unique MSH interpreter that supports running MSH scripts
* Support installation of ROMs below Android 8 and packaging as IMG
* Use mkc file chose api on Linux, make use easily
* Provide backward compatibility with Android 8 and lower and create .img for these versions
* Use mkc file choose api on Linux, making it easier to use
***
## * macOS Notice
``` shell
Expand All @@ -33,9 +33,9 @@
brew install gettext
```
## Start To Use
### Notice!
#### The Source Only Support Python 3.8 and Newer!
### Necessary Prepare
> [!NOTE]
> Currently Only Support Python 3.8 and Newer!
### Prerequisites
<details><summary>macOS</summary>

```` shell
Expand Down Expand Up @@ -65,10 +65,10 @@ pip install -r requirements.txt

</details>

### Then Start
### Get started
```` shell
python tool.py
# if you want to package it into binary, you can
# to create a binary distribution, you could:
python build.py
````
***
Expand All @@ -81,21 +81,21 @@ python build.py
***
# Contributors:
***
### macOS partial binary compiler: [sk](https://github.com/sekaiacg)
### Some code provider: [Affggh](https://github.com/affggh)
### Partial logo designer: [Shaaim](https://github.com/786-shaaim)
### macOS prebuilt binary for several tools: [sk](https://github.com/sekaiacg)
### Some part of the code: [Affggh](https://github.com/affggh)
### Logo co-designer: [Shaaim](https://github.com/786-shaaim)
### Japanese translator: [reindex-ot](https://github.com/reindex-ot)
### Portuguese (Brazil) translator: [igor](https://github.com/igormiguell)
### German translator: [keldrion](https://github.com/keldrion)
### And MORE...
### Thanks for your help!!
### Thanks to people like you for helping out!!
***
# About
***
### MIO-KITCHEN
```
Forever free, user first
Good Tools, in here!
Written by MIO-KITCHEN-TEAM
Always free, users first
Quality Tools, presented here!
Brought you by the MIO-KITCHEN-TEAM
```
#### ColdWindScholar([email protected]) All Rights Reserved. ####
8 changes: 4 additions & 4 deletions README_ja-JP.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ pip install -r requirements.txt
### それではスタート
```` shell
python tool.py
# if you want to package it into binary, you can
# to create a binary distribution, you could:
python build.py
````
***
Expand All @@ -77,9 +77,9 @@ python build.py
***
# 貢献者:
***
### macOS partial binary compiler: [sk](https://github.com/sekaiacg)
### Some code provider: [Affggh](https://github.com/affggh)
### Partial logo designer: [Shaaim](https://github.com/786-shaaim)
### macOS prebuilt binary for several tools: [sk](https://github.com/sekaiacg)
### Some part of the code: [Affggh](https://github.com/affggh)
### Logo co-designer: [Shaaim](https://github.com/786-shaaim)
### Japanese translator: [reindex-ot](https://github.com/reindex-ot)
### Portuguese (Brazil) translator: [igor](https://github.com/igormiguell)
### German translator: [keldrion](https://github.com/keldrion)
Expand Down
130 changes: 65 additions & 65 deletions bin/languages/English.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,85 +3,85 @@
"cancel": "Cancel",
"pack": "Pack",
"unpack": "Unpack",
"not_active": "You have not activated it, please activate and use it!",
"attribute": "attribute",
"not_active": "This program is not activated, please activate before use!",
"attribute": "Properties",
"run": "Run",
"lang": "Language:",
"ai_engine": "AI ENGINE",
"settings": "Settings",
"warn1": "Please select a project",
"warn2": "Please select a plugin",
"warn3": "{} not found",
"warn4": "Unpacking failed... {}",
"warn5": "You have not unpacked",
"warn6": "Image file not found!",
"warn3": "{} is not found",
"warn4": "Unpack failed... {}",
"warn5": "Unpack the image first",
"warn6": "Logo patterns are not found!",
"warn7": "{} not fully installed or damaged",
"warn8": "This plugin is not operational",
"warn9": "Uninstall failed! whether this plugin is running or occupied",
"warn10": "Sorry, packaging failed!",
"warn8": "This plugin is not executable",
"warn9": "Uninstall failed! The plugin might be running or holded by another program",
"warn10": "Sorry, the packing command failed!",
"warn11": "Failed to delete {}!",
"warn12": "Please enter",
"warn13": "[W]: You are using a normal user to run the tool, this may cause packet deciphering (hitting) abnormalities, (You Should Use ROOT)",
"warn14": "Unsupported control: {}",
"warn15": "Unsupported System {}",
"warn13": "[W]: The tool was started with normal user privileges, unpack / pack functions may not work correctly in this case (please run with Sudo/ROOT)",
"warn14": "Unknown Widget: {}",
"warn15": "Unsupported OS {}",
"text1": "Writing:",
"text2": "Error writing {} : {}",
"text3": "Packaging {} succeeded!",
"text3": "Packed successfully : {}!",
"text4": "Decompiling {0}",
"text5": "Unpacked successfully!",
"text6": "Back-compiling:",
"text6": "Recompiling:",
"text7": "Creating image:",
"text8": "Success!",
"text9": "Function",
"text9": "Functions",
"text10": "Logs",
"text11": "Home",
"text12": "Project",
"text13": "Settings",
"text14": "About",
"text15": "Background Task",
"text16": "Donation Support",
"text16": "Support Us",
"text17": "Close",
"text18": "Subpage",
"text19": "Plugin",
"text20": "Uninstall",
"text21": "Install",
"text22": "Run",
"text23": "Refresh",
"text24": "Right-click to display menu",
"text24": "Right-click on a plugin to display the options",
"text25": "Select plugin",
"text26": "Plugin",
"text27": "not implemented",
"text28": "Browse",
"text29": "Unloading: {}",
"text29": "Uninstalling: {}",
"text30": "Uninstallation complete!",
"text31": "Plugin Installation",
"text32": "Version: {}",
"text33": "Author: {}",
"text34": "Finish",
"text35": "dependent normal: {}",
"text35": "dependency ok: {}",
"text36": "%s depends on %s, but %s is not installed",
"text37": "Retry",
"text38": "Extracting: {0}",
"text39": "Installation complete",
"text40": "Ready",
"text41": "Install",
"text42": "packaging settings",
"text43": "EXT4",
"text44": "EROFS",
"text42": "Pack options",
"text43": "For EXT4",
"text44": "For EROFS",
"text45": "Additional settings",
"text46": "Pack partition",
"text47": "BR Level: {}",
"text48": "Packing by:",
"text49": "Packaging format:",
"text46": "Partition(s) to pack",
"text47": "Brotli Level: {}",
"text48": "Pack with:",
"text49": "Output Format:",
"text50": "Compression method",
"text51": "Version:",
"text52": "Process Vbmeta",
"text53": "Super repackaging options",
"text54": "partition type",
"text55": "Packaging partition",
"text56": "Cluster name",
"text52": "Patch Vbmeta",
"text53": "Pack super",
"text54": "Partition Layout",
"text55": "Include partition(s)",
"text56": "Group name",
"text57": "Super size",
"text58": "Sparse compression",
"text58": "Create a Sparse Image",
"text59": "Packed successfully! Output: %s",
"text60": "Please enter your link",
"text61": "Download:",
Expand All @@ -92,27 +92,27 @@
"text66": "Download error",
"text67": "Please delete manually",
"text68": "Download failed",
"text69": "Clean folder exception",
"text69": "An error occurred cleaning up the directory",
"text70": "Found: %s",
"text71": "Processing: %s",
"text72": "Cleaning up: %s",
"text73": "Failed to delete %s! Reason: %s",
"text74": "Resize %s to %s",
"text75": "Failed to package %s!",
"text74": "Resizing %s to %s",
"text75": "Failed to pack %s!",
"text76": "Enter text",
"text77": "Select file:",
"text78": "Deciphering OZIP:",
"text78": "Decrypting OZIP:",
"text79": "Unpacking:",
"text80": "%s unpack failed, reason: %s",
"text81": "Decompression completed",
"text82": "This file is not supported format, %s",
"text83": "Merge %s to %s",
"text83": "Appending %s to %s",
"text84": "does not exist",
"text85": "Processing:",
"text86": "Package %s as %s.new.dat",
"text87": "Packaging %s.new.dat complete",
"text88": "Start packing %s.new.dat.br",
"text89": "Packed %s.new.dat.br complete",
"text86": "Converting %s to %s.new.dat",
"text87": "Finished conversion for %s.new.dat",
"text88": "Start compressing %s.new.dat.br",
"text89": "Finished compressing %s.new.dat.br",
"text90": "Start packing: %s [erofs] \nCompression format: %s \nversion: %s",
"text91": "Start packing: %s",
"text92": "Status:",
Expand All @@ -121,18 +121,18 @@
"text95": "Logs saved to:",
"text96": "Selected items:",
"text97": "Deleting:",
"text98": "Delete successful:",
"text98": "Successful deleted:",
"text99": "New Project: %s",
"text100": "Select Theme:",
"text101": "Failed to select topic: %s Reason: %s",
"text101": "Failed to select theme: %s Reason: %s",
"text102": "Rename:",
"text103": "A folder or file with the same name exists!",
"text104": "Same name",
"text104": "The new name is the same as the previous one.",
"text105": "Clear",
"text106": "Export",
"text107": "Upload",
"text108": "Welcome to the new MIO-KITCHEN\nThis tool is free forever",
"text109": "Mio-KitChen will always remain free \n donate to developers as a token of support.",
"text109": "Mio-KitChen will always remain free \n show your support to the developer by donating.",
"text110": "©2023 ColdWindScholar All Rights Reserved.",
"text111": "- Focus on Android ROM modification -",
"text112": "Other",
Expand All @@ -148,54 +148,54 @@
"text122": "Pack ZIP",
"text123": "Pack Super",
"text124": "Theme:",
"text125": "Path:",
"text126": "Modify",
"text127": "Mio-KitChen\nHonorary production",
"text125": "Working directory:",
"text126": "Change",
"text127": "This program is proudly brought you by\nThe Mio-KitChen",
"text128": "Tool version: {}\nPython library version: {}\nOperating system: {}\nInstruction set: {}",
"text129": "Select language:",
"text130": "Language selection failed!",
"text131": "Drag in file",
"text132": "Drag the plugin or ROM here \nor use the mouse to click here to select a file",
"text133": "The plugin cannot parse",
"text134": "Initialization time : %s Seconds",
"text132": "Drag and drop the plugin or ROM here \nor click the mouse button here to select a file",
"text133": "Unable to parse the plugin",
"text134": "Startup took : %s Seconds",
"text135": "Welcome!",
"text136": "Start",
"text137": "Welcome to use New MIO-KITCHEN!\nLet's Start!",
"text138": "Next",
"text139": "Open source certificate",
"text139": "Open source license",
"t1": "By clicking (Next), you have fully read and agree to the agreement,\nand ensure strict compliance with it",
"t2": "Privacy Policy and User Agreement",
"t3": "By clicking (Next), you have read and agreed to all privacy policies and user agreements",
"t4": "Setting completed",
"t4": "All set",
"t5": "Experience the exciting M.K.C! \nClick Finish to close this Window",
"t6": "Uninstall Plug-in",
"t7": "Uninstall %s?",
"t8": "The following plugins will also be uninstalled:",
"t9": "Delete {}?",
"t10": "Super size {} too small.\nPlease reset the size.\nWe have filled in the reference value for you",
"t11": "Delete Source File",
"t12": "Is your OFP mtk or qc?\nMTK: enter ok\nQC: enter cancel",
"t13": "format conversion",
"t10": "Super size {} too small.\nPlease re-enter the size.\nWe have filled in the reference value for you",
"t11": "Remove the Original File",
"t12": "Is your OFP mtk or qcom?\nMTK -> Hit ok\nQCOM -> Hit cancel",
"t13": "Convert Image",
"t14": "Export",
"t15": "Export successful: %s",
"t16": "Export Fail: %s",
"t17": "Edit",
"t18": "Your plugin project does not have a script file \n Please select the type of script you want to create",
"t19": "Make New Plug-in",
"t19": "Create New Plug-in",
"t20": "Name:",
"t21": "Author:",
"t22": "Version:",
"t23": "Dependent Libraries:",
"t24": "Introduce",
"t25": "Do you want to pack Integrated ROM",
"t26": "Please Enter Your Device Code",
"t23": "Required Libraries:",
"t24": "Description",
"t25": "Also make the resulting ROM package friendly for flashing via a PC?",
"t26": "Please enter your device codename",
"t27": "Generate LIST",
"t28": "Working",
"t29": "Warn:The Project Name Cannot has [space]",
"t29": "Warn:Project names cannot contain [space]",
"t30": "EROFS Level:{}",
"t31": "Size Handle:",
"t31": "Image size:",
"t32": "Auto",
"t33": "Origin",
"t33": "Same as Original",
"t34": "EXT4<=>EROFS",
"t35": "Support For Old Kernel"
}
Loading

0 comments on commit 38296cf

Please sign in to comment.