Opened on 03/10/2018 at 12:26:59 AM

Closed on 03/14/2018 at 11:16:44 PM

#6460 closed change (fixed)

Prevent strings that are not to be localized from being exported

Reported by: dzhang Assignee: dzhang
Priority: Unknown Milestone:
Module: Adblock-Plus-for-iOS/macOS Keywords:
Cc: Blocked By:
Blocking: #6261 Platform: iOS
Ready: no Confidential: no
Tester: Unknown Verified working: no
Review URL(s):

Description (last modified by dzhang)

Background

There are strings used that are being included in the localization export that do not require translation.

Examples are

  • "www.website.com"
  • "1."
  • "2."

A solution for setting their values while excluding them automatically using needs-translation (https://github.com/adblockplus/needs-translation)

What to change

  1. Prevent the values that will not be translated from being included during export of strings for translation.

Attachments (0)

Change History (4)

comment:1 Changed on 03/10/2018 at 12:28:29 AM by dzhang

  • Blocking 6261 added

comment:2 Changed on 03/14/2018 at 11:12:46 PM by dzhang

  • Description modified (diff)

comment:3 Changed on 03/14/2018 at 11:16:25 PM by dzhang

The following exclusions should cover strings not to be translated.

const sourcesExcluded =
  [
    "$(PRODUCT_DISPLAY_NAME)",
    "$(PRODUCT_NAME)",
    "1.",
    "2.",
    "www.website.com"
  ];

comment:4 Changed on 03/14/2018 at 11:16:44 PM by dzhang

  • Resolution set to fixed
  • Status changed from new to closed

Add Comment

Modify Ticket

Change Properties
Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from dzhang.
 
Note: See TracTickets for help on using tickets.