Translation: Some pairs of strings need to be fetched with ngettext

Open
#19 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
python

Research direction

Start in usr/lib/linuxmint/mintUpload/mintUpload.py at lines 89, 91, 127-131, 236, and 238, reading the surrounding upload-status message code and existing translation usage. The work is done when each listed singular/plural message pair is fetched with ngettext while retaining the shown placeholders and service names.

Written by the indexing model from the issue text.

Description

Please fetch the following strings with ngettext, so that they can be translated properly:

Successfully uploaded %(number)d files to '%(service)s'

Located in: usr/lib/linuxmint/mintUpload/mintUpload.py:89

You can combine it with this string then:

Successfully uploaded 1 file to '%(service)s'

Located in: usr/lib/linuxmint/mintUpload/mintUpload.py:91

Uploading %(number)d files to %(service)s

Located in: usr/lib/linuxmint/mintUpload/mintUpload.py:127

Can be combined with:

A' luchdadh suas aon fhaidhle gu %(service)s

Located in: usr/lib/linuxmint/mintUpload/mintUpload.py:130

%(percentage)s of %(number)d files - Uploading to %(service)s

Located in: usr/lib/linuxmint/mintUpload/mintUpload.py:128 usr/lib/linuxmint/mintUpload/mintUpload.py:236

Can be combined with:

%(percentage)s of 1 file - Uploading to %(service)s

Located in: usr/lib/linuxmint/mintUpload/mintUpload.py:131 usr/lib/linuxmint/mintUpload/mintUpload.py:238

Dominant language
Python
Stars
18
Forks
14
PR merge metrics
No merged PRs in 30d

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.

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.