Skip to content

Commit

Permalink
Enable translation of IsoPower metric name and units
Browse files Browse the repository at this point in the history
Update translation files to include the new strings added in latest
commits.
  • Loading branch information
amtriathlon committed Jul 11, 2022
1 parent 1967134 commit 8d8d1a0
Show file tree
Hide file tree
Showing 14 changed files with 5,643 additions and 4,996 deletions.
6 changes: 3 additions & 3 deletions src/Metrics/Coggan.cpp
Expand Up @@ -42,10 +42,10 @@ class IsoPower : public RideMetric {
setInternalName("IsoPower");
}
void initialize() {
setName("IsoPower");
setName(tr("IsoPower"));
setType(RideMetric::Average);
setMetricUnits("watts");
setImperialUnits("watts");
setMetricUnits(tr("watts"));
setImperialUnits(tr("watts"));
setPrecision(0);
setDescription(tr("Iso Power is an estimate of the power that you could have maintained for the same physiological 'cost' if your power output had been perfectly constant."));
}
Expand Down
810 changes: 432 additions & 378 deletions src/Resources/translations/gc_cs.ts

Large diffs are not rendered by default.

810 changes: 432 additions & 378 deletions src/Resources/translations/gc_de.ts

Large diffs are not rendered by default.

810 changes: 432 additions & 378 deletions src/Resources/translations/gc_es.ts

Large diffs are not rendered by default.

810 changes: 432 additions & 378 deletions src/Resources/translations/gc_fr.ts

Large diffs are not rendered by default.

810 changes: 432 additions & 378 deletions src/Resources/translations/gc_it.ts

Large diffs are not rendered by default.

812 changes: 431 additions & 381 deletions src/Resources/translations/gc_ja.ts

Large diffs are not rendered by default.

810 changes: 432 additions & 378 deletions src/Resources/translations/gc_nl.ts

Large diffs are not rendered by default.

812 changes: 431 additions & 381 deletions src/Resources/translations/gc_pt-br.ts

Large diffs are not rendered by default.

812 changes: 431 additions & 381 deletions src/Resources/translations/gc_pt.ts

Large diffs are not rendered by default.

818 changes: 434 additions & 384 deletions src/Resources/translations/gc_ru.ts

Large diffs are not rendered by default.

810 changes: 432 additions & 378 deletions src/Resources/translations/gc_sv.ts

Large diffs are not rendered by default.

899 changes: 457 additions & 442 deletions src/Resources/translations/gc_zh-cn.ts

Large diffs are not rendered by default.

810 changes: 432 additions & 378 deletions src/Resources/translations/gc_zh-tw.ts

Large diffs are not rendered by default.

0 comments on commit 8d8d1a0

Please sign in to comment.