-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
重命名问题 #201
Comments
哥们,感谢你提供的这个命名规则。我试了一下,通过删除空格(这种形式:}} {{应该改成无空格的形式}}{{)可以解决这个问题。下面是我修改后的,你可以试一下。 {{ if language == "en" }}{{ if firstCreator == creators }}{{ firstCreator }}{{ else }}{{ creators join=" & " max="2" suffix=" et al." }}{{ endif }} |
上面规则存在一点问题,我补充一个修改版的规则,更加直观易于理解,分别针对一个作者,两个作者,两个作者以上作者的情形。 {{ if language == "en" }} |
谢谢,按你说的已经解决啦 |
按此规则:
{{ if language == "en" }} {{ if firstCreator == creators }}{{ firstCreator }}{{ else }} {{ creators join=" & " max="2" suffix=" et al." }}{{ endif }}
{{elseif language == "en-US" }} {{ if firstCreator == creators }}{{ firstCreator }}{{ else }} {{ creators join=" & " max="2" suffix=" et al." }}{{ endif }}
{{ elseif language == "zh-CN" }}{{ if firstCreator == creators }}{{ firstCreator }}{{ else }}{{ creators join=" 和 " max="2" suffix=" 等"}}{{ endif }}
{{ elseif language == "zh" }}{{ if firstCreator == creators }}{{ firstCreator }}{{ else }}{{ creators join=" 和 " max="2" suffix=" 等"}}{{ endif }}
{{ endif }}{{year}}{{ title truncate="50" }}
重命名后,英文文献的名称最前面会有空格,一直不知道怎么删除,在ONedrive上同步会报错,说是有无效字符
The text was updated successfully, but these errors were encountered: