Opened 10 months ago

Closed 10 months ago

Last modified 4 months ago

#7127 closed change (fixed)

Use npm script instead of checktranslations command

Reported by: erikvold Assignee: greiner
Priority: P3 Milestone:
Module: User-Interface Keywords:
Cc: tlucas, sebastian, wspee, greiner Blocked By:
Blocking: #104 Platform: Unknown / Cross platform
Ready: yes Confidential: no
Tester: Unknown Verified working: no
Review URL(s):

Description (last modified by greiner)


We are trying to remove dependency on the buildtools repo from the adblockpluscore and adblockpluschrome repos, and replace the commands provided by buildtools with npm scripts.

What to change

Add an npm script to adblockplusui to check translations, superseding checktranslations.

See also ui#82.

Change History (9)

comment:1 Changed 10 months ago by sebastian

  • Cc tlucas sebastian added
  • Component changed from Adblock-Plus-for-Chromium to Automation

Note that there are no longer any translations managed inside adblockpluschrome, but all translations have been moved to adblockplusui now (which currently depends on buildtools just for the translation related build commands). So with the migration away from (the Python-based) buildtools, all translation related commands should be rewritten as npm scripts within adblockplusui.

comment:2 Changed 10 months ago by greiner

  • Cc wspee added
  • Component changed from Automation to User-Interface
  • Description modified (diff)

Fortunately, we're already on it (see ui#82) and are also working on extending it further to account for various other problems that may arise due to malformed translation files.

We can then also think about reusing it for Websites, in case they rely on it too. However, their requirements may differ from the UI's (e.g. we don't use them to specify the maximum length of strings) but I'm sure we could iron things out together.

comment:3 Changed 10 months ago by greiner

  • Cc greiner added

comment:4 Changed 10 months ago by greiner

  • Description modified (diff)
  • Owner set to greiner
  • Priority changed from Unknown to P3
  • Ready set
  • Summary changed from Update checktranslations command to npm script to Use npm script instead of checktranslations command

comment:5 Changed 10 months ago by greiner

  • Review URL(s) modified (diff)
  • Status changed from new to reviewing

comment:6 Changed 10 months ago by greiner

  • Blocking 104 added

comment:7 Changed 10 months ago by greiner

  • Blocking 6936 added
  • Resolution set to fixed
  • Status changed from reviewing to closed

comment:8 Changed 4 months ago by abpbot

A commit referencing this issue has landed:
Issue 7127 - Added translation file linting

comment:9 Changed 4 months ago by kzar

  • Blocking 6936 removed
Note: See TracTickets for help on using tickets.