Skip to content

Commit

Permalink
Add missing option & phrase.
Browse files Browse the repository at this point in the history
  • Loading branch information
formerandroider committed Jan 20, 2020
1 parent e34987e commit c05d8c5
Show file tree
Hide file tree
Showing 10 changed files with 51 additions and 6 deletions.
3 changes: 3 additions & 0 deletions _output/options/_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
"liamw_accountdelete_randomise_username.json": {
"hash": "2bbf5dd71e9451464624ae3ba3b878e0"
},
"liamw_accountdelete_reason.json": {
"hash": "7d0007d14f9a77b49f75c075f940d997"
},
"liamw_accountdelete_reminder_threshold.json": {
"hash": "cab36375e3b6bad5aa8721e1c8fc34c8"
},
Expand Down
15 changes: 15 additions & 0 deletions _output/options/liamw_accountdelete_reason.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"edit_format": "template",
"edit_format_params": "liamw_accountdelete_option_template_reason",
"data_type": "array",
"sub_options": [
"request",
"require"
],
"validation_class": "",
"validation_method": "",
"default_value": "{\"request\":true,\"require\":true}",
"relations": {
"liamw_memberselfdelete": 100
}
}
24 changes: 24 additions & 0 deletions _output/phrases/_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,12 @@
"version_string": "1.0.0 Beta 5",
"hash": "4a90e73ed6dd22e3e893508ef58a5692"
},
"liamw_accountdelete_not_provided.txt": {
"global_cache": false,
"version_id": 1020171,
"version_string": "1.2.1.1",
"hash": "34fac42b8df8fffbdf65a132304f46fa"
},
"liamw_accountdelete_please_confirm_deletion_by_checking_the_checkbox.txt": {
"global_cache": false,
"version_id": 1000011,
Expand Down Expand Up @@ -221,6 +227,12 @@
"version_string": "1.0.0 Beta 5",
"hash": "150d4816f993d322e1b070b569cea64a"
},
"liamw_accountdelete_require_reason_to_be_provided.txt": {
"global_cache": false,
"version_id": 1020171,
"version_string": "1.2.1.1",
"hash": "d6e8567d887003118f16b3fd86986d0a"
},
"liamw_accountdelete_sending_user_deletion_reminders.txt": {
"global_cache": false,
"version_id": 1010010,
Expand Down Expand Up @@ -299,6 +311,12 @@
"version_string": "1.0.0 Beta 3",
"hash": "28b9368c8be952fd0067b17de52d0d5f"
},
"option.liamw_accountdelete_reason.txt": {
"global_cache": false,
"version_id": 1020171,
"version_string": "1.2.1.1",
"hash": "26e95cca8ac943df4dca65cf8c38002b"
},
"option.liamw_accountdelete_reminder_threshold.txt": {
"global_cache": false,
"version_id": 1010010,
Expand Down Expand Up @@ -335,6 +353,12 @@
"version_string": "1.0.0 Beta 3",
"hash": "11976e999907ff10992c4e703562bf72"
},
"option_explain.liamw_accountdelete_reason.txt": {
"global_cache": false,
"version_id": 1020171,
"version_string": "1.2.1.1",
"hash": "d41d8cd98f00b204e9800998ecf8427e"
},
"option_explain.liamw_accountdelete_reminder_threshold.txt": {
"global_cache": false,
"version_id": 1010010,
Expand Down
1 change: 1 addition & 0 deletions _output/phrases/liamw_accountdelete_not_provided.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Not provided
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Require reason to be provided
1 change: 1 addition & 0 deletions _output/phrases/option.liamw_accountdelete_reason.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Request reason when users delete their accounts
Empty file.
6 changes: 3 additions & 3 deletions _output/templates/_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
"hash": "fd0c7b76e4acfc25188a46ebb1ce30b0"
},
"admin/liamw_accountdelete_option_template_reason.html": {
"version_id": 1020110,
"version_string": "1.2.1 Alpha",
"hash": "2cfb41f9eb087cfc4da729ddc0e58374"
"version_id": 1020171,
"version_string": "1.2.1.1",
"hash": "6acb7d9e4257ecee63d607eb6956d9dc"
},
"admin/liamw_accountdelete_option_template_user_criteria.html": {
"version_id": 1010035,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<xf:option selected="{$option.option_value.request}" label="{$option.title}" name="{$inputName}[request]">
<xf:dependent>
<xf:checkbox>
<xf:option selected="{$option.option_value.require}" label="~~Require reason to be provided~~" name="{$inputName}[require]" />
<xf:option selected="{$option.option_value.require}" label="{{ phrase('liamw_accountdelete_require_reason_to_be_provided') }}" name="{$inputName}[require]" />
</xf:checkbox>
</xf:dependent>
</xf:option>
Expand Down
4 changes: 2 additions & 2 deletions addon.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"legacy_addon_id": "",
"title": "Member Self Delete",
"description": "Gives board members the ability to delete or disable their accounts.",
"version_id": 1020170,
"version_string": "1.2.1",
"version_id": 1020171,
"version_string": "1.2.1.1",
"dev": "Liam Williams",
"dev_url": "https://lw-addons.net",
"faq_url": "",
Expand Down

0 comments on commit c05d8c5

Please sign in to comment.