smhg / smhg/gettext-parser

declaration of control variable of plurals

Open
#55 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
169
Forks
48
PR merge metrics
No merged PRs in 30d

Description

I'd like to save the name of the control variable for plural forms.
I will amend _parseComments and _drawComments to accept and output
#$ varname
bound to comments.control
This is trivial of course, its a case of whether we want it, and if so what $ and control should be

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating _parseComments and _drawComments and reading how comments.control is represented. Confirm with maintainers whether the proposed #$ varname syntax and the names $ and control are wanted; done means the syntax and behavior are agreed and both methods consistently accept and output the control-variable name.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
internationalization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.