Update app-notifications.tpl

Add language to the placeholder
This commit is contained in:
Ahmad Husein 2024-04-06 00:29:45 +07:00 committed by GitHub
parent bab56be9c7
commit cbbb77b636
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -20,11 +20,11 @@
rows="3">{if $_json['expired']!=''}{Lang::htmlspecialchars($_json['expired'])}{else}Hello [[name]], your internet package [[package]] has been expired.{/if}</textarea> rows="3">{if $_json['expired']!=''}{Lang::htmlspecialchars($_json['expired'])}{else}Hello [[name]], your internet package [[package]] has been expired.{/if}</textarea>
</div> </div>
<p class="help-block col-md-4"> <p class="help-block col-md-4">
<b>[[name]]</b> will be replaced with Customer Name.<br> <b>[[name]]</b> - {Lang::T('will be replaced with Customer Name)}.<br>
<b>[[username]]</b> will be replaced with Customer username.<br> <b>[[username]]</b> - {Lang::T('will be replaced with Customer username)}.<br>
<b>[[package]]</b> will be replaced with Package name.<br> <b>[[package]]</b> - {Lang::T('will be replaced with Package name)}.<br>
<b>[[price]]</b> will be replaced with Package price.<br> <b>[[price]]</b> - {Lang::T('will be replaced with Package price)}.<br>
<b>[[bills]]</b> aditional bills for customers <b>[[bills]]</b> - {Lang::T('additional bills for customers)}.
</p> </p>
</div> </div>
</div> </div>
@ -36,12 +36,12 @@
rows="3">{Lang::htmlspecialchars($_json['reminder_7_day'])}</textarea> rows="3">{Lang::htmlspecialchars($_json['reminder_7_day'])}</textarea>
</div> </div>
<p class="help-block col-md-4"> <p class="help-block col-md-4">
<b>[[name]]</b> will be replaced with Customer Name.<br> <b>[[name]]</b> - {Lang::T('will be replaced with Customer Name)}.<br>
<b>[[username]]</b> will be replaced with Customer username.<br> <b>[[username]]</b> - {Lang::T('will be replaced with Customer username)}.<br>
<b>[[package]]</b> will be replaced with Package name.<br> <b>[[package]]</b> - {Lang::T('will be replaced with Package name)}.<br>
<b>[[price]]</b> will be replaced with Package price.<br> <b>[[price]]</b> - {Lang::T('will be replaced with Package price)}.<br>
<b>[[expired_date]]</b> will be replaced with Expiration date.<br> <b>[[expired_date]]</b> - {Lang::T('will be replaced with Expiration date)}.<br>
<b>[[bills]]</b> aditional bills for customers <b>[[bills]]</b> - {Lang::T('additional bills for customers)}.
</p> </p>
</div> </div>
</div> </div>
@ -53,12 +53,12 @@
rows="3">{Lang::htmlspecialchars($_json['reminder_3_day'])}</textarea> rows="3">{Lang::htmlspecialchars($_json['reminder_3_day'])}</textarea>
</div> </div>
<p class="help-block col-md-4"> <p class="help-block col-md-4">
<b>[[name]]</b> will be replaced with Customer Name.<br> <b>[[name]]</b> - {Lang::T('will be replaced with Customer Name)}.<br>
<b>[[username]]</b> will be replaced with Customer username.<br> <b>[[username]]</b> - {Lang::T('will be replaced with Customer username)}.<br>
<b>[[package]]</b> will be replaced with Package name.<br> <b>[[package]]</b> - {Lang::T('will be replaced with Package name)}.<br>
<b>[[price]]</b> will be replaced with Package price.<br> <b>[[price]]</b> - {Lang::T('will be replaced with Package price)}.<br>
<b>[[expired_date]]</b> will be replaced with Expiration date.<br> <b>[[expired_date]]</b> - {Lang::T('will be replaced with Expiration date)}.<br>
<b>[[bills]]</b> aditional bills for customers <b>[[bills]]</b> - {Lang::T('additional bills for customers)}.
</p> </p>
</div> </div>
</div> </div>
@ -70,12 +70,12 @@
rows="3">{Lang::htmlspecialchars($_json['reminder_1_day'])}</textarea> rows="3">{Lang::htmlspecialchars($_json['reminder_1_day'])}</textarea>
</div> </div>
<p class="help-block col-md-4"> <p class="help-block col-md-4">
<b>[[name]]</b> will be replaced with Customer Name.<br> <b>[[name]]</b> - {Lang::T('will be replaced with Customer Name)}.<br>
<b>[[username]]</b> will be replaced with Customer username.<br> <b>[[username]]</b> - {Lang::T('will be replaced with Customer username)}.<br>
<b>[[package]]</b> will be replaced with Package name.<br> <b>[[package]]</b> - {Lang::T('will be replaced with Package name)}.<br>
<b>[[price]]</b> will be replaced with Package price.<br> <b>[[price]]</b> - {Lang::T('will be replaced with Package price)}.<br>
<b>[[expired_date]]</b> will be replaced with Expiration date.<br> <b>[[expired_date]]</b> - {Lang::T('will be replaced with Expiration date)}.<br>
<b>[[bills]]</b> aditional bills for customers <b>[[bills]]</b> - {Lang::T('additional bills for customers)}.
</p> </p>
</div> </div>
</div> </div>
@ -88,22 +88,22 @@
rows="20">{Lang::htmlspecialchars($_json['invoice_paid'])}</textarea> rows="20">{Lang::htmlspecialchars($_json['invoice_paid'])}</textarea>
</div> </div>
<p class="col-md-4 help-block"> <p class="col-md-4 help-block">
<b>[[company_name]]</b> Your Company Name at Settings.<br> <b>[[company_name]]</b> {Lang::T('Your Company Name at Settings)}.<br>
<b>[[address]]</b> Your Company Address at Settings.<br> <b>[[address]]</b> {Lang::T('Your Company Address at Settings)}.<br>
<b>[[phone]]</b> Your Company Phone at Settings.<br> <b>[[phone]]</b> - {Lang::T('Your Company Phone at Settings)}.<br>
<b>[[invoice]]</b> invoice number.<br> <b>[[invoice]]</b> - {Lang::T('Invoice number)}.<br>
<b>[[date]]</b> Date invoice created.<br> <b>[[date]]</b> - {Lang::T('Date invoice created)}.<br>
<b>[[payment_gateway]]</b> Payment gateway user paid from.<br> <b>[[payment_gateway]]</b> - {Lang::T('Payment gateway user paid from)}.<br>
<b>[[payment_channel]]</b> Payment channel user paid from.<br> <b>[[payment_channel]]</b> - {Lang::T('Payment channel user paid from)}.<br>
<b>[[type]]</b> is Hotspot/PPPOE.<br> <b>[[type]]</b> - {Lang::T('is Hotspot or PPPOE)}.<br>
<b>[[plan_name]]</b> Internet Package.<br> <b>[[plan_name]]</b> - {Lang::T('Internet Package)}.<br>
<b>[[plan_price]]</b> Internet Package Prices.<br> <b>[[plan_price]]</b> - {Lang::T('Internet Package Prices)}.<br>
<b>[[name]]</b> Receiver name.<br> <b>[[name]]</b> - {Lang::T('Receiver name)}.<br>
<b>[[user_name]]</b> Username internet.<br> <b>[[user_name]]</b> - {Lang::T('Username internet)}.<br>
<b>[[user_password]]</b> User password.<br> <b>[[user_password]]</b> - {Lang::T('User password)}.<br>
<b>[[expired_date]]</b> Expired datetime.<br> <b>[[expired_date]]</b> - {Lang::T('Expired datetime)}.<br>
<b>[[footer]]</b> Invoice Footer.<br> <b>[[footer]]</b> - {Lang::T('Invoice Footer)}.<br>
<b>[[note]]</b> For Notes by admin.<br> <b>[[note]]</b> - {Lang::T('For Notes by admin)}.<br>
</p> </p>
</div> </div>
</div> </div>
@ -116,23 +116,23 @@
rows="20">{Lang::htmlspecialchars($_json['invoice_balance'])}</textarea> rows="20">{Lang::htmlspecialchars($_json['invoice_balance'])}</textarea>
</div> </div>
<p class="col-md-4 help-block"> <p class="col-md-4 help-block">
<b>[[company_name]]</b> Your Company Name at Settings.<br> <b>[[company_name]]</b> - {Lang::T('Your Company Name at Settings)}.<br>
<b>[[address]]</b> Your Company Address at Settings.<br> <b>[[address]]</b> - {Lang::T('Your Company Address at Settings)}.<br>
<b>[[phone]]</b> Your Company Phone at Settings.<br> <b>[[phone]]</b> - {Lang::T('Your Company Phone at Settings)}.<br>
<b>[[invoice]]</b> invoice number.<br> <b>[[invoice]]</b> - {Lang::T('Invoice number)}.<br>
<b>[[date]]</b> Date invoice created.<br> <b>[[date]]</b> - {Lang::T('Date invoice created)}.<br>
<b>[[payment_gateway]]</b> Payment gateway user paid from.<br> <b>[[payment_gateway]]</b> - {Lang::T('Payment gateway user paid from)}.<br>
<b>[[payment_channel]]</b> Payment channel user paid from.<br> <b>[[payment_channel]]</b> - {Lang::T('Payment channel user paid from)}.<br>
<b>[[type]]</b> is Hotspot/PPPOE.<br> <b>[[type]]</b> - {Lang::T('is Hotspot or PPPOE)}.<br>
<b>[[plan_name]]</b> Internet Package.<br> <b>[[plan_name]]</b> - {Lang::T('Internet Package)}.<br>
<b>[[plan_price]]</b> Internet Package Prices.<br> <b>[[plan_price]]</b> - {Lang::T('Internet Package Prices)}.<br>
<b>[[name]]</b> Receiver name.<br> <b>[[name]]</b> - {Lang::T('Receiver name)}.<br>
<b>[[user_name]]</b> Username internet.<br> <b>[[user_name]]</b> - {Lang::T('Username internet)}.<br>
<b>[[user_password]]</b> User password.<br> <b>[[user_password]]</b> - {Lang::T('User password)}.<br>
<b>[[trx_date]]</b> Transaction datetime.<br> <b>[[trx_date]]</b> - {Lang::T('Transaction datetime)}.<br>
<b>[[balance_before]]</b> Balance Before.<br> <b>[[balance_before]]</b> - {Lang::T('Balance Before)}.<br>
<b>[[balance]]</b> Balance After.<br> <b>[[balance]]</b> - {Lang::T('Balance After)}.<br>
<b>[[footer]]</b> Invoice Footer. <b>[[footer]]</b> - {Lang::T('Invoice Footer)}.
</p> </p>
</div> </div>
</div> </div>
@ -145,9 +145,9 @@
rows="3">{if $_json['balance_send']}{Lang::htmlspecialchars($_json['balance_send'])}{else}{Lang::htmlspecialchars($_default['balance_send'])}{/if}</textarea> rows="3">{if $_json['balance_send']}{Lang::htmlspecialchars($_json['balance_send'])}{else}{Lang::htmlspecialchars($_default['balance_send'])}{/if}</textarea>
</div> </div>
<p class="col-md-4 help-block"> <p class="col-md-4 help-block">
<b>[[name]]</b> Receiver name.<br> <b>[[name]]</b> - {Lang::T('Receiver name)}.<br>
<b>[[balance]]</b> how much balance have been send.<br> <b>[[balance]]</b> - {Lang::T('how much balance have been send)}.<br>
<b>[[current_balance]]</b> Current Balance. <b>[[current_balance]]</b> - {Lang::T('Current Balance)}.
</p> </p>
</div> </div>
</div> </div>
@ -159,9 +159,9 @@
rows="3">{if $_json['balance_received']}{Lang::htmlspecialchars($_json['balance_received'])}{else}{Lang::htmlspecialchars($_default['balance_received'])}{/if}</textarea> rows="3">{if $_json['balance_received']}{Lang::htmlspecialchars($_json['balance_received'])}{else}{Lang::htmlspecialchars($_default['balance_received'])}{/if}</textarea>
</div> </div>
<p class="col-md-4 help-block"> <p class="col-md-4 help-block">
<b>[[name]]</b> Sender name.<br> <b>[[name]]</b> - {Lang::T('Sender name)}.<br>
<b>[[balance]]</b> how much balance have been received.<br> <b>[[balance]]</b> - {Lang::T('how much balance have been received)}.<br>
<b>[[current_balance]]</b> Current Balance. <b>[[current_balance]]</b> - {Lang::T('Current Balance)}.
</p> </p>
</div> </div>
</div> </div>