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:
Dan Stillman 2022-07-09 18:07:07 -04:00
parent c4c940722b
commit 2c11aadc57
3 changed files with 11 additions and 0 deletions

View file

@ -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');