Giter Site home page Giter Site logo

xzz666 / calibre-do-not-translate-my-path Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cirn09/calibre-do-not-translate-my-path

0.0 0.0 0.0 36 KB

Switch my calibre library from ascii path to plain Unicode path. 将我的书库从拼音目录切换至非纯英文(中文)命名

License: GNU General Public License v3.0

Python 100.00%

calibre-do-not-translate-my-path's Introduction

Calibre 不要翻译我的文件路径 | Calibre: Do not translate my file paths

如题所示,让你的 Calibre 不要把中文路径翻译成拼音。

As the title suggests, this is a guide on how to prevent Calibre from translating Chinese file paths into Pinyin.

使用方法 | Usage

  1. 根据平台和 Calibre 版本下载 Release,覆盖原本 Calibre 文件。
  2. 没了

  1. Download the Release for your platform and replace the original Calibre files.
  2. Enjoy.

如果你已经创建了书库,希望将已有的书库改成非英文路径:

If you have already created a library and want to change the existing library to a non-English path:

  1. 备份你的书库(可选,建议)
  2. 打开书库,按下 Ctrl+A 选中所有书籍
  3. 右键 - 编辑元数据 - 批量编辑元数据 - “查找替换”页
  4. 查找模式:正则表达式,查找的字段:title,搜索:$,替换为:__DELME__
  5. 点击“应用”,等待 Calibre 完成(点击前注意看一下下面的替换预阅,新书名应当是原书名+__DELME__
  6. 查找模式:字符匹配,查找的字段:title,搜索:__DELME__,“替换为”保持为空(
  7. 点击“确定”,等待 Calibre 完成(点击前注意看一下下面的替换预阅,此时的新书名应当是原本的书名)

  1. Backup your library (optional, but recommended).
  2. Open the library and press Ctrl+A to select all books.
  3. Right-click and choose "Edit metadata," then select "Bulk metadata edit," and go to the "Search and Replace" page.
  4. Use regular expressions as the search mode and search for "title" by entering $ in the search field. Replace it with __DELME__.
  5. Click "Apply" and wait for Calibre to finish.
  6. Use character matching as the search mode and search for "title" by entering __DELME__ in the search field. Leave the "Replace with" field empty.
  7. Click "OK" and wait for Calibre to finish.

PS: English version is translated by ChatGPT. If you find any mistakes, feel free to open an issue or PR.

原理 | Principle

后序写篇博客,在写了在写了.jpg

I will write a blog post about it later.

参考 | References

snomiao/calibre-utf8-path

calibre-do-not-translate-my-path's People

Contributors

cirn09 avatar

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.