Skip to content

Commit

Permalink
Fix #154
Browse files Browse the repository at this point in the history
  • Loading branch information
inc2734 committed Jan 19, 2024
1 parent c8c55d2 commit 05ef862
Show file tree
Hide file tree
Showing 39 changed files with 186 additions and 102 deletions.
18 changes: 11 additions & 7 deletions App/Control/File.php
Expand Up @@ -100,18 +100,22 @@ public function input() {
}

return sprintf(
'<div class="smf-file-control" tabindex="0">
<label>
<input type="file" %1$s>
<span class="smf-file-control__label">%2$s</span>
<span class="smf-file-control__filename">%3$s</span>
'<div class="smf-file-control %1$s">
<label tabindex="0">
<input type="file" %2$s>
<span class="smf-file-control__label">%3$s</span>
<span class="smf-file-control__filename smf-file-control__filename--no-file">%4$s</span>
<span class="smf-file-control__filename smf-file-control__filename--has-file"></span>
</label>
%4$s
<span class="smf-file-control__clear">%5$s</span>
</div>
%5$s',
%6$s
%7$s',
$value ? 'smf-file-control--uploaded' : '',
$this->_generate_attributes_string( $attributes ),
__( 'Choose file', 'snow-monkey-forms' ),
__( 'No file chosen', 'snow-monkey-forms' ),
__( 'Clear', 'snow-monkey-forms' ),
$value,
$description
);
Expand Down
@@ -1 +1 @@
{"translation-revision-date":"2024-01-16 14:44+0900","generator":"WP-CLI\/2.8.1","source":"src\/blocks\/components.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"ja_JP","plural-forms":"nplurals=1; plural=0;"},"name":["name"],"Required. Input a unique machine-readable name.":["\u5fc5\u9808\u3002\u4e00\u610f\u306e\u6a5f\u68b0\u8aad\u307f\u53d6\u308a\u53ef\u80fd\u306a\u540d\u524d\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002"],"value":["value"],"Optional. Initial value. Enter in the following format: value%1$s":["\u4efb\u610f\u3002\u521d\u671f\u5024\u3002\u6b21\u306e\u5f62\u5f0f\u3067\u5165\u529b: value%1$s"],"options":["options"],"Required. Enter in the following format: \"value\" : \"label\"%1$s or value%1$s":["\u5fc5\u9808\u3002\u6b21\u306e\u5f62\u5f0f\u3067\u5165\u529b: \u201cvalue\u201d : \u201clabel\u201d%1$s \u3042\u308b\u3044\u306f value%1$s"],"Optional. Initial value.":["\u4efb\u610f\u3002\u521d\u671f\u5024\u3002"],"placeholder":["placeholder"],"maxlength":["maxlength"],"Optional. Maximum number of characters. If 0, not restricted.":["\u4efb\u610f\u3002\u6700\u5927\u6587\u5b57\u6570\u30020\u306e\u5834\u5408\u3001\u5236\u9650\u3055\u308c\u307e\u305b\u3093\u3002"],"size":["size"],"Optional. The width of this item. If 0, not restricted.":["\u4efb\u610f\u3002\u3053\u306e\u9805\u76ee\u306e\u5e45\u30020\u306e\u5834\u5408\u3001\u5236\u9650\u3055\u308c\u307e\u305b\u3093\u3002"],"id":["id"],"class":["class"],"Separate multiple classes with spaces.":["\u8907\u6570\u30af\u30e9\u30b9\u3092\u534a\u89d2\u30b9\u30da\u30fc\u30b9\u3067\u533a\u5207\u308a\u307e\u3059\u3002"],"autocomplete":["autocomplete"]}}}
{"translation-revision-date":"2024-01-19 14:27+0900","generator":"WP-CLI\/2.8.1","source":"src\/blocks\/components.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"ja_JP","plural-forms":"nplurals=1; plural=0;"},"name":["name"],"Required. Input a unique machine-readable name.":["\u5fc5\u9808\u3002\u4e00\u610f\u306e\u6a5f\u68b0\u8aad\u307f\u53d6\u308a\u53ef\u80fd\u306a\u540d\u524d\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002"],"value":["value"],"Optional. Initial value. Enter in the following format: value%1$s":["\u4efb\u610f\u3002\u521d\u671f\u5024\u3002\u6b21\u306e\u5f62\u5f0f\u3067\u5165\u529b: value%1$s"],"options":["options"],"Required. Enter in the following format: \"value\" : \"label\"%1$s or value%1$s":["\u5fc5\u9808\u3002\u6b21\u306e\u5f62\u5f0f\u3067\u5165\u529b: \u201cvalue\u201d : \u201clabel\u201d%1$s \u3042\u308b\u3044\u306f value%1$s"],"Optional. Initial value.":["\u4efb\u610f\u3002\u521d\u671f\u5024\u3002"],"placeholder":["placeholder"],"maxlength":["maxlength"],"Optional. Maximum number of characters. If 0, not restricted.":["\u4efb\u610f\u3002\u6700\u5927\u6587\u5b57\u6570\u30020\u306e\u5834\u5408\u3001\u5236\u9650\u3055\u308c\u307e\u305b\u3093\u3002"],"size":["size"],"Optional. The width of this item. If 0, not restricted.":["\u4efb\u610f\u3002\u3053\u306e\u9805\u76ee\u306e\u5e45\u30020\u306e\u5834\u5408\u3001\u5236\u9650\u3055\u308c\u307e\u305b\u3093\u3002"],"id":["id"],"class":["class"],"Separate multiple classes with spaces.":["\u8907\u6570\u30af\u30e9\u30b9\u3092\u534a\u89d2\u30b9\u30da\u30fc\u30b9\u3067\u533a\u5207\u308a\u307e\u3059\u3002"],"autocomplete":["autocomplete"]}}}
@@ -1 +1 @@
{"translation-revision-date":"2024-01-16 14:44+0900","generator":"WP-CLI\/2.8.1","source":"src\/blocks\/snow-monkey-form\/edit.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"ja_JP","plural-forms":"nplurals=1; plural=0;"},"Select a form":["\u30d5\u30a9\u30fc\u30e0\u3092\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044"]}}}
{"translation-revision-date":"2024-01-19 14:27+0900","generator":"WP-CLI\/2.8.1","source":"src\/blocks\/snow-monkey-form\/edit.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"ja_JP","plural-forms":"nplurals=1; plural=0;"},"Select a form":["\u30d5\u30a9\u30fc\u30e0\u3092\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044"]}}}
@@ -1 +1 @@
{"translation-revision-date":"2024-01-16 14:44+0900","generator":"WP-CLI\/2.8.1","source":"dist\/blocks\/select\/index.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"ja_JP","plural-forms":"nplurals=1; plural=0;"},"name":["name"],"Required. Input a unique machine-readable name.":["\u5fc5\u9808\u3002\u4e00\u610f\u306e\u6a5f\u68b0\u8aad\u307f\u53d6\u308a\u53ef\u80fd\u306a\u540d\u524d\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002"],"value":["value"],"options":["options"],"Required. Enter in the following format: \"value\" : \"label\"%1$s or value%1$s":["\u5fc5\u9808\u3002\u6b21\u306e\u5f62\u5f0f\u3067\u5165\u529b: \u201cvalue\u201d : \u201clabel\u201d%1$s \u3042\u308b\u3044\u306f value%1$s"],"Validation":["\u30d0\u30ea\u30c7\u30fc\u30b7\u30e7\u30f3"],"Required":["\u5fc5\u9808"],"Attributes":["\u5c5e\u6027"],"Block settings":["\u30d6\u30ed\u30c3\u30af\u8a2d\u5b9a"],"Description":["\u8aac\u660e"],"Description is also displayed on the confirmation screen":["\u8aac\u660e\u3092\u78ba\u8a8d\u753b\u9762\u306b\u3082\u8868\u793a\u3059\u308b"],"Optional. Initial value.":["\u4efb\u610f\u3002\u521d\u671f\u5024\u3002"],"id":["id"],"class":["class"],"Separate multiple classes with spaces.":["\u8907\u6570\u30af\u30e9\u30b9\u3092\u534a\u89d2\u30b9\u30da\u30fc\u30b9\u3067\u533a\u5207\u308a\u307e\u3059\u3002"],"autocomplete":["autocomplete"]}}}
{"translation-revision-date":"2024-01-19 14:27+0900","generator":"WP-CLI\/2.8.1","source":"dist\/blocks\/select\/index.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"ja_JP","plural-forms":"nplurals=1; plural=0;"},"name":["name"],"Required. Input a unique machine-readable name.":["\u5fc5\u9808\u3002\u4e00\u610f\u306e\u6a5f\u68b0\u8aad\u307f\u53d6\u308a\u53ef\u80fd\u306a\u540d\u524d\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002"],"value":["value"],"options":["options"],"Required. Enter in the following format: \"value\" : \"label\"%1$s or value%1$s":["\u5fc5\u9808\u3002\u6b21\u306e\u5f62\u5f0f\u3067\u5165\u529b: \u201cvalue\u201d : \u201clabel\u201d%1$s \u3042\u308b\u3044\u306f value%1$s"],"Validation":["\u30d0\u30ea\u30c7\u30fc\u30b7\u30e7\u30f3"],"Required":["\u5fc5\u9808"],"Attributes":["\u5c5e\u6027"],"Block settings":["\u30d6\u30ed\u30c3\u30af\u8a2d\u5b9a"],"Description":["\u8aac\u660e"],"Description is also displayed on the confirmation screen":["\u8aac\u660e\u3092\u78ba\u8a8d\u753b\u9762\u306b\u3082\u8868\u793a\u3059\u308b"],"Optional. Initial value.":["\u4efb\u610f\u3002\u521d\u671f\u5024\u3002"],"id":["id"],"class":["class"],"Separate multiple classes with spaces.":["\u8907\u6570\u30af\u30e9\u30b9\u3092\u534a\u89d2\u30b9\u30da\u30fc\u30b9\u3067\u533a\u5207\u308a\u307e\u3059\u3002"],"autocomplete":["autocomplete"]}}}
@@ -1 +1 @@
{"translation-revision-date":"2024-01-16 14:44+0900","generator":"WP-CLI\/2.8.1","source":"src\/blocks\/item\/edit.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"ja_JP","plural-forms":"nplurals=1; plural=0;"},"Block settings":["\u30d6\u30ed\u30c3\u30af\u8a2d\u5b9a"],"Description":["\u8aac\u660e"],"Label":["\u30e9\u30d9\u30eb"],"Display label column":["\u30e9\u30d9\u30eb\u30ab\u30e9\u30e0\u3092\u8868\u793a\u3059\u308b"],"label for":["label for"],"Add a label element and link it with a form field of your choice. Enter the id of the form field you want to link to.":["label \u8981\u7d20\u3092\u8ffd\u52a0\u3057\u3001\u4efb\u610f\u306e\u30d5\u30a9\u30fc\u30e0\u9805\u76ee\u306b\u7d10\u4ed8\u3051\u307e\u3059\u3002\u7d10\u4ed8\u3051\u5148\u306e\u30d5\u30a9\u30fc\u30e0\u9805\u76ee\u306e id \u3092\u5165\u529b\u3057\u307e\u3059\u3002"]}}}
{"translation-revision-date":"2024-01-19 14:27+0900","generator":"WP-CLI\/2.8.1","source":"src\/blocks\/item\/edit.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"ja_JP","plural-forms":"nplurals=1; plural=0;"},"Block settings":["\u30d6\u30ed\u30c3\u30af\u8a2d\u5b9a"],"Description":["\u8aac\u660e"],"Label":["\u30e9\u30d9\u30eb"],"Display label column":["\u30e9\u30d9\u30eb\u30ab\u30e9\u30e0\u3092\u8868\u793a\u3059\u308b"],"label for":["label for"],"Add a label element and link it with a form field of your choice. Enter the id of the form field you want to link to.":["label \u8981\u7d20\u3092\u8ffd\u52a0\u3057\u3001\u4efb\u610f\u306e\u30d5\u30a9\u30fc\u30e0\u9805\u76ee\u306b\u7d10\u4ed8\u3051\u307e\u3059\u3002\u7d10\u4ed8\u3051\u5148\u306e\u30d5\u30a9\u30fc\u30e0\u9805\u76ee\u306e id \u3092\u5165\u529b\u3057\u307e\u3059\u3002"]}}}
@@ -1 +1 @@
{"translation-revision-date":"2024-01-16 14:44+0900","generator":"WP-CLI\/2.8.1","source":"dist\/blocks\/form\/complete\/index.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"ja_JP","plural-forms":"nplurals=1; plural=0;"},"Complete":["\u5b8c\u4e86\u753b\u9762"]}}}
{"translation-revision-date":"2024-01-19 14:27+0900","generator":"WP-CLI\/2.8.1","source":"dist\/blocks\/form\/complete\/index.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"ja_JP","plural-forms":"nplurals=1; plural=0;"},"Complete":["\u5b8c\u4e86\u753b\u9762"]}}}
@@ -1 +1 @@
{"translation-revision-date":"2024-01-16 14:44+0900","generator":"WP-CLI\/2.8.1","source":"src\/blocks\/form\/input\/auto-reply-email-settings-panel.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"ja_JP","plural-forms":"nplurals=1; plural=0;"},"To (Email address)":["To\uff08\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\uff09"],"Subject":["\u4ef6\u540d"],"Body":["Body"],"Reply-To (Email address)":["Reply-To\uff08\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\uff09"],"Optional":["\u4efb\u610f"],"From (Email address)":["From\uff08\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\uff09"],"Sender":["\u9001\u4fe1\u8005"],"Auto reply email":["\u81ea\u52d5\u8fd4\u4fe1\u30e1\u30fc\u30eb"],"Enter the name attribute value of the installed email form field in the following format: {name}":["\u8a2d\u7f6e\u3057\u305fE\u30e1\u30fc\u30eb\u7528\u30d5\u30a9\u30fc\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u306e name \u5c5e\u6027\u5024\u3092\u6b21\u306e\u5f62\u5f0f\u3067\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044: {name}"]}}}
{"translation-revision-date":"2024-01-19 14:27+0900","generator":"WP-CLI\/2.8.1","source":"src\/blocks\/form\/input\/auto-reply-email-settings-panel.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"ja_JP","plural-forms":"nplurals=1; plural=0;"},"To (Email address)":["To\uff08\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\uff09"],"Subject":["\u4ef6\u540d"],"Body":["Body"],"Reply-To (Email address)":["Reply-To\uff08\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\uff09"],"Optional":["\u4efb\u610f"],"From (Email address)":["From\uff08\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\uff09"],"Sender":["\u9001\u4fe1\u8005"],"Auto reply email":["\u81ea\u52d5\u8fd4\u4fe1\u30e1\u30fc\u30eb"],"Enter the name attribute value of the installed email form field in the following format: {name}":["\u8a2d\u7f6e\u3057\u305fE\u30e1\u30fc\u30eb\u7528\u30d5\u30a9\u30fc\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u306e name \u5c5e\u6027\u5024\u3092\u6b21\u306e\u5f62\u5f0f\u3067\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044: {name}"]}}}
@@ -1 +1 @@
{"translation-revision-date":"2024-01-16 14:44+0900","generator":"WP-CLI\/2.8.1","source":"src\/blocks\/select\/edit.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"ja_JP","plural-forms":"nplurals=1; plural=0;"},"Attributes":["\u5c5e\u6027"],"Block settings":["\u30d6\u30ed\u30c3\u30af\u8a2d\u5b9a"],"Description":["\u8aac\u660e"],"Description is also displayed on the confirmation screen":["\u8aac\u660e\u3092\u78ba\u8a8d\u753b\u9762\u306b\u3082\u8868\u793a\u3059\u308b"]}}}
{"translation-revision-date":"2024-01-19 14:27+0900","generator":"WP-CLI\/2.8.1","source":"src\/blocks\/select\/edit.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"ja_JP","plural-forms":"nplurals=1; plural=0;"},"Attributes":["\u5c5e\u6027"],"Block settings":["\u30d6\u30ed\u30c3\u30af\u8a2d\u5b9a"],"Description":["\u8aac\u660e"],"Description is also displayed on the confirmation screen":["\u8aac\u660e\u3092\u78ba\u8a8d\u753b\u9762\u306b\u3082\u8868\u793a\u3059\u308b"]}}}
@@ -1 +1 @@
{"translation-revision-date":"2024-01-16 14:44+0900","generator":"WP-CLI\/2.8.1","source":"src\/blocks\/radio-buttons\/edit.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"ja_JP","plural-forms":"nplurals=1; plural=0;"},"Attributes":["\u5c5e\u6027"],"Grouping":["\u30b0\u30eb\u30fc\u30d7\u5316"],"Enable if you want to group by fieldset and label by legend.":["fieldset \u3067\u30b0\u30eb\u30fc\u30d7\u5316\u3057 legend \u3067\u30e9\u30d9\u30eb\u3092\u4ed8\u3051\u305f\u3044\u5834\u5408\u306f\u6709\u52b9\u5316\u3057\u3066\u304f\u3060\u3055\u3044\u3002"],"Make legend invisible":["legend \u3092\u4e0d\u53ef\u8996\u5316"],"When activated, the legend will not appear on the screen, but will be read by screen readers.":["\u6709\u52b9\u306b\u3059\u308b\u3068\u3001legend \u306f\u753b\u9762\u306b\u306f\u8868\u793a\u3055\u308c\u306a\u304f\u306a\u308a\u307e\u3059\u304c\u30b9\u30af\u30ea\u30fc\u30f3\u30ea\u30fc\u30c0\u30fc\u306b\u306f\u8aad\u307e\u308c\u307e\u3059\u3002"],"Block settings":["\u30d6\u30ed\u30c3\u30af\u8a2d\u5b9a"],"Direction":["\u65b9\u5411"],"Default":["\u30c7\u30d5\u30a9\u30eb\u30c8"],"Horizontal":["\u6a2a"],"Vertical":["\u7e26"],"Description":["\u8aac\u660e"],"Description is also displayed on the confirmation screen":["\u8aac\u660e\u3092\u78ba\u8a8d\u753b\u9762\u306b\u3082\u8868\u793a\u3059\u308b"],"Label":["\u30e9\u30d9\u30eb"]}}}
{"translation-revision-date":"2024-01-19 14:27+0900","generator":"WP-CLI\/2.8.1","source":"src\/blocks\/radio-buttons\/edit.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"ja_JP","plural-forms":"nplurals=1; plural=0;"},"Attributes":["\u5c5e\u6027"],"Grouping":["\u30b0\u30eb\u30fc\u30d7\u5316"],"Enable if you want to group by fieldset and label by legend.":["fieldset \u3067\u30b0\u30eb\u30fc\u30d7\u5316\u3057 legend \u3067\u30e9\u30d9\u30eb\u3092\u4ed8\u3051\u305f\u3044\u5834\u5408\u306f\u6709\u52b9\u5316\u3057\u3066\u304f\u3060\u3055\u3044\u3002"],"Make legend invisible":["legend \u3092\u4e0d\u53ef\u8996\u5316"],"When activated, the legend will not appear on the screen, but will be read by screen readers.":["\u6709\u52b9\u306b\u3059\u308b\u3068\u3001legend \u306f\u753b\u9762\u306b\u306f\u8868\u793a\u3055\u308c\u306a\u304f\u306a\u308a\u307e\u3059\u304c\u30b9\u30af\u30ea\u30fc\u30f3\u30ea\u30fc\u30c0\u30fc\u306b\u306f\u8aad\u307e\u308c\u307e\u3059\u3002"],"Block settings":["\u30d6\u30ed\u30c3\u30af\u8a2d\u5b9a"],"Direction":["\u65b9\u5411"],"Default":["\u30c7\u30d5\u30a9\u30eb\u30c8"],"Horizontal":["\u6a2a"],"Vertical":["\u7e26"],"Description":["\u8aac\u660e"],"Description is also displayed on the confirmation screen":["\u8aac\u660e\u3092\u78ba\u8a8d\u753b\u9762\u306b\u3082\u8868\u793a\u3059\u308b"],"Label":["\u30e9\u30d9\u30eb"]}}}
@@ -1 +1 @@
{"translation-revision-date":"2024-01-16 14:44+0900","generator":"WP-CLI\/2.8.1","source":"src\/blocks\/form\/input\/edit.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"ja_JP","plural-forms":"nplurals=1; plural=0;"},"Input":["\u5165\u529b\u753b\u9762"],"Open the form settings":["\u30d5\u30a9\u30fc\u30e0\u8a2d\u5b9a\u3092\u958b\u304f"]}}}
{"translation-revision-date":"2024-01-19 14:27+0900","generator":"WP-CLI\/2.8.1","source":"src\/blocks\/form\/input\/edit.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"ja_JP","plural-forms":"nplurals=1; plural=0;"},"Input":["\u5165\u529b\u753b\u9762"],"Open the form settings":["\u30d5\u30a9\u30fc\u30e0\u8a2d\u5b9a\u3092\u958b\u304f"]}}}

0 comments on commit 05ef862

Please sign in to comment.