Page MenuHomePhabricator

Add Cita to translatewiki.net
Closed, ResolvedPublic

Description

Project information

Name: Cita
Homepage: https://www.wikidata.org/wiki/Wikidata:Zotero/Cita
Project link: https://www.wikidata.org/wiki/Wikidata:Zotero/Cita
Code repository: https://github.com/diegodlh/zotero-wikicite/

  • Source branch: master
  • Target branch: i18n

OS License: GPL v3
Issue Tracker: https://github.com/diegodlh/zotero-wikicite/issues
Project contact: Diegodlh

Logo:

Project description:
Bring citations metadata support to your Zotero library using the power of Wikidata

Cita is a Wikidata addon for Zotero that adds citations metadata (i.e., what other items an item cites) support to this open source reference management software. It is being developed with a WikiCite grant from the Wikimedia Foundation.

Additional information

  • Translations are available in static/chrome/locale.
  • The addon name is being changed from "WikiCite addon for Zotero" to "Cita".
  • Regarding documentation, basic installation instructions are currently available in the Github repository. In addition, recordings of English and Spanish workshops --to be held by the end of May-- will be posted to the Project's homepage. These will be turned into written documentation, with help from the community.
  • Concerning time to get translations into use (TIU), the project is currently under active development, with new releases every 1-2 months, but it does not have continuous integration tools set up. I can release a new version within 1-2 weeks since translations become available. Updates will be automatically downloaded by Zotero.
  • I have already changed message keys to not include capital letters.
  • I have also started writing message documentation, which you can find in static/chrome/locale/qqq.
NOTE: Section below will be filled by twn staff

Project setup checklist

Project configuration (for translation admins)

Namespace:
Prefix:
Validators:

Concerns

Event Timeline

Do you want translation updates to be submitted as pull requests?

I see the strings contain printf-style variables, but some of them are using uppercase letters, for example %S. Our variable validator only considers lower case letters. Either that or the use in the strings should be changed.

Before the first import, the empty values from qqq should be removed.

This kind of plural handling does not work across languages:

wikicite.citations-pane.citations.count.plural = %S citations:
wikicite.citations-pane.citations.count.singular = %S citation:
wikicite.citations-pane.citations.count.zero = %S citations:

A proper solution should be found. As this seems to be the only string with plurals, I think we can do with citation(s) for the time being.

Hi, @Nikerabbit! Thanks for your prompt reply.

Do you want translation updates to be submitted as pull requests?

That would be the best! In that case, they can be submitted directly to the master branch, instead of the i18n branch.

I see the strings contain printf-style variables, but some of them are using uppercase letters

Solved.

Before the first import, the empty values from qqq should be removed.

Solved.

I think we can do with citation(s) for the time being.

I like that! Done

Let me know if further changes are necessary.

Thanks!

Do you want translation updates to be submitted as pull requests?

That would be the best! In that case, they can be submitted directly to the master branch, instead of the i18n branch.

We do not support forks, so the way it works is that we will push to another branch (i18n per your suggestion) and automatically create or update an existing a pull request against master. This will happen twice a week, if there are any changes.

This looks good to me. Please set up commit access per https://translatewiki.net/wiki/Setup_of_a_new_project#Access_for_delivering_translation_updates so that we can continue. Basically, @translatewiki needs push access to the i18n branch.

Change 681006 had a related patch set uploaded (by Nikerabbit; author: Nikerabbit):

[translatewiki@master] Add Cita

https://gerrit.wikimedia.org/r/681006

@translatewiki needs push access to the i18n branch.

Done!

Thanks, @Nikerabbit!

Change 681006 merged by jenkins-bot:

[translatewiki@master] Add Cita

https://gerrit.wikimedia.org/r/681006

Change 681423 had a related patch set uploaded (by Abijeet Patro; author: Abijeet Patro):

[translatewiki@master] Cita: Fix codeMap

https://gerrit.wikimedia.org/r/681423

Change 681423 merged by jenkins-bot:

[translatewiki@master] Cita: Fix codeMap and sourcePattern

https://gerrit.wikimedia.org/r/681423