Page MenuHomePhabricator

Add tests to check for multiple or missing semicolons in strings files
Closed, ResolvedPublic

Description

Recently in our manual translations, we had multiple semicolons that caused the syncing with translatewiki to crash (and caused translations to fall back to English). Our PR tests should catch this before we merge.

Write a unit test in TWNStrings.tests.m that:

  1. Loops through all the Wikipedia/Localizations/{langcode}.lproj/Localizable.strings files and counts the number of semicolons at the end of a line. Fail if the count does not equal 1.

Related Objects

Event Timeline

Mazevedo moved this task from Needs Triage to Engineering Backlog on the Wikipedia-iOS-App board.

PR was merged. Nothing to test for this one, as it only affects unit tests.

This task will be included in release 7.7.2: T386968