Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SUD Éducation
Cartable
Commits
9727bd1e
Commit
9727bd1e
authored
2 years ago
by
Bastien Ho
👽
Browse files
Options
Download
Email Patches
Plain Diff
Make strings translatable
parent
fd5233be
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
cartable.php
+2
-0
cartable.php
src/js/membership.js
+2
-2
src/js/membership.js
with
4 additions
and
2 deletions
+4
-2
cartable.php
+
2
-
0
View file @
9727bd1e
...
...
@@ -377,6 +377,8 @@ function cartable_get_membership_vars($vars){
],
'i18n'
=>
[
'dateformat'
=>
'dd MM'
,
'my_contribution'
=>
E
::
ts
(
'My Contribution'
),
'your_salary_tax_free'
=>
E
::
ts
(
'Your monthly salary, tax free'
),
]
];
if
(
civicrm_api3
(
'Setting'
,
'getvalue'
,
[
...
...
This diff is collapsed.
Click to expand it.
src/js/membership.js
+
2
-
2
View file @
9727bd1e
...
...
@@ -101,7 +101,7 @@ const cartable_reset_membership_amount = function(){
MembershipSelector
.
append
(
CRM
.
$
(
'
<h3>
'
)
.
addClass
(
'
cartable-title cartable-membership-title
'
)
.
text
(
'
My
contribution
'
)
.
text
(
cartable
.
Membership
.
i18n
.
my_
contribution
)
);
MembershipSelector
.
append
(
...
...
@@ -113,7 +113,7 @@ const cartable_reset_membership_amount = function(){
MembershipSelector
.
append
(
CRM
.
$
(
'
<h3>
'
)
.
addClass
(
'
cartable-title cartable-membership-salary-title
'
)
.
text
(
'
Your monthly
salary
,
tax
free
'
)
.
text
(
cartable
.
Membership
.
i18n
.
your_
salary
_
tax
_
free
)
);
SalarySelect
=
CRM
.
$
(
'
<select>
'
)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment