• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kobotoolbox / kpi / 13397115337
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: dev-1257-remove-v1-forms-endpoint
DEFAULT BRANCH: master
Ran 18 Feb 2025 06:39PM UTC
Jobs 1
Files 627
Run time 19min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

18 Feb 2025 06:02PM UTC coverage: 80.718%. Remained the same
13397115337

push

github

web-flow
fix(translations): use trimmed in all blocktrans blocks TASK-1553 (#5527)

### 📖 Description
Developer-only changes


### 💭 Notes
This was done with a simple find-and-replace. To test it, I compiled the
messages and ran
`find . -name django.po | xargs awk '{ if (lastline == "msgid \"\"" &&
$0 ~ "\"\\\\n\"") {print FILENAME, $0} {lastline=$0}}' | wc -l` and
checked to make sure the output was empty.

The `awk` command looks for sections of a .po file that look like
```
msgid ""
"\n"
```
, which is what it looks like when a translation string begins with a
newline char. The full command lists all po files, checks for that
sequence of lines using `awk` for each one, and counts the total. On
main, the count was 257. Using this branch, the count is 2. It should be
0, but for some reason `makemessages` had trouble with `zh-Hant` and
`zh-Hans` so it didn't actually update those files. That doesn't matter
for this PR.

### :eyes: Preview steps

1. In the kpi container run `python ./manage makemessages -a`
2. Locally, cd to the `locale` directory inside kpi
3. run `find . -name django.po | xargs awk '{ if (lastline == "msgid
\"\"" && $0 ~ "\"\\\\n\"") {print FILENAME, $0} {lastline=$0}}' | wc -l`
4. :red_circle: [on main] The result will be > 200
5. :green_circle: [on PR] The result will be 0 (or 2, if django has
trouble compiling zh-Hant and zh-Hans. Not sure if that was a local
issue).

6013 of 9561 branches covered (62.89%)

22819 of 28270 relevant lines covered (80.72%)

0.81 hits per line

Jobs
ID Job ID Ran Files Coverage
1 13397115337.1 18 Feb 2025 06:39PM UTC 627
80.72
Source Files on build 13397115337
  • Tree
  • List 627
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 826a3c86 on github
  • Prev Build on main (#13396489052)
  • Next Build on main (#13397943324)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc