dimagi / commcare-android

Offline First Android software client for CommCare, the world's largest platform for designing, managing, and deploying robust mobile applications to frontline workers worldwide
https://www.dimagi.com/open-source/
Apache License 2.0
38 stars 27 forks source link

Add Support for custom translations for "Add New" and "Add Another" buttons for Repeat Group #2795

Closed shubham1g5 closed 1 month ago

shubham1g5 commented 3 months ago

Spec

We want to add support for following repeat group button labels on mobile -

 <itext>
        <translation lang="en" default="">
          <text id="$repeat_group_id-add-new-label">
            <value>Repeat</value>
          </text>
         <text id="$repeat_group_id-add-another-label">
            <value>Repeat</value>
          </text>            
        </translation>
</itext>

This is already implemented on HQ and Web Apps in following PRs -

https://github.com/dimagi/Vellum/pull/1119 https://github.com/dimagi/formplayer/pull/1615 https://github.com/dimagi/commcare-core/pull/1428/