Closed Bug 962761 Opened 10 years ago Closed 10 years ago

[email] better l10n string for default attachment name

Categories

(Firefox OS Graveyard :: Gaia::E-Mail, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
1.3 C3/1.4 S3(31jan)

People

(Reporter: jrburke, Assigned: jrburke)

Details

(Whiteboard: [p=1])

Attachments

(1 file)

Bug 960282 introduced a new l10n string for default attachment name. However, it used a plural form for the l10n string, which is not applicable for this particular case. See bug 960282, comment 9 for the start of that conversation.

End result, replace the `default-attachment-name` use with a new string name that just has the singular form for the name, with the number of the attachment passed in, something like:

default-attachment-name=attachment{{ n }}

As noted in the conversation on the other bug, this does not need to change for 1.3, this is just to apply to master for best practices going forward.
Attached file GitHub pull request
Creates a new string key, `default-attachment-filename`, to store the l10n string and removes the old string as it is no longer used.

Asking :flod for review as he caught the original issue.
Attachment #8363928 - Flags: review?(francesco.lodolo)
Whiteboard: [p=1]
Comment on attachment 8363928 [details] [review]
GitHub pull request

Change looks good to me, but it's better if a real Gaia reviewer approves it ;-)
Attachment #8363928 - Flags: review?(francesco.lodolo) → feedback+
Comment on attachment 8363928 [details] [review]
GitHub pull request

Oops, yes, I should have asked for r? from :asuth, as he reviewed original related changeset, and just feedback? from :flod.
Attachment #8363928 - Flags: review?(bugmail)
Attachment #8363928 - Flags: review?(bugmail) → review+
Merged gaia master:
https://github.com/mozilla-b2g/gaia/pull/15614

from pull request:
https://github.com/mozilla-b2g/gaia/pull/15614
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: