Add localized string for timestamp
CSL locator
Not included in the CSL locales: https://forums.zotero.org/discussion/comment/412060/#Comment_412060
This commit is contained in:
parent
c4c940722b
commit
2c11aadc57
3 changed files with 11 additions and 0 deletions
|
@ -10,6 +10,11 @@ describe("Zotero.Cite", function () {
|
|||
assert.equal(Zotero.Cite.getLocatorString('sub-verbo'), 'Sub verbo');
|
||||
});
|
||||
|
||||
it("should get 'timestamp' in en-US", function () {
|
||||
Zotero.locale = 'en-US';
|
||||
assert.equal(Zotero.Cite.getLocatorString('timestamp'), 'Timestamp');
|
||||
});
|
||||
|
||||
it("should get 'book' in fr-FR", function () {
|
||||
Zotero.locale = 'fr-FR';
|
||||
assert.equal(Zotero.Cite.getLocatorString('book'), 'Livre');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue