Skip to content

Fluent: check different locales, support ignore specific messages #70

@northword

Description

@northword

1. check different locales

https://github.com/northword/zotero-plugin-scaffold/blob/4c9ef62553fd32de5bc64c333a266d89dabfba39/src/core/builder.ts#L206

每个 message 都必须存在于每个 locale 中,不能 A 语言有而 B 语言没有。

2. support ignore specific messages

另外可能需要:

  1. 从zotero仓库chrome/locale/en-US/zotero/mozilla 拉取自带的ftl,并对其中的ftl字符串跳过加前缀
  2. 或允许用户自定义一些跳过ftl字符串加前缀的正则匹配,若命中则不加前缀且不警告

Originally posted by @windingwind in #14 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions