Changeset 3350883
- Timestamp:
- 08/27/2025 06:57:01 AM (6 months ago)
- Location:
- codoc
- Files:
-
- 12 edited
- 29 copied
-
tags/0.9.55 (copied) (copied from codoc/trunk)
-
tags/0.9.55/class-codoc-util.php (copied) (copied from codoc/trunk/class-codoc-util.php)
-
tags/0.9.55/class-codoc.php (copied) (copied from codoc/trunk/class-codoc.php)
-
tags/0.9.55/codoc.php (copied) (copied from codoc/trunk/codoc.php) (2 diffs)
-
tags/0.9.55/css (copied) (copied from codoc/trunk/css)
-
tags/0.9.55/css/codoc-options.css (copied) (copied from codoc/trunk/css/codoc-options.css)
-
tags/0.9.55/dist (copied) (copied from codoc/trunk/dist)
-
tags/0.9.55/dist/blocks.build.js (copied) (copied from codoc/trunk/dist/blocks.build.js) (1 diff)
-
tags/0.9.55/dist/blocks.editor.build.css (copied) (copied from codoc/trunk/dist/blocks.editor.build.css) (1 diff)
-
tags/0.9.55/dist/blocks.style.build.css (modified) (1 diff)
-
tags/0.9.55/languages (copied) (copied from codoc/trunk/languages)
-
tags/0.9.55/languages/codoc-ja-codoc-block-js.json (copied) (copied from codoc/trunk/languages/codoc-ja-codoc-block-js.json) (1 diff)
-
tags/0.9.55/languages/codoc-ja.mo (copied) (copied from codoc/trunk/languages/codoc-ja.mo)
-
tags/0.9.55/languages/codoc-ja.po (copied) (copied from codoc/trunk/languages/codoc-ja.po) (7 diffs)
-
tags/0.9.55/languages/codoc.pot (copied) (copied from codoc/trunk/languages/codoc.pot) (6 diffs)
-
tags/0.9.55/package.json (copied) (copied from codoc/trunk/package.json) (1 diff)
-
tags/0.9.55/readme.txt (copied) (copied from codoc/trunk/readme.txt) (2 diffs)
-
tags/0.9.55/src (copied) (copied from codoc/trunk/src)
-
tags/0.9.55/src/block/block.js (copied) (copied from codoc/trunk/src/block/block.js) (1 diff)
-
tags/0.9.55/src/block/editor.scss (copied) (copied from codoc/trunk/src/block/editor.scss)
-
tags/0.9.55/src/block/icon.js (copied) (copied from codoc/trunk/src/block/icon.js)
-
tags/0.9.55/src/init.php (copied) (copied from codoc/trunk/src/init.php)
-
tags/0.9.55/src_mce (copied) (copied from codoc/trunk/src_mce)
-
tags/0.9.55/src_mce/codoc-admin.css (copied) (copied from codoc/trunk/src_mce/codoc-admin.css)
-
tags/0.9.55/src_mce/codoc-editor-onload.js (copied) (copied from codoc/trunk/src_mce/codoc-editor-onload.js)
-
tags/0.9.55/src_mce/codoc-editor.js (copied) (copied from codoc/trunk/src_mce/codoc-editor.js)
-
tags/0.9.55/src_mce/more.png (copied) (copied from codoc/trunk/src_mce/more.png)
-
tags/0.9.55/src_mce/v_black.svg (copied) (copied from codoc/trunk/src_mce/v_black.svg)
-
tags/0.9.55/views (copied) (copied from codoc/trunk/views)
-
tags/0.9.55/views/codoc-injector.php (copied) (copied from codoc/trunk/views/codoc-injector.php)
-
trunk/codoc.php (modified) (2 diffs)
-
trunk/dist/blocks.build.js (modified) (1 diff)
-
trunk/dist/blocks.editor.build.css (modified) (1 diff)
-
trunk/dist/blocks.style.build.css (modified) (1 diff)
-
trunk/languages/codoc-ja-codoc-block-js.json (modified) (1 diff)
-
trunk/languages/codoc-ja.mo (modified) (previous)
-
trunk/languages/codoc-ja.po (modified) (7 diffs)
-
trunk/languages/codoc.pot (modified) (6 diffs)
-
trunk/package.json (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/src/block/block.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
codoc/tags/0.9.55/codoc.php
r3341929 r3350883 6 6 Author: codoc.jp 7 7 Author URI: https://codoc.jp 8 Version: 0.9.5 4.38 Version: 0.9.55 9 9 License: GPLv2 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 14 14 defined( 'ABSPATH' ) || exit; 15 15 16 const CODOC_PLUGIN_VERSION = '0.9.5 4.3';16 const CODOC_PLUGIN_VERSION = '0.9.55'; 17 17 const CODOC_URL = 'https://codoc.jp'; 18 18 const CODOC_USERCODE_OPTION_NAME = 'codoc_usercode'; -
codoc/tags/0.9.55/dist/blocks.build.js
r3304552 r3350883 1 !function(e){function t(o){if(n[o])return n[o].exports;var l=n[o]={i:o,l:!1,exports:{}};return e[o].call(l.exports,l,l.exports,t),l.l=!0,l.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:o})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=0)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(1)},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var r=n(2),a=(n.n(r),n(3)),s=(n.n(a),n(4)),c=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),u=wp.keycodes.ENTER,__=wp.i18n.__,p=wp.element.Component,d=wp.blocks.registerBlockType,f=wp.editor,b=f.InspectorControls,m=f.RichText,h=wp.components,w=h.SelectControl,y=h.PanelBody,v=h.ToggleControl,C=h.CheckboxControl,g=h.RangeControl,k=wp.blocks,E=k.getDefaultBlockName, S=k.createBlock,P=wp.compose.withState,_=OPTIONS.codoc_url,O=OPTIONS.codoc_usercode,x=OPTIONS.codoc_plugin_version,T=OPTIONS.codoc_account_is_pro,A=OPTIONS.codoc_currency_code,j=OPTIONS.codoc_currency_decimal_places,N=function(e){function t(e){o(this,t);var n=l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return n.subscriptionsFetched=[],n.fetchSubscriptions(),n}return i(t,e),c(t,[{key:"fetchSubscriptions",value:function(){var e=this,t=this.props,n=t.setAttributes;if(!t.attributes.fetching){n({fetching:!0});var o=_+"/api/v1/cms/"+O+"/subscriptions?without_token=1";fetch(o).then(function(e){return e.json()}).then(function(t){var o=[];if(t.status&&t.subscriptions)for(var l=0;l<t.subscriptions.length;l++){var i={value:t.subscriptions[l].code,label:t.subscriptions[l].title};o[l]=i}o.length&&(e.subscriptionsFetched=o),n({fetching:!1})})}}},{key:"getShowPriceHelp",value:function(e){return e?__("Enable","codoc"):__("Disable","codoc")}},{key:"getShowSupportHelp",value:function(e){return e?__("Accept","codoc"):__("Do not accept","codoc")}},{key:"getShowPaywalledSupportHelp",value:function(e){return e?__('The paid part will be hidden upon access, but will be displayed after tapping "Pay to Read". Viewers can freely specify the amount to purchase based on the content. Please note that there may be cases where it is not purchased.',"codoc"):__(" ")}},{key:"getStatusLimitedHelp",value:function(e){return e?__("Unlisted","codoc"):__("Published","codoc")}},{key:"render",value:function(){var e=this,t=this.props,n=t.setAttributes,o=t.attributes,l=o.showPrice,i=o.price,r=o.limited,a=o.limitedCount,s=o.affiliateMode,c=o.affiliateRate,u=o.showSupport,p=o.showPaywalledSupport,d=o.statusLimited,f=o.subscriptions,m=function(){return n({showPrice:!l})},h=function(){return n({limited:!r})},k=function(){return n({showPaywalledSupport:!p})},E=function(){return n({statusLimited:!d})},S=function(){return n({affiliateMode:!s})},O=function(){return n({showSupport:!u})},x=P({checked_obj:Object.assign({},f)})(function(t){var o=t.checked_obj,l=t.setState;return wp.element.createElement("ul",null,e.subscriptionsFetched.map(function(e){var t=!!o[e.value],i=Object.keys(o).length;return wp.element.createElement("li",{key:e.value},wp.element.createElement(C,{className:"check_items",label:e.label,checked:t,onChange:function(t){if(!(t&&i>=5)){var r=Object.assign({},o);t?r[e.value]=!0:delete r[e.value],n({subscriptions:r}),l({checked_obj:r})}}}))}))}),N=[{value:"0.0500",label:"5%"},{value:"0.1000",label:"10%"},{value:"0.1500",label:"15%"},{value:"0.2000",label:"20%"},{value:"0.2500",label:"25%"},{value:"0.3000",label:"30%"},{value:"0.3500",label:"35%"},{value:"0.4000",label:"40%"},{value:"0.4500",label:"45%"},{value:"0.5000",label:"50%"}];return wp.element.createElement(b,{key:"CodocControls"},wp.element.createElement(y,null,wp.element.createElement(v,{label:__("individual sale","codoc"),checked:!!l,help:this.getShowPriceHelp,ref:"showPrice",onChange:m}),wp.element.createElement("div",{style:{display:l?"initial":"none"}},wp.element.createElement(g,{label:__("price","codoc")+" "+(j>0?(i/100).toFixed(j):i)+" "+__(A)+__(p?"\u3010"+__("Displayed as the your suggested price","codoc")+"\u3011":""),value:i,initialPosition:i,onChange:function(e){n({price:e})},min:"100",max:1==T?1e5:5e4}),wp.element.createElement("br",null),wp.element.createElement(v,{label:__("Pay-what-you-want","codoc"),checked:!!p,help:this.getShowPaywalledSupportHelp,onChange:k}),wp.element.createElement("div",{style:{display:p?"none":"initial"}},wp.element.createElement(v,{label:__("Limited quantity sale","codoc"),checked:!!r,onChange:h}),wp.element.createElement("div",{style:{display:r?"initial":"none"}},wp.element.createElement(g,{label:__("Limited quantity","codoc"),value:a,onChange:function(e){n({limitedCount:e})},initialPosition:a,min:"0",max:"100"}),wp.element.createElement("br",null)),wp.element.createElement(v,{label:__("Affiliate","codoc"),checked:!!s,onChange:S}),wp.element.createElement("div",{style:{display:s?"initial":"none"}},wp.element.createElement(w,{label:__("Rate","codoc"),description:__("You can offer affiliate marketing at a specified rate for purchasers.","codoc"),options:N,value:c,onChange:function(e){n({affiliateRate:e})}}),wp.element.createElement("br",null)))),wp.element.createElement("div",{style:{display:p?"none":"initial"}},wp.element.createElement(v,{label:__("Tipping","codoc"),checked:!!u,value:"1",onChange:O,help:this.getShowSupportHelp})),wp.element.createElement("div",{style:{display:"initial"}},wp.element.createElement(v,{label:__("Unlisted","codoc"),checked:!!d,value:"1",onChange:E,help:this.getStatusLimitedHelp})),wp.element.createElement("div",{class:"codoc-subscription-title"},wp.element.createElement("label",null,__("Subscriptions","codoc")),wp.element.createElement("a",{href:_+"/me/subscriptions",target:"_blank",class:"codoc-subscription-add"},__("Add","codoc"))),wp.element.createElement(x,null)))}}]),t}(p),R=function(e){function t(){o(this,t);var e=l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.props.setAttributes({version:x}),e.props.setAttributes({showPrice:null==e.props.attributes.showPrice||e.props.attributes.showPrice}),e.props.setAttributes({price:null==e.props.attributes.price?500:e.props.attributes.price}),e.props.setAttributes({limited:null!=e.props.attributes.limited&&e.props.attributes.limited}),e.props.setAttributes({limitedCount:null==e.props.attributes.limitedCount?10:e.props.attributes.limitedCount}),e.props.setAttributes({affiliateMode:null!=e.props.attributes.affiliateMode&&e.props.attributes.affiliateMode}),e.props.setAttributes({affiliateRate:null==e.props.attributes.affiliateRate?"0.0500":e.props.attributes.affiliateRate}),e.props.setAttributes({showSupport:null!=e.props.attributes.showSupport&&e.props.attributes.showSupport}),e.props.setAttributes({showPaywalledSupport:null!=e.props.attributes.showPaywalledSupport&&e.props.attributes.showPaywalledSupport}),e.props.setAttributes({statusLimited:null!=e.props.attributes.statusLimited&&e.props.attributes.statusLimited}),e.props.setAttributes({subscriptions:null==e.props.attributes.subscriptions?{}:e.props.attributes.subscriptions}),e.onChangeInput=e.onChangeInput.bind(e),e.onKeyDown=e.onKeyDown.bind(e),e.state={defaultText:__("To continue reading, ...","codoc")},e}return i(t,e),c(t,[{key:"onChangeInput",value:function(e){this.setState({defaultText:""});var t=0===e.target.value.length?void 0:e.target.value;this.props.setAttributes({customText:t})}},{key:"onKeyDown",value:function(e){var t=e.keyCode,n=this.props.insertBlocksAfter;t===u&&n([S(E())])}},{key:"render",value:function(){var e=this.props,t=e.attributes.customText,n=e.setAttributes,o=this.state.defaultText,l=t||o,i=l.length+10;return[wp.element.createElement(N,Object.assign({setAttributes:n},this.props)),wp.element.createElement("div",{className:"wp-block-more"},wp.element.createElement("input",{type:"text",value:l,size:i,onChange:this.onChangeInput,onKeyDown:this.onKeyDown}))]}}]),t}(p);d("codoc/codoc-block",{title:__("codoc","codoc"),description:__("The area from this block down is a paid area that only authenticated codoc users can view.","codoc"),icon:s.a,category:"layout",supports:{customClassName:!1,className:!1,html:!1,multiple:!1},keywords:[__("codoc Block","codoc"),__("plugin for codoc","codoc"),__("codoc-block","codoc")],attributes:{showPrice:{type:"boolean",default:null},price:{type:"number",default:null},limited:{type:"boolean",default:null},limitedCount:{type:"number",default:null},affiliateMode:{type:"boolean",default:null},affiliateRate:{type:"string",default:null},showSupport:{type:"boolean",default:null},showPaywalledSupport:{type:"boolean",default:null},statusLimited:{type:"boolean",default:null},subscriptions:{type:"object",default:null},customText:{type:"string",default:""},version:{type:"string",default:null}},edit:R,save:function(e){var t=(e.setAttributes,e.attributes.customText);return wp.element.createElement("div",{"data-id":"codoc-tag",className:"codoc-entries"},t&&!!t.length&&wp.element.createElement(m.Content,{value:t}))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var o=n(5);n.n(o);t.a=wp.element.createElement("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"100%",viewBox:"0 0 256 256","enable-background":"new 0 0 256 256",xmlSpace:"preserve"},wp.element.createElement("path",{fill:"#ffffff",opacity:"1.000000",stroke:"none",d:"M141.000000,257.000000 C94.000000,257.000000 47.500004,257.000000 1.000006,257.000000 C1.000004,171.666672 1.000004,86.333351 1.000002,1.000018 C86.333321,1.000012 171.666641,1.000012 257.000000,1.000006 C257.000000,86.333313 257.000000,171.666626 257.000000,256.999969 C218.500000,257.000000 180.000000,257.000000 141.000000,257.000000 M146.503082,23.000164 C116.907616,22.080397 90.932098,31.832527 69.273537,51.527222 C43.720821,74.762970 31.318863,103.869339 33.861893,138.920883 C35.131977,156.427002 39.715271,172.783020 49.613323,187.221390 C76.307907,226.160965 114.954926,238.329178 159.853943,234.326080 C182.543427,232.303101 202.167206,222.083160 219.314758,207.096619 C222.639465,204.190887 222.785080,201.958481 219.541718,198.996063 C210.086426,190.359756 200.699310,181.646790 191.392899,172.850220 C185.639374,167.411880 185.677856,167.315521 179.461136,172.079407 C160.475082,186.628571 135.524796,187.942444 115.371788,175.056778 C97.697929,163.756256 89.467148,146.957764 90.253334,126.395493 C91.060989,105.271385 101.350311,89.188896 120.515396,79.896317 C141.850464,69.551582 162.308594,73.002220 181.405899,86.137695 C185.054901,88.647537 187.582901,89.016609 190.896500,85.704330 C199.132141,77.471970 207.729889,69.603195 216.037704,61.441307 C224.548111,53.080330 224.348465,52.176884 214.913849,44.925365 C195.019623,29.634516 172.687103,21.958462 146.503082,23.000164 z"}),wp.element.createElement("path",{fill:"#1B1D1F",opacity:"1.000000",stroke:"none",d:"M147.001526,23.000149 C172.687103,21.958462 195.019623,29.634516 214.913849,44.925365 C224.348465,52.176884 224.548111,53.080330 216.037704,61.441307 C207.729889,69.603195 199.132141,77.471970 190.896500,85.704330 C187.582901,89.016609 185.054901,88.647537 181.405899,86.137695 C162.308594,73.002220 141.850464,69.551582 120.515396,79.896317 C101.350311,89.188896 91.060989,105.271385 90.253334,126.395493 C89.467148,146.957764 97.697929,163.756256 115.371788,175.056778 C135.524796,187.942444 160.475082,186.628571 179.461136,172.079407 C185.677856,167.315521 185.639374,167.411880 191.392899,172.850220 C200.699310,181.646790 210.086426,190.359756 219.541718,198.996063 C222.785080,201.958481 222.639465,204.190887 219.314758,207.096619 C202.167206,222.083160 182.543427,232.303101 159.853943,234.326080 C114.954926,238.329178 76.307907,226.160965 49.613323,187.221390 C39.715271,172.783020 35.131977,156.427002 33.861893,138.920883 C31.318863,103.869339 43.720821,74.762970 69.273537,51.527222 C90.932098,31.832527 116.907616,22.080397 147.001526,23.000149 z"}))},function(e,t){e.exports=wp.components}]);1 !function(e){function t(o){if(n[o])return n[o].exports;var l=n[o]={i:o,l:!1,exports:{}};return e[o].call(l.exports,l,l.exports,t),l.l=!0,l.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:o})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=0)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(1)},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var r=n(2),a=(n.n(r),n(3)),s=(n.n(a),n(4)),c=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),u=wp.keycodes.ENTER,__=wp.i18n.__,p=wp.element.Component,d=wp.blocks.registerBlockType,f=wp.editor,b=f.InspectorControls,m=f.RichText,h=wp.components,w=h.SelectControl,y=h.PanelBody,v=h.ToggleControl,C=h.CheckboxControl,g=h.RangeControl,k=wp.blocks,E=k.getDefaultBlockName,P=k.createBlock,S=wp.compose.withState,_=OPTIONS.codoc_url,O=OPTIONS.codoc_usercode,x=OPTIONS.codoc_plugin_version,T=OPTIONS.codoc_account_is_pro,A=OPTIONS.codoc_currency_code,j=OPTIONS.codoc_currency_decimal_places,N=function(e){function t(e){o(this,t);var n=l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return n.subscriptionsFetched=[],n.fetchSubscriptions(),n}return i(t,e),c(t,[{key:"fetchSubscriptions",value:function(){var e=this,t=this.props,n=t.setAttributes;if(!t.attributes.fetching){n({fetching:!0});var o=_+"/api/v1/cms/"+O+"/subscriptions?without_token=1";fetch(o).then(function(e){return e.json()}).then(function(t){var o=[];if(t.status&&t.subscriptions)for(var l=0;l<t.subscriptions.length;l++){var i={value:t.subscriptions[l].code,label:t.subscriptions[l].title};o[l]=i}o.length&&(e.subscriptionsFetched=o),n({fetching:!1})})}}},{key:"getShowPriceHelp",value:function(e){return e?__("Enable","codoc"):__("Disable","codoc")}},{key:"getShowSupportHelp",value:function(e){return e?__("Accept","codoc"):__("Do not accept","codoc")}},{key:"getShowPaywalledSupportHelp",value:function(e){return e?__('The paid part will be hidden upon access, but will be displayed after tapping "Pay to Read". Viewers can freely specify the amount to purchase based on the content. Please note that there may be cases where it is not purchased.',"codoc"):__(" ")}},{key:"getStatusLimitedHelp",value:function(e){return e?__("Unlisted","codoc"):__("Published","codoc")}},{key:"render",value:function(){var e=this,t=this.props,n=t.setAttributes,o=t.attributes,l=o.showPrice,i=o.price,r=o.limited,a=o.limitedCount,s=o.affiliateMode,c=o.affiliateRate,u=o.showSupport,p=o.showPaywalledSupport,d=o.statusLimited,f=o.subscriptions,m=function(){return n({showPrice:!l})},h=function(){return n({limited:!r})},k=function(){return n({showPaywalledSupport:!p})},E=function(){return n({statusLimited:!d})},P=function(){return n({affiliateMode:!s})},O=function(){return n({showSupport:!u})},x=S({checked_obj:Object.assign({},f)})(function(t){var o=t.checked_obj,l=t.setState;return wp.element.createElement("ul",null,e.subscriptionsFetched.map(function(e){var t=!!o[e.value],i=Object.keys(o).length;return wp.element.createElement("li",{key:e.value},wp.element.createElement(C,{className:"check_items",label:e.label,checked:t,onChange:function(t){if(!(t&&i>=5)){var r=Object.assign({},o);t?r[e.value]=!0:delete r[e.value],n({subscriptions:r}),l({checked_obj:r})}}}))}))}),N=[{value:"0.0500",label:"5%"},{value:"0.1000",label:"10%"},{value:"0.1500",label:"15%"},{value:"0.2000",label:"20%"},{value:"0.2500",label:"25%"},{value:"0.3000",label:"30%"},{value:"0.3500",label:"35%"},{value:"0.4000",label:"40%"},{value:"0.4500",label:"45%"},{value:"0.5000",label:"50%"}];return wp.element.createElement(b,{key:"CodocControls"},wp.element.createElement(y,null,wp.element.createElement(v,{label:__("individual sale","codoc"),checked:!!l,help:this.getShowPriceHelp,ref:"showPrice",onChange:m}),wp.element.createElement("div",{style:{display:l?"initial":"none"}},wp.element.createElement(g,{label:__("price","codoc")+" "+(j>0?(i/100).toFixed(j):i)+" "+__(A)+__(p?"\u3010"+__("Displayed as the your suggested price","codoc")+"\u3011":""),value:i,initialPosition:i,onChange:function(e){n({price:e})},min:"100",max:1==T?1e5:5e4}),wp.element.createElement("br",null),wp.element.createElement(v,{label:__("Pay-what-you-want","codoc"),checked:!!p,help:this.getShowPaywalledSupportHelp,onChange:k}),wp.element.createElement("div",{style:{display:p?"none":"initial"}},wp.element.createElement(v,{label:__("Limited quantity sale","codoc"),checked:!!r,onChange:h}),wp.element.createElement("div",{style:{display:r?"initial":"none"}},wp.element.createElement(g,{label:__("Limited quantity","codoc"),value:a,onChange:function(e){n({limitedCount:e})},initialPosition:a,min:"0",max:"100"}),wp.element.createElement("br",null)),wp.element.createElement(v,{label:__("Affiliate","codoc"),checked:!!s,onChange:P}),wp.element.createElement("div",{style:{display:s?"initial":"none"}},wp.element.createElement(w,{label:__("Rate","codoc"),description:__("You can offer affiliate marketing at a specified rate for purchasers.","codoc"),options:N,value:c,onChange:function(e){n({affiliateRate:e})}}),wp.element.createElement("br",null)))),wp.element.createElement("div",{style:{display:p?"none":"initial"}},wp.element.createElement(v,{label:__("Tipping","codoc"),checked:!!u,value:"1",onChange:O,help:this.getShowSupportHelp})),wp.element.createElement("div",{style:{display:"initial"}},wp.element.createElement(v,{label:__("Unlisted","codoc"),checked:!!d,value:"1",onChange:E,help:this.getStatusLimitedHelp})),wp.element.createElement("div",{class:"codoc-subscription-title"},wp.element.createElement("label",null,__("Reader Plans","codoc")),wp.element.createElement("a",{href:_+"/me/subscriptions",target:"_blank",class:"codoc-subscription-add"},__("Add","codoc"))),wp.element.createElement(x,null)))}}]),t}(p),R=function(e){function t(){o(this,t);var e=l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.props.setAttributes({version:x}),e.props.setAttributes({showPrice:null==e.props.attributes.showPrice||e.props.attributes.showPrice}),e.props.setAttributes({price:null==e.props.attributes.price?500:e.props.attributes.price}),e.props.setAttributes({limited:null!=e.props.attributes.limited&&e.props.attributes.limited}),e.props.setAttributes({limitedCount:null==e.props.attributes.limitedCount?10:e.props.attributes.limitedCount}),e.props.setAttributes({affiliateMode:null!=e.props.attributes.affiliateMode&&e.props.attributes.affiliateMode}),e.props.setAttributes({affiliateRate:null==e.props.attributes.affiliateRate?"0.0500":e.props.attributes.affiliateRate}),e.props.setAttributes({showSupport:null!=e.props.attributes.showSupport&&e.props.attributes.showSupport}),e.props.setAttributes({showPaywalledSupport:null!=e.props.attributes.showPaywalledSupport&&e.props.attributes.showPaywalledSupport}),e.props.setAttributes({statusLimited:null!=e.props.attributes.statusLimited&&e.props.attributes.statusLimited}),e.props.setAttributes({subscriptions:null==e.props.attributes.subscriptions?{}:e.props.attributes.subscriptions}),e.onChangeInput=e.onChangeInput.bind(e),e.onKeyDown=e.onKeyDown.bind(e),e.state={defaultText:__("To continue reading, ...","codoc")},e}return i(t,e),c(t,[{key:"onChangeInput",value:function(e){this.setState({defaultText:""});var t=0===e.target.value.length?void 0:e.target.value;this.props.setAttributes({customText:t})}},{key:"onKeyDown",value:function(e){var t=e.keyCode,n=this.props.insertBlocksAfter;t===u&&n([P(E())])}},{key:"render",value:function(){var e=this.props,t=e.attributes.customText,n=e.setAttributes,o=this.state.defaultText,l=t||o,i=l.length+10;return[wp.element.createElement(N,Object.assign({setAttributes:n},this.props)),wp.element.createElement("div",{className:"wp-block-more"},wp.element.createElement("input",{type:"text",value:l,size:i,onChange:this.onChangeInput,onKeyDown:this.onKeyDown}))]}}]),t}(p);d("codoc/codoc-block",{title:__("codoc","codoc"),description:__("The area from this block down is a paid area that only authenticated codoc users can view.","codoc"),icon:s.a,category:"layout",supports:{customClassName:!1,className:!1,html:!1,multiple:!1},keywords:[__("codoc Block","codoc"),__("plugin for codoc","codoc"),__("codoc-block","codoc")],attributes:{showPrice:{type:"boolean",default:null},price:{type:"number",default:null},limited:{type:"boolean",default:null},limitedCount:{type:"number",default:null},affiliateMode:{type:"boolean",default:null},affiliateRate:{type:"string",default:null},showSupport:{type:"boolean",default:null},showPaywalledSupport:{type:"boolean",default:null},statusLimited:{type:"boolean",default:null},subscriptions:{type:"object",default:null},customText:{type:"string",default:""},version:{type:"string",default:null}},edit:R,save:function(e){var t=(e.setAttributes,e.attributes.customText);return wp.element.createElement("div",{"data-id":"codoc-tag",className:"codoc-entries"},t&&!!t.length&&wp.element.createElement(m.Content,{value:t}))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var o=n(5);n.n(o);t.a=wp.element.createElement("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"100%",viewBox:"0 0 256 256","enable-background":"new 0 0 256 256",xmlSpace:"preserve"},wp.element.createElement("path",{fill:"#ffffff",opacity:"1.000000",stroke:"none",d:"M141.000000,257.000000 C94.000000,257.000000 47.500004,257.000000 1.000006,257.000000 C1.000004,171.666672 1.000004,86.333351 1.000002,1.000018 C86.333321,1.000012 171.666641,1.000012 257.000000,1.000006 C257.000000,86.333313 257.000000,171.666626 257.000000,256.999969 C218.500000,257.000000 180.000000,257.000000 141.000000,257.000000 M146.503082,23.000164 C116.907616,22.080397 90.932098,31.832527 69.273537,51.527222 C43.720821,74.762970 31.318863,103.869339 33.861893,138.920883 C35.131977,156.427002 39.715271,172.783020 49.613323,187.221390 C76.307907,226.160965 114.954926,238.329178 159.853943,234.326080 C182.543427,232.303101 202.167206,222.083160 219.314758,207.096619 C222.639465,204.190887 222.785080,201.958481 219.541718,198.996063 C210.086426,190.359756 200.699310,181.646790 191.392899,172.850220 C185.639374,167.411880 185.677856,167.315521 179.461136,172.079407 C160.475082,186.628571 135.524796,187.942444 115.371788,175.056778 C97.697929,163.756256 89.467148,146.957764 90.253334,126.395493 C91.060989,105.271385 101.350311,89.188896 120.515396,79.896317 C141.850464,69.551582 162.308594,73.002220 181.405899,86.137695 C185.054901,88.647537 187.582901,89.016609 190.896500,85.704330 C199.132141,77.471970 207.729889,69.603195 216.037704,61.441307 C224.548111,53.080330 224.348465,52.176884 214.913849,44.925365 C195.019623,29.634516 172.687103,21.958462 146.503082,23.000164 z"}),wp.element.createElement("path",{fill:"#1B1D1F",opacity:"1.000000",stroke:"none",d:"M147.001526,23.000149 C172.687103,21.958462 195.019623,29.634516 214.913849,44.925365 C224.348465,52.176884 224.548111,53.080330 216.037704,61.441307 C207.729889,69.603195 199.132141,77.471970 190.896500,85.704330 C187.582901,89.016609 185.054901,88.647537 181.405899,86.137695 C162.308594,73.002220 141.850464,69.551582 120.515396,79.896317 C101.350311,89.188896 91.060989,105.271385 90.253334,126.395493 C89.467148,146.957764 97.697929,163.756256 115.371788,175.056778 C135.524796,187.942444 160.475082,186.628571 179.461136,172.079407 C185.677856,167.315521 185.639374,167.411880 191.392899,172.850220 C200.699310,181.646790 210.086426,190.359756 219.541718,198.996063 C222.785080,201.958481 222.639465,204.190887 219.314758,207.096619 C202.167206,222.083160 182.543427,232.303101 159.853943,234.326080 C114.954926,238.329178 76.307907,226.160965 49.613323,187.221390 C39.715271,172.783020 35.131977,156.427002 33.861893,138.920883 C31.318863,103.869339 43.720821,74.762970 69.273537,51.527222 C90.932098,31.832527 116.907616,22.080397 147.001526,23.000149 z"}))},function(e,t){e.exports=wp.components}]); -
codoc/tags/0.9.55/dist/blocks.editor.build.css
r2413012 r3350883 1 .wp-block-cgb-block-wordpress{background:#bada55;border:0.2rem solid #292929;color:#292929;margin:0 auto;max-width:740px;padding:2rem}.wp-block-codoc-border{background:#bada55;border:0.2rem solid #292929;color:#292929;text-align:center;padding:2rem}.components-range-control__number{width:70px}.codoc-subscription-title{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}.codoc-subscription-add{position:relative;display:inline-block;padding:2px 10px 2px 23px;margin-left:10px;background:#0073aa;color:#fff;font-size:11px;text-decoration:none;border-radius:3px}.codoc-subscription-add:hover{background:#0070a7;color:#efefef}.codoc-subscription-add:before{position:absolute;top:50%;left:7px;display:block;content:"";width:10px;height:1px;margin-top:-1px;background:#fff}.codoc-subscription-add:after{position:absolute;top:50%;left:7px;display:block;content:"";width:10px;height:1px;margin-top:-1px;background:#fff;-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)} 1 /** 2 * #.# Common SCSS 3 * 4 * Can include things like variables and mixins 5 * that are used across the project. 6 */ 7 /** 8 * #.# Editor Styles 9 * 10 * CSS for just Backend enqueued after style.scss 11 * which makes it higher in priority. 12 */ 13 .wp-block-cgb-block-wordpress { 14 background: #bada55; 15 border: 0.2rem solid rgb(41, 41, 41); 16 color: rgb(41, 41, 41); 17 margin: 0 auto; 18 max-width: 740px; 19 padding: 2rem; 20 } 21 22 .wp-block-codoc-border { 23 background: #bada55; 24 border: 0.2rem solid rgb(41, 41, 41); 25 color: rgb(41, 41, 41); 26 text-align: center; 27 padding: 2rem; 28 } 29 30 .components-range-control__number { 31 width: 70px; 32 } 33 34 .codoc-subscription-title { 35 display: -ms-flexbox; 36 display: flex; 37 -ms-flex-pack: justify; 38 justify-content: space-between; 39 } 40 41 .codoc-subscription-add { 42 position: relative; 43 display: inline-block; 44 padding: 2px 10px 2px 23px; 45 margin-left: 10px; 46 background: #0073aa; 47 color: #fff; 48 font-size: 11px; 49 text-decoration: none; 50 border-radius: 3px; 51 } 52 53 .codoc-subscription-add:hover { 54 background: #0070a7; 55 color: #efefef; 56 } 57 58 .codoc-subscription-add:before { 59 position: absolute; 60 top: 50%; 61 left: 7px; 62 display: block; 63 content: ""; 64 width: 10px; 65 height: 1px; 66 margin-top: -1px; 67 background: #fff; 68 } 69 70 .codoc-subscription-add:after { 71 position: absolute; 72 top: 50%; 73 left: 7px; 74 display: block; 75 content: ""; 76 width: 10px; 77 height: 1px; 78 margin-top: -1px; 79 background: #fff; 80 -webkit-transform: rotate(90deg); 81 -ms-transform: rotate(90deg); 82 transform: rotate(90deg); 83 } -
codoc/tags/0.9.55/dist/blocks.style.build.css
r2141582 r3350883 1 .wp-block-cgb-block-wordpress{background:#ff4500;border:0.2rem solid #292929;color:#292929;margin:0 auto;max-width:740px;padding:2rem} 1 /** 2 * #.# Common SCSS 3 * 4 * Can include things like variables and mixins 5 * that are used across the project. 6 */ 7 /** 8 * #.# Styles 9 * 10 * CSS for both Frontend+Backend. 11 */ 12 .wp-block-cgb-block-wordpress { 13 background: orangered; 14 border: 0.2rem solid rgb(41, 41, 41); 15 color: rgb(41, 41, 41); 16 margin: 0 auto; 17 max-width: 740px; 18 padding: 2rem; 19 } -
codoc/tags/0.9.55/languages/codoc-ja-codoc-block-js.json
r3298415 r3350883 1 {"domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural_forms":"nplurals=1; plural=0;","lang":"ja"},"codoc Settings":["codoc設定"],"Theme":["テーマ"],"You can change the design of the paywall by specifying a theme.<br />You can also specify CSS directly by selecting \"Path Specification\"":["テーマを変更するとペイウォールのデザインを変更できます。<br />「パス指定」を選択してCSSを直接指定することもできます。"],"Rainbow colors":["レインボーカラー"],"Blue":["青"],"Red":["赤"],"Green":["緑"],"Black":["黒"],"Dark mode":["ダークモード"],"Rainbow Colors / Square design":["レインボーカラー / スクエアデザイン"],"Blue / Square design":["ブルー / スクエアデザイン"],"Red / Square design":["レッド / スクエアデザイン"],"Green / Square design":["グリーン / スクエアデザイン"],"Black / Square design":["ブラック / スクエアデザイン"],"Dark mode / Square design":["ダークモード / スクエアデザイン"],"Path Specification":["パス指定"],"Please note that the theme for dark mode has white text color, and depending on the background color, the text may not be visible.":["ダークモードはテキストの色が白となります。背景色によってはテキストが表示されない場合がありますのでご注意ください。"],"Texts in paywall":["ペイウォールのテキスト"],"You can change, show and hide texts in your paywall.":["ペイウォールのテキストを変更、表示、非表示にすることができます。"],"Display of likes":["いいねの表示"],"Enable":["有効"],"Disable":["無効"],"Display of PoweredBy":["Powered byの表示"],"Only PRO accounts can be disabled.":["無効にできるのは PRO アカウントのみです。"],"\"Purchase Article\" button text":["「購入」ボタンのテキスト"],"\"Purchase Subscription\" button text.":["サブスクリプション「購入」ボタンのテキスト。"],"Support button text":["サポートボタンのテキスト"],"Text for \"Articles Included in Subscription\".":["「購読に含まれる記事」のテキスト"],"Text for support description":["サポートの説明のテキスト"],"Attributes for codoc tag":["codoc タグの属性"],"You can add specific attributes to codoc tags.":["codoc タグに特定の属性を追加できます。"],"Attributes for codoc script tag":["codoc スクリプトタグの属性"],"You can add specific attributes to codoc script tags.":["codoc スクリプトタグに特定の属性を追加できます。"],"Permalink":["パーマリンク"],"You can replace the part of permalink registered on the codoc.":["codocに登録されているパーマリンクの一部を置換できます。"],"HTML insertion":["HTML の挿入"],"You can insert HTML before and after the codoc tag.":["codoc タグの前後に HTML を挿入できます。"],"Before HTML":["HTML の前"],"After HTML":["HTML の後"],"Automatic support insertion":["サポートの自動挿入"],"It adds support functions to the post without inserting a codoc block.":["codoc ブロックの挿入をしなくても投稿へサポート機能を追加できます。"],"Automatic insertion":["自動挿入"],"Position":["位置"],"TOP":["上"],"Bottom":["下"],"Description":["説明"],"You can customize the description of the support.":["サポートの説明をカスタマイズできます。"],"Category names":["カテゴリ名"],"Inserted into articles of categories, divided by "|"":[""|" 区切りのカテゴリ名"],"Disable plugin filter":["プラグインフィルターを無効にする"],"You can disable filter processing that includes shortcodes from other plugins that interfere with the operation of codoc. Please use this only if codoc is not functioning properly.":["codoc の動作を妨げる他のプラグインからの (ショートコードを含む) フィルタ処理を無効にすることができます。codoc が正しく機能していない場合にのみ使用してください。"],"Shortcode evacuation":["ショートコードの待避"],"The execution results of shortcodes written in the paid part are moved to the free part, and are used and displayed on the HTML during viewing of the paid part. Please use this if the shortcode does not work as expected in the paid part. Please note that the execution results of shortcodes in the paid part will be written in the source code.":["有料部分に記述されたショートコードの実行結果を無料部分に退避、有料部分の閲覧時に HTML 上で使用・表示されます。有料部分でショートコードが期待通りに機能しない場合は、こちらをご利用ください。有料部分のショートコードの実行結果はソースコードに書き込まれますのでご注意ください。"],"Debug Parameters":["デバックパラメーター"],"You can specify parameters for debugging. Please use this only upon request from codoc support.":["デバック用のパラメーターを指定できます。codoc サポートからの要求がある場合にのみ使用してください。"],"Creator's Information":["クリエイター情報"],"Please save changes to update the information.":["変更を保存して情報を更新してください。"],"Extensions integration completed (Extensions code: %1$s) %2$s":["拡張機能の連携完了 (拡張機能コード: %1$s) %2$s"],"Set the audience as a private account.":["オーディエンスをプライベートアカウントとして設定します。"],"Update creator's Information":["クリエイター情報の更新"],"Please update each time if you change the logo or cover image on the codoc side.":["codoc 側でロゴや表紙画像を変更した場合は、その都度更新してください。"],"codoc authentication has been completed.":["codoc の認証が完了しました。"],"Authentication":["認証"],"Please save changes to complete the unbinding.":["変更を保存して連携解除を完了してください。"],"Authorized as %s":["%sとして認証"],"Unbind authorization":["連携解除"],"The authentication information has been obtained. Please click the confirmation button to complete the setup.":["認証情報を取得しました。設定を完了させるために確認ボタンを押下してください。"],"Confirm authentication":["認証を確認"],"Authentication is required to use codoc on WordPress.":["codocを使うには認証が必要です。"],"You can authenticate by directly entering the user code and API token, or by logging in and registering with codoc.":["ユーザーコードと API トークンを直接入力するか、ログインもしくは登録を行うことで認証を行えます。"],"Authenticate by direct input":["直接入力して認証"],"Login and authenticate":["ログインして認証"],"Register and authenticate":["登録して認証"],"Please enable %s and enable "Keep paragraph tags in the Classic block and the Classic Editor" on the settings screen.":["%sを有効にし、設定画面にて "Keep paragraph tags in the Classic block and the Classic Editor" を有効にしてください。"],"Please enable "Keep paragraph tags in the Classic block and the Classic Editor" on the %s settings screen.":["%sの設定画面にて "Keep paragraph tags in the Classic block and the Classic Editor" を有効にしてください。"],"Accept":["受け付ける"],"Do not accept":["受け付けない"],"The paid part will be hidden upon access, but will be displayed after tapping \"Pay to Read\". Viewers can freely specify the amount to purchase based on the content. Please note that there may be cases where it is not purchased.":["このブロックから下のブロックは認証された codoc ユーザーのみが閲覧できる有料エリアとなります。"]," ":[""],"Unlisted":["限定公開"],"Published":["公開"],"individual sale":["単体販売"],"price":["価格"],"Displayed as the your suggested price":["希望価格として標示"],"【":[""],"Pay-what-you-want":["自由課金"],"Limited quantity sale":["限定販売"],"Limited quantity":["限定数"],"Affiliate":["アフィリエイト"],"Rate":["料率"],"You can offer affiliate marketing at a specified rate for purchasers.":["購入者を対象に指定した料率でアフィリエイトをオファーできます。"],"Tipping":[" サポート"],"Subscriptions":["サブスクリプション"],"Add":["追加"],"To continue reading, ...":["この続きをみるには"],"codoc":["codoc"],"The area from this block down is a paid area that only authenticated codoc users can view.":["このブロックから下のブロックは認証された codoc ユーザーのみが閲覧できる有料エリアとなります。"],"codoc Block":["codoc ブロック"],"plugin for codoc":["codoc プラグイン"],"codoc-block":[""],"https://plugins.svn.wordpress.org/codoc/":["https://plugins.svn.wordpress.org/codoc/"],"A WordPress plugin for monetizing websites by enabling paid articles, subscriptions(memberships), and tipping.":["有料記事、サブスクリプション (マガジン・メンバーシップ)、投げ銭を導入できる WordPress プラグイン。"],"codoc.jp":["codoc.jp"],"https://codoc.jp":["https://codoc.jp"]}}}1 {"domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural_forms":"nplurals=1; plural=0;","lang":"ja"},"codoc Settings":["codoc設定"],"Theme":["テーマ"],"You can change the design of the paywall by specifying a theme.<br />You can also specify CSS directly by selecting \"Path Specification\"":["テーマを変更するとペイウォールのデザインを変更できます。<br />「パス指定」を選択してCSSを直接指定することもできます。"],"Rainbow colors":["レインボーカラー"],"Blue":["青"],"Red":["赤"],"Green":["緑"],"Black":["黒"],"Dark mode":["ダークモード"],"Rainbow Colors / Square design":["レインボーカラー / スクエアデザイン"],"Blue / Square design":["ブルー / スクエアデザイン"],"Red / Square design":["レッド / スクエアデザイン"],"Green / Square design":["グリーン / スクエアデザイン"],"Black / Square design":["ブラック / スクエアデザイン"],"Dark mode / Square design":["ダークモード / スクエアデザイン"],"Path Specification":["パス指定"],"Please note that the theme for dark mode has white text color, and depending on the background color, the text may not be visible.":["ダークモードはテキストの色が白となります。背景色によってはテキストが表示されない場合がありますのでご注意ください。"],"Texts in paywall":["ペイウォールのテキスト"],"You can change, show and hide texts in your paywall.":["ペイウォールのテキストを変更、表示、非表示にすることができます。"],"Display of likes":["いいねの表示"],"Enable":["有効"],"Disable":["無効"],"Display of PoweredBy":["Powered byの表示"],"Only PRO accounts can be disabled.":["無効にできるのは PRO アカウントのみです。"],"\"Purchase Article\" button text":["「購入」ボタンのテキスト"],"\"Purchase Subscription\" button text.":["サブスクリプション「購入」ボタンのテキスト。"],"Support button text":["サポートボタンのテキスト"],"Text for \"Articles Included in Subscription\".":["「購読に含まれる記事」のテキスト"],"Text for support description":["サポートの説明のテキスト"],"Attributes for codoc tag":["codoc タグの属性"],"You can add specific attributes to codoc tags.":["codoc タグに特定の属性を追加できます。"],"Attributes for codoc script tag":["codoc スクリプトタグの属性"],"You can add specific attributes to codoc script tags.":["codoc スクリプトタグに特定の属性を追加できます。"],"Permalink":["パーマリンク"],"You can replace the part of permalink registered on the codoc.":["codocに登録されているパーマリンクの一部を置換できます。"],"HTML insertion":["HTML の挿入"],"You can insert HTML before and after the codoc tag.":["codoc タグの前後に HTML を挿入できます。"],"Before HTML":["HTML の前"],"After HTML":["HTML の後"],"Automatic support insertion":["サポートの自動挿入"],"It adds support functions to the post without inserting a codoc block.":["codoc ブロックの挿入をしなくても投稿へサポート機能を追加できます。"],"Automatic insertion":["自動挿入"],"Position":["位置"],"TOP":["上"],"Bottom":["下"],"Description":["説明"],"You can customize the description of the support.":["サポートの説明をカスタマイズできます。"],"Category names":["カテゴリ名"],"Inserted into articles of categories, divided by "|"":[""|" 区切りのカテゴリ名"],"Disable plugin filter":["プラグインフィルターを無効にする"],"You can disable filter processing that includes shortcodes from other plugins that interfere with the operation of codoc. Please use this only if codoc is not functioning properly.":["codoc の動作を妨げる他のプラグインからの (ショートコードを含む) フィルタ処理を無効にすることができます。codoc が正しく機能していない場合にのみ使用してください。"],"Shortcode evacuation":["ショートコードの待避"],"The execution results of shortcodes written in the paid part are moved to the free part, and are used and displayed on the HTML during viewing of the paid part. Please use this if the shortcode does not work as expected in the paid part. Please note that the execution results of shortcodes in the paid part will be written in the source code.":["有料部分に記述されたショートコードの実行結果を無料部分に退避、有料部分の閲覧時に HTML 上で使用・表示されます。有料部分でショートコードが期待通りに機能しない場合は、こちらをご利用ください。有料部分のショートコードの実行結果はソースコードに書き込まれますのでご注意ください。"],"Debug Parameters":["デバックパラメーター"],"You can specify parameters for debugging. Please use this only upon request from codoc support.":["デバック用のパラメーターを指定できます。codoc サポートからの要求がある場合にのみ使用してください。"],"Creator's Information":["クリエイター情報"],"Please save changes to update the information.":["変更を保存して情報を更新してください。"],"Extensions integration completed (Extensions code: %1$s) %2$s":["拡張機能の連携完了 (拡張機能コード: %1$s) %2$s"],"Set the audience as a private account.":["オーディエンスをプライベートアカウントとして設定します。"],"Update creator's Information":["クリエイター情報の更新"],"Please update each time if you change the logo or cover image on the codoc side.":["codoc 側でロゴや表紙画像を変更した場合は、その都度更新してください。"],"codoc authentication has been completed.":["codoc の認証が完了しました。"],"Authentication":["認証"],"Please save changes to complete the unbinding.":["変更を保存して連携解除を完了してください。"],"Authorized as %s":["%sとして認証"],"Unbind authorization":["連携解除"],"The authentication information has been obtained. Please click the confirmation button to complete the setup.":["認証情報を取得しました。設定を完了させるために確認ボタンを押下してください。"],"Confirm authentication":["認証を確認"],"Authentication is required to use codoc on WordPress.":["codocを使うには認証が必要です。"],"You can authenticate by directly entering the user code and API token, or by logging in and registering with codoc.":["ユーザーコードと API トークンを直接入力するか、ログインもしくは登録を行うことで認証を行えます。"],"Authenticate by direct input":["直接入力して認証"],"Login and authenticate":["ログインして認証"],"Register and authenticate":["登録して認証"],"Please enable %s and enable "Keep paragraph tags in the Classic block and the Classic Editor" on the settings screen.":["%sを有効にし、設定画面にて "Keep paragraph tags in the Classic block and the Classic Editor" を有効にしてください。"],"Please enable "Keep paragraph tags in the Classic block and the Classic Editor" on the %s settings screen.":["%sの設定画面にて "Keep paragraph tags in the Classic block and the Classic Editor" を有効にしてください。"],"Accept":["受け付ける"],"Do not accept":["受け付けない"],"The paid part will be hidden upon access, but will be displayed after tapping \"Pay to Read\". Viewers can freely specify the amount to purchase based on the content. Please note that there may be cases where it is not purchased.":["このブロックから下のブロックは認証された codoc ユーザーのみが閲覧できる有料エリアとなります。"]," ":[""],"Unlisted":["限定公開"],"Published":["公開"],"individual sale":["単体販売"],"price":["価格"],"Displayed as the your suggested price":["希望価格として標示"],"【":[""],"Pay-what-you-want":["自由課金"],"Limited quantity sale":["限定販売"],"Limited quantity":["限定数"],"Affiliate":["アフィリエイト"],"Rate":["料率"],"You can offer affiliate marketing at a specified rate for purchasers.":["購入者を対象に指定した料率でアフィリエイトをオファーできます。"],"Tipping":["チップ"],"Reader Plans":["購読プラン"],"Add":["追加"],"To continue reading, ...":["この続きをみるには"],"codoc":["codoc"],"The area from this block down is a paid area that only authenticated codoc users can view.":["このブロックから下のブロックは認証された codoc ユーザーのみが閲覧できる有料エリアとなります。"],"codoc Block":["codoc ブロック"],"plugin for codoc":["codoc プラグイン"],"codoc-block":[""],"https://plugins.svn.wordpress.org/codoc/":["https://plugins.svn.wordpress.org/codoc/"],"A WordPress plugin for monetizing websites by enabling paid articles, subscriptions(memberships), and tipping.":["有料記事、サブスクリプション (マガジン・メンバーシップ)、投げ銭を導入できる WordPress プラグイン。"],"codoc.jp":["codoc.jp"],"https://codoc.jp":["https://codoc.jp"]}}} -
codoc/tags/0.9.55/languages/codoc-ja.po
r3298415 r3350883 3 3 "Project-Id-Version: Codestar Framework 2.2.1\n" 4 4 "Report-Msgid-Bugs-To: \n" 5 "POT-Creation-Date: 2025-0 5-22 12:24+0900\n"5 "POT-Creation-Date: 2025-08-27 15:01+0900\n" 6 6 "PO-Revision-Date: \n" 7 7 "Last-Translator: \n" … … 15 15 "X-Generator: Poedit 3.5\n" 16 16 17 #: class-codoc.php: 32017 #: class-codoc.php:171 class-codoc.php:320 18 18 msgid "codoc Settings" 19 19 msgstr "codoc設定" … … 347 347 msgstr "登録して認証" 348 348 349 #: class-codoc.php:772 350 #, fuzzy 351 #| msgid "codoc Settings" 352 msgid "Settings" 353 msgstr "codoc設定" 354 349 355 #: class-codoc.php:1095 350 356 #, php-format … … 387 393 msgstr "" 388 394 389 #: src/block/block.js:108 src/block/block.js:2 58395 #: src/block/block.js:108 src/block/block.js:276 390 396 msgid "Unlisted" 391 397 msgstr "限定公開" … … 395 401 msgstr "公開" 396 402 397 #: src/block/block.js:1 78403 #: src/block/block.js:196 398 404 msgid "individual sale" 399 405 msgstr "単体販売" 400 406 401 #: src/block/block.js: 187407 #: src/block/block.js:205 402 408 msgid "price" 403 409 msgstr "価格" 404 410 405 #: src/block/block.js: 187411 #: src/block/block.js:205 406 412 msgid "Displayed as the your suggested price" 407 413 msgstr "希望価格として標示" 408 414 409 #: src/block/block.js: 187415 #: src/block/block.js:205 410 416 msgid "【" 411 417 msgstr "" 412 418 413 #: src/block/block.js: 199419 #: src/block/block.js:217 414 420 msgid "Pay-what-you-want" 415 421 msgstr "自由課金" 416 422 417 #: src/block/block.js:2 07423 #: src/block/block.js:225 418 424 msgid "Limited quantity sale" 419 425 msgstr "限定販売" 420 426 421 #: src/block/block.js:2 14427 #: src/block/block.js:232 422 428 msgid "Limited quantity" 423 429 msgstr "限定数" 424 430 425 #: src/block/block.js:2 27431 #: src/block/block.js:245 426 432 msgid "Affiliate" 427 433 msgstr "アフィリエイト" 428 434 429 #: src/block/block.js:2 34435 #: src/block/block.js:252 430 436 msgid "Rate" 431 437 msgstr "料率" 432 438 433 #: src/block/block.js:2 35439 #: src/block/block.js:253 434 440 msgid "You can offer affiliate marketing at a specified rate for purchasers." 435 441 msgstr "購入者を対象に指定した料率でアフィリエイトをオファーできます。" 436 442 437 #: src/block/block.js:2 48443 #: src/block/block.js:266 438 444 msgid "Tipping" 439 msgstr " サポート"440 441 #: src/block/block.js:2 68442 msgid " Subscriptions"443 msgstr " サブスクリプション"444 445 #: src/block/block.js:2 74445 msgstr "チップ" 446 447 #: src/block/block.js:286 448 msgid "Reader Plans" 449 msgstr "購読プラン" 450 451 #: src/block/block.js:292 446 452 msgid "Add" 447 453 msgstr "追加" 448 454 449 #: src/block/block.js:3 06455 #: src/block/block.js:324 450 456 msgid "To continue reading, ..." 451 457 msgstr "この続きをみるには" 452 458 453 459 #. Plugin Name of the plugin/theme 454 #: src/block/block.js:3 58460 #: src/block/block.js:376 455 461 msgid "codoc" 456 462 msgstr "codoc" 457 463 458 #: src/block/block.js:3 59464 #: src/block/block.js:377 459 465 msgid "" 460 466 "The area from this block down is a paid area that only authenticated codoc " … … 464 470 "リアとなります。" 465 471 466 #: src/block/block.js:3 69472 #: src/block/block.js:387 467 473 msgid "codoc Block" 468 474 msgstr "codoc ブロック" 469 475 470 #: src/block/block.js:3 70476 #: src/block/block.js:388 471 477 msgid "plugin for codoc" 472 478 msgstr "codoc プラグイン" 473 479 474 #: src/block/block.js:3 71480 #: src/block/block.js:389 475 481 msgid "codoc-block" 476 482 msgstr "" … … 495 501 msgid "https://codoc.jp" 496 502 msgstr "https://codoc.jp" 503 504 #~ msgid "Subscriptions" 505 #~ msgstr "サブスクリプション" 497 506 498 507 #~ msgid "" -
codoc/tags/0.9.55/languages/codoc.pot
r3298415 r3350883 3 3 msgstr "" 4 4 "Project-Id-Version: codoc\n" 5 "POT-Creation-Date: 2025-0 5-22 12:24+0900\n"5 "POT-Creation-Date: 2025-08-27 15:01+0900\n" 6 6 "PO-Revision-Date: 2023-04-30 17:49+0900\n" 7 7 "Last-Translator: \n" … … 23 23 "X-Poedit-SearchPathExcluded-1: node_modules\n" 24 24 25 #: class-codoc.php: 32025 #: class-codoc.php:171 class-codoc.php:320 26 26 msgid "codoc Settings" 27 27 msgstr "" … … 340 340 msgstr "" 341 341 342 #: class-codoc.php:772 343 msgid "Settings" 344 msgstr "" 345 342 346 #: class-codoc.php:1095 343 347 #, php-format … … 374 378 msgstr "" 375 379 376 #: src/block/block.js:108 src/block/block.js:2 58380 #: src/block/block.js:108 src/block/block.js:276 377 381 msgid "Unlisted" 378 382 msgstr "" … … 382 386 msgstr "" 383 387 384 #: src/block/block.js:1 78388 #: src/block/block.js:196 385 389 msgid "individual sale" 386 390 msgstr "" 387 391 388 #: src/block/block.js: 187392 #: src/block/block.js:205 389 393 msgid "price" 390 394 msgstr "" 391 395 392 #: src/block/block.js: 187396 #: src/block/block.js:205 393 397 msgid "Displayed as the your suggested price" 394 398 msgstr "" 395 399 396 #: src/block/block.js: 187400 #: src/block/block.js:205 397 401 msgid "【" 398 402 msgstr "" 399 403 400 #: src/block/block.js: 199404 #: src/block/block.js:217 401 405 msgid "Pay-what-you-want" 402 406 msgstr "" 403 407 404 #: src/block/block.js:2 07408 #: src/block/block.js:225 405 409 msgid "Limited quantity sale" 406 410 msgstr "" 407 411 408 #: src/block/block.js:2 14412 #: src/block/block.js:232 409 413 msgid "Limited quantity" 410 414 msgstr "" 411 415 412 #: src/block/block.js:2 27416 #: src/block/block.js:245 413 417 msgid "Affiliate" 414 418 msgstr "" 415 419 416 #: src/block/block.js:2 34420 #: src/block/block.js:252 417 421 msgid "Rate" 418 422 msgstr "" 419 423 420 #: src/block/block.js:2 35424 #: src/block/block.js:253 421 425 msgid "You can offer affiliate marketing at a specified rate for purchasers." 422 426 msgstr "" 423 427 424 #: src/block/block.js:2 48428 #: src/block/block.js:266 425 429 msgid "Tipping" 426 430 msgstr "" 427 431 428 #: src/block/block.js:2 68429 msgid " Subscriptions"430 msgstr "" 431 432 #: src/block/block.js:2 74432 #: src/block/block.js:286 433 msgid "Reader Plans" 434 msgstr "" 435 436 #: src/block/block.js:292 433 437 msgid "Add" 434 438 msgstr "" 435 439 436 #: src/block/block.js:3 06440 #: src/block/block.js:324 437 441 msgid "To continue reading, ..." 438 442 msgstr "" 439 443 440 444 #. Plugin Name of the plugin/theme 441 #: src/block/block.js:3 58445 #: src/block/block.js:376 442 446 msgid "codoc" 443 447 msgstr "" 444 448 445 #: src/block/block.js:3 59449 #: src/block/block.js:377 446 450 msgid "" 447 451 "The area from this block down is a paid area that only authenticated codoc " … … 449 453 msgstr "" 450 454 451 #: src/block/block.js:3 69455 #: src/block/block.js:387 452 456 msgid "codoc Block" 453 457 msgstr "" 454 458 455 #: src/block/block.js:3 70459 #: src/block/block.js:388 456 460 msgid "plugin for codoc" 457 461 msgstr "" 458 462 459 #: src/block/block.js:3 71463 #: src/block/block.js:389 460 464 msgid "codoc-block" 461 465 msgstr "" -
codoc/tags/0.9.55/package.json
r2923260 r3350883 10 10 "dependencies": { 11 11 "@wordpress/i18n": "^4.34.0", 12 "cgb-scripts": "1.18.1", 12 "cgb-scripts": "1.23.1", 13 "sass": "^1.90.0", 13 14 "jed": "^1.1.1", 14 15 "po2json": "1.0.0-beta-3", 15 16 "universal-cookie": "^4.0.0" 17 }, 18 "resolutions": { 19 "**/node-sass": "file:./src/node-sass-compat" 16 20 } 17 21 } -
codoc/tags/0.9.55/readme.txt
r3341929 r3350883 5 5 Requires at least: 4.6 6 6 Tested up to: 6.8.2 7 Stable tag: 0.9.5 4.37 Stable tag: 0.9.55 8 8 Requires PHP: 5.4 9 9 License: GPLv2 or later … … 25 25 == Installation == 26 26 27 1. Search for the "codoc" plugin from "Plugins → Add New" in your WordPress dashboard.27 1. Search for the "codoc" plugin from "Plugins → Add Plugin" in your WordPress dashboard. 28 28 29 29 2. Install and activate the codoc plugin. -
codoc/tags/0.9.55/src/block/block.js
r3304552 r3350883 284 284 <div class="codoc-subscription-title"> 285 285 <label> 286 { __(' Subscriptions','codoc') }286 { __('Reader Plans','codoc') } 287 287 </label> 288 288 <a -
codoc/trunk/codoc.php
r3341929 r3350883 6 6 Author: codoc.jp 7 7 Author URI: https://codoc.jp 8 Version: 0.9.5 4.38 Version: 0.9.55 9 9 License: GPLv2 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 14 14 defined( 'ABSPATH' ) || exit; 15 15 16 const CODOC_PLUGIN_VERSION = '0.9.5 4.3';16 const CODOC_PLUGIN_VERSION = '0.9.55'; 17 17 const CODOC_URL = 'https://codoc.jp'; 18 18 const CODOC_USERCODE_OPTION_NAME = 'codoc_usercode'; -
codoc/trunk/dist/blocks.build.js
r3304552 r3350883 1 !function(e){function t(o){if(n[o])return n[o].exports;var l=n[o]={i:o,l:!1,exports:{}};return e[o].call(l.exports,l,l.exports,t),l.l=!0,l.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:o})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=0)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(1)},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var r=n(2),a=(n.n(r),n(3)),s=(n.n(a),n(4)),c=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),u=wp.keycodes.ENTER,__=wp.i18n.__,p=wp.element.Component,d=wp.blocks.registerBlockType,f=wp.editor,b=f.InspectorControls,m=f.RichText,h=wp.components,w=h.SelectControl,y=h.PanelBody,v=h.ToggleControl,C=h.CheckboxControl,g=h.RangeControl,k=wp.blocks,E=k.getDefaultBlockName, S=k.createBlock,P=wp.compose.withState,_=OPTIONS.codoc_url,O=OPTIONS.codoc_usercode,x=OPTIONS.codoc_plugin_version,T=OPTIONS.codoc_account_is_pro,A=OPTIONS.codoc_currency_code,j=OPTIONS.codoc_currency_decimal_places,N=function(e){function t(e){o(this,t);var n=l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return n.subscriptionsFetched=[],n.fetchSubscriptions(),n}return i(t,e),c(t,[{key:"fetchSubscriptions",value:function(){var e=this,t=this.props,n=t.setAttributes;if(!t.attributes.fetching){n({fetching:!0});var o=_+"/api/v1/cms/"+O+"/subscriptions?without_token=1";fetch(o).then(function(e){return e.json()}).then(function(t){var o=[];if(t.status&&t.subscriptions)for(var l=0;l<t.subscriptions.length;l++){var i={value:t.subscriptions[l].code,label:t.subscriptions[l].title};o[l]=i}o.length&&(e.subscriptionsFetched=o),n({fetching:!1})})}}},{key:"getShowPriceHelp",value:function(e){return e?__("Enable","codoc"):__("Disable","codoc")}},{key:"getShowSupportHelp",value:function(e){return e?__("Accept","codoc"):__("Do not accept","codoc")}},{key:"getShowPaywalledSupportHelp",value:function(e){return e?__('The paid part will be hidden upon access, but will be displayed after tapping "Pay to Read". Viewers can freely specify the amount to purchase based on the content. Please note that there may be cases where it is not purchased.',"codoc"):__(" ")}},{key:"getStatusLimitedHelp",value:function(e){return e?__("Unlisted","codoc"):__("Published","codoc")}},{key:"render",value:function(){var e=this,t=this.props,n=t.setAttributes,o=t.attributes,l=o.showPrice,i=o.price,r=o.limited,a=o.limitedCount,s=o.affiliateMode,c=o.affiliateRate,u=o.showSupport,p=o.showPaywalledSupport,d=o.statusLimited,f=o.subscriptions,m=function(){return n({showPrice:!l})},h=function(){return n({limited:!r})},k=function(){return n({showPaywalledSupport:!p})},E=function(){return n({statusLimited:!d})},S=function(){return n({affiliateMode:!s})},O=function(){return n({showSupport:!u})},x=P({checked_obj:Object.assign({},f)})(function(t){var o=t.checked_obj,l=t.setState;return wp.element.createElement("ul",null,e.subscriptionsFetched.map(function(e){var t=!!o[e.value],i=Object.keys(o).length;return wp.element.createElement("li",{key:e.value},wp.element.createElement(C,{className:"check_items",label:e.label,checked:t,onChange:function(t){if(!(t&&i>=5)){var r=Object.assign({},o);t?r[e.value]=!0:delete r[e.value],n({subscriptions:r}),l({checked_obj:r})}}}))}))}),N=[{value:"0.0500",label:"5%"},{value:"0.1000",label:"10%"},{value:"0.1500",label:"15%"},{value:"0.2000",label:"20%"},{value:"0.2500",label:"25%"},{value:"0.3000",label:"30%"},{value:"0.3500",label:"35%"},{value:"0.4000",label:"40%"},{value:"0.4500",label:"45%"},{value:"0.5000",label:"50%"}];return wp.element.createElement(b,{key:"CodocControls"},wp.element.createElement(y,null,wp.element.createElement(v,{label:__("individual sale","codoc"),checked:!!l,help:this.getShowPriceHelp,ref:"showPrice",onChange:m}),wp.element.createElement("div",{style:{display:l?"initial":"none"}},wp.element.createElement(g,{label:__("price","codoc")+" "+(j>0?(i/100).toFixed(j):i)+" "+__(A)+__(p?"\u3010"+__("Displayed as the your suggested price","codoc")+"\u3011":""),value:i,initialPosition:i,onChange:function(e){n({price:e})},min:"100",max:1==T?1e5:5e4}),wp.element.createElement("br",null),wp.element.createElement(v,{label:__("Pay-what-you-want","codoc"),checked:!!p,help:this.getShowPaywalledSupportHelp,onChange:k}),wp.element.createElement("div",{style:{display:p?"none":"initial"}},wp.element.createElement(v,{label:__("Limited quantity sale","codoc"),checked:!!r,onChange:h}),wp.element.createElement("div",{style:{display:r?"initial":"none"}},wp.element.createElement(g,{label:__("Limited quantity","codoc"),value:a,onChange:function(e){n({limitedCount:e})},initialPosition:a,min:"0",max:"100"}),wp.element.createElement("br",null)),wp.element.createElement(v,{label:__("Affiliate","codoc"),checked:!!s,onChange:S}),wp.element.createElement("div",{style:{display:s?"initial":"none"}},wp.element.createElement(w,{label:__("Rate","codoc"),description:__("You can offer affiliate marketing at a specified rate for purchasers.","codoc"),options:N,value:c,onChange:function(e){n({affiliateRate:e})}}),wp.element.createElement("br",null)))),wp.element.createElement("div",{style:{display:p?"none":"initial"}},wp.element.createElement(v,{label:__("Tipping","codoc"),checked:!!u,value:"1",onChange:O,help:this.getShowSupportHelp})),wp.element.createElement("div",{style:{display:"initial"}},wp.element.createElement(v,{label:__("Unlisted","codoc"),checked:!!d,value:"1",onChange:E,help:this.getStatusLimitedHelp})),wp.element.createElement("div",{class:"codoc-subscription-title"},wp.element.createElement("label",null,__("Subscriptions","codoc")),wp.element.createElement("a",{href:_+"/me/subscriptions",target:"_blank",class:"codoc-subscription-add"},__("Add","codoc"))),wp.element.createElement(x,null)))}}]),t}(p),R=function(e){function t(){o(this,t);var e=l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.props.setAttributes({version:x}),e.props.setAttributes({showPrice:null==e.props.attributes.showPrice||e.props.attributes.showPrice}),e.props.setAttributes({price:null==e.props.attributes.price?500:e.props.attributes.price}),e.props.setAttributes({limited:null!=e.props.attributes.limited&&e.props.attributes.limited}),e.props.setAttributes({limitedCount:null==e.props.attributes.limitedCount?10:e.props.attributes.limitedCount}),e.props.setAttributes({affiliateMode:null!=e.props.attributes.affiliateMode&&e.props.attributes.affiliateMode}),e.props.setAttributes({affiliateRate:null==e.props.attributes.affiliateRate?"0.0500":e.props.attributes.affiliateRate}),e.props.setAttributes({showSupport:null!=e.props.attributes.showSupport&&e.props.attributes.showSupport}),e.props.setAttributes({showPaywalledSupport:null!=e.props.attributes.showPaywalledSupport&&e.props.attributes.showPaywalledSupport}),e.props.setAttributes({statusLimited:null!=e.props.attributes.statusLimited&&e.props.attributes.statusLimited}),e.props.setAttributes({subscriptions:null==e.props.attributes.subscriptions?{}:e.props.attributes.subscriptions}),e.onChangeInput=e.onChangeInput.bind(e),e.onKeyDown=e.onKeyDown.bind(e),e.state={defaultText:__("To continue reading, ...","codoc")},e}return i(t,e),c(t,[{key:"onChangeInput",value:function(e){this.setState({defaultText:""});var t=0===e.target.value.length?void 0:e.target.value;this.props.setAttributes({customText:t})}},{key:"onKeyDown",value:function(e){var t=e.keyCode,n=this.props.insertBlocksAfter;t===u&&n([S(E())])}},{key:"render",value:function(){var e=this.props,t=e.attributes.customText,n=e.setAttributes,o=this.state.defaultText,l=t||o,i=l.length+10;return[wp.element.createElement(N,Object.assign({setAttributes:n},this.props)),wp.element.createElement("div",{className:"wp-block-more"},wp.element.createElement("input",{type:"text",value:l,size:i,onChange:this.onChangeInput,onKeyDown:this.onKeyDown}))]}}]),t}(p);d("codoc/codoc-block",{title:__("codoc","codoc"),description:__("The area from this block down is a paid area that only authenticated codoc users can view.","codoc"),icon:s.a,category:"layout",supports:{customClassName:!1,className:!1,html:!1,multiple:!1},keywords:[__("codoc Block","codoc"),__("plugin for codoc","codoc"),__("codoc-block","codoc")],attributes:{showPrice:{type:"boolean",default:null},price:{type:"number",default:null},limited:{type:"boolean",default:null},limitedCount:{type:"number",default:null},affiliateMode:{type:"boolean",default:null},affiliateRate:{type:"string",default:null},showSupport:{type:"boolean",default:null},showPaywalledSupport:{type:"boolean",default:null},statusLimited:{type:"boolean",default:null},subscriptions:{type:"object",default:null},customText:{type:"string",default:""},version:{type:"string",default:null}},edit:R,save:function(e){var t=(e.setAttributes,e.attributes.customText);return wp.element.createElement("div",{"data-id":"codoc-tag",className:"codoc-entries"},t&&!!t.length&&wp.element.createElement(m.Content,{value:t}))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var o=n(5);n.n(o);t.a=wp.element.createElement("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"100%",viewBox:"0 0 256 256","enable-background":"new 0 0 256 256",xmlSpace:"preserve"},wp.element.createElement("path",{fill:"#ffffff",opacity:"1.000000",stroke:"none",d:"M141.000000,257.000000 C94.000000,257.000000 47.500004,257.000000 1.000006,257.000000 C1.000004,171.666672 1.000004,86.333351 1.000002,1.000018 C86.333321,1.000012 171.666641,1.000012 257.000000,1.000006 C257.000000,86.333313 257.000000,171.666626 257.000000,256.999969 C218.500000,257.000000 180.000000,257.000000 141.000000,257.000000 M146.503082,23.000164 C116.907616,22.080397 90.932098,31.832527 69.273537,51.527222 C43.720821,74.762970 31.318863,103.869339 33.861893,138.920883 C35.131977,156.427002 39.715271,172.783020 49.613323,187.221390 C76.307907,226.160965 114.954926,238.329178 159.853943,234.326080 C182.543427,232.303101 202.167206,222.083160 219.314758,207.096619 C222.639465,204.190887 222.785080,201.958481 219.541718,198.996063 C210.086426,190.359756 200.699310,181.646790 191.392899,172.850220 C185.639374,167.411880 185.677856,167.315521 179.461136,172.079407 C160.475082,186.628571 135.524796,187.942444 115.371788,175.056778 C97.697929,163.756256 89.467148,146.957764 90.253334,126.395493 C91.060989,105.271385 101.350311,89.188896 120.515396,79.896317 C141.850464,69.551582 162.308594,73.002220 181.405899,86.137695 C185.054901,88.647537 187.582901,89.016609 190.896500,85.704330 C199.132141,77.471970 207.729889,69.603195 216.037704,61.441307 C224.548111,53.080330 224.348465,52.176884 214.913849,44.925365 C195.019623,29.634516 172.687103,21.958462 146.503082,23.000164 z"}),wp.element.createElement("path",{fill:"#1B1D1F",opacity:"1.000000",stroke:"none",d:"M147.001526,23.000149 C172.687103,21.958462 195.019623,29.634516 214.913849,44.925365 C224.348465,52.176884 224.548111,53.080330 216.037704,61.441307 C207.729889,69.603195 199.132141,77.471970 190.896500,85.704330 C187.582901,89.016609 185.054901,88.647537 181.405899,86.137695 C162.308594,73.002220 141.850464,69.551582 120.515396,79.896317 C101.350311,89.188896 91.060989,105.271385 90.253334,126.395493 C89.467148,146.957764 97.697929,163.756256 115.371788,175.056778 C135.524796,187.942444 160.475082,186.628571 179.461136,172.079407 C185.677856,167.315521 185.639374,167.411880 191.392899,172.850220 C200.699310,181.646790 210.086426,190.359756 219.541718,198.996063 C222.785080,201.958481 222.639465,204.190887 219.314758,207.096619 C202.167206,222.083160 182.543427,232.303101 159.853943,234.326080 C114.954926,238.329178 76.307907,226.160965 49.613323,187.221390 C39.715271,172.783020 35.131977,156.427002 33.861893,138.920883 C31.318863,103.869339 43.720821,74.762970 69.273537,51.527222 C90.932098,31.832527 116.907616,22.080397 147.001526,23.000149 z"}))},function(e,t){e.exports=wp.components}]);1 !function(e){function t(o){if(n[o])return n[o].exports;var l=n[o]={i:o,l:!1,exports:{}};return e[o].call(l.exports,l,l.exports,t),l.l=!0,l.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:o})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=0)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(1)},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var r=n(2),a=(n.n(r),n(3)),s=(n.n(a),n(4)),c=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),u=wp.keycodes.ENTER,__=wp.i18n.__,p=wp.element.Component,d=wp.blocks.registerBlockType,f=wp.editor,b=f.InspectorControls,m=f.RichText,h=wp.components,w=h.SelectControl,y=h.PanelBody,v=h.ToggleControl,C=h.CheckboxControl,g=h.RangeControl,k=wp.blocks,E=k.getDefaultBlockName,P=k.createBlock,S=wp.compose.withState,_=OPTIONS.codoc_url,O=OPTIONS.codoc_usercode,x=OPTIONS.codoc_plugin_version,T=OPTIONS.codoc_account_is_pro,A=OPTIONS.codoc_currency_code,j=OPTIONS.codoc_currency_decimal_places,N=function(e){function t(e){o(this,t);var n=l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return n.subscriptionsFetched=[],n.fetchSubscriptions(),n}return i(t,e),c(t,[{key:"fetchSubscriptions",value:function(){var e=this,t=this.props,n=t.setAttributes;if(!t.attributes.fetching){n({fetching:!0});var o=_+"/api/v1/cms/"+O+"/subscriptions?without_token=1";fetch(o).then(function(e){return e.json()}).then(function(t){var o=[];if(t.status&&t.subscriptions)for(var l=0;l<t.subscriptions.length;l++){var i={value:t.subscriptions[l].code,label:t.subscriptions[l].title};o[l]=i}o.length&&(e.subscriptionsFetched=o),n({fetching:!1})})}}},{key:"getShowPriceHelp",value:function(e){return e?__("Enable","codoc"):__("Disable","codoc")}},{key:"getShowSupportHelp",value:function(e){return e?__("Accept","codoc"):__("Do not accept","codoc")}},{key:"getShowPaywalledSupportHelp",value:function(e){return e?__('The paid part will be hidden upon access, but will be displayed after tapping "Pay to Read". Viewers can freely specify the amount to purchase based on the content. Please note that there may be cases where it is not purchased.',"codoc"):__(" ")}},{key:"getStatusLimitedHelp",value:function(e){return e?__("Unlisted","codoc"):__("Published","codoc")}},{key:"render",value:function(){var e=this,t=this.props,n=t.setAttributes,o=t.attributes,l=o.showPrice,i=o.price,r=o.limited,a=o.limitedCount,s=o.affiliateMode,c=o.affiliateRate,u=o.showSupport,p=o.showPaywalledSupport,d=o.statusLimited,f=o.subscriptions,m=function(){return n({showPrice:!l})},h=function(){return n({limited:!r})},k=function(){return n({showPaywalledSupport:!p})},E=function(){return n({statusLimited:!d})},P=function(){return n({affiliateMode:!s})},O=function(){return n({showSupport:!u})},x=S({checked_obj:Object.assign({},f)})(function(t){var o=t.checked_obj,l=t.setState;return wp.element.createElement("ul",null,e.subscriptionsFetched.map(function(e){var t=!!o[e.value],i=Object.keys(o).length;return wp.element.createElement("li",{key:e.value},wp.element.createElement(C,{className:"check_items",label:e.label,checked:t,onChange:function(t){if(!(t&&i>=5)){var r=Object.assign({},o);t?r[e.value]=!0:delete r[e.value],n({subscriptions:r}),l({checked_obj:r})}}}))}))}),N=[{value:"0.0500",label:"5%"},{value:"0.1000",label:"10%"},{value:"0.1500",label:"15%"},{value:"0.2000",label:"20%"},{value:"0.2500",label:"25%"},{value:"0.3000",label:"30%"},{value:"0.3500",label:"35%"},{value:"0.4000",label:"40%"},{value:"0.4500",label:"45%"},{value:"0.5000",label:"50%"}];return wp.element.createElement(b,{key:"CodocControls"},wp.element.createElement(y,null,wp.element.createElement(v,{label:__("individual sale","codoc"),checked:!!l,help:this.getShowPriceHelp,ref:"showPrice",onChange:m}),wp.element.createElement("div",{style:{display:l?"initial":"none"}},wp.element.createElement(g,{label:__("price","codoc")+" "+(j>0?(i/100).toFixed(j):i)+" "+__(A)+__(p?"\u3010"+__("Displayed as the your suggested price","codoc")+"\u3011":""),value:i,initialPosition:i,onChange:function(e){n({price:e})},min:"100",max:1==T?1e5:5e4}),wp.element.createElement("br",null),wp.element.createElement(v,{label:__("Pay-what-you-want","codoc"),checked:!!p,help:this.getShowPaywalledSupportHelp,onChange:k}),wp.element.createElement("div",{style:{display:p?"none":"initial"}},wp.element.createElement(v,{label:__("Limited quantity sale","codoc"),checked:!!r,onChange:h}),wp.element.createElement("div",{style:{display:r?"initial":"none"}},wp.element.createElement(g,{label:__("Limited quantity","codoc"),value:a,onChange:function(e){n({limitedCount:e})},initialPosition:a,min:"0",max:"100"}),wp.element.createElement("br",null)),wp.element.createElement(v,{label:__("Affiliate","codoc"),checked:!!s,onChange:P}),wp.element.createElement("div",{style:{display:s?"initial":"none"}},wp.element.createElement(w,{label:__("Rate","codoc"),description:__("You can offer affiliate marketing at a specified rate for purchasers.","codoc"),options:N,value:c,onChange:function(e){n({affiliateRate:e})}}),wp.element.createElement("br",null)))),wp.element.createElement("div",{style:{display:p?"none":"initial"}},wp.element.createElement(v,{label:__("Tipping","codoc"),checked:!!u,value:"1",onChange:O,help:this.getShowSupportHelp})),wp.element.createElement("div",{style:{display:"initial"}},wp.element.createElement(v,{label:__("Unlisted","codoc"),checked:!!d,value:"1",onChange:E,help:this.getStatusLimitedHelp})),wp.element.createElement("div",{class:"codoc-subscription-title"},wp.element.createElement("label",null,__("Reader Plans","codoc")),wp.element.createElement("a",{href:_+"/me/subscriptions",target:"_blank",class:"codoc-subscription-add"},__("Add","codoc"))),wp.element.createElement(x,null)))}}]),t}(p),R=function(e){function t(){o(this,t);var e=l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.props.setAttributes({version:x}),e.props.setAttributes({showPrice:null==e.props.attributes.showPrice||e.props.attributes.showPrice}),e.props.setAttributes({price:null==e.props.attributes.price?500:e.props.attributes.price}),e.props.setAttributes({limited:null!=e.props.attributes.limited&&e.props.attributes.limited}),e.props.setAttributes({limitedCount:null==e.props.attributes.limitedCount?10:e.props.attributes.limitedCount}),e.props.setAttributes({affiliateMode:null!=e.props.attributes.affiliateMode&&e.props.attributes.affiliateMode}),e.props.setAttributes({affiliateRate:null==e.props.attributes.affiliateRate?"0.0500":e.props.attributes.affiliateRate}),e.props.setAttributes({showSupport:null!=e.props.attributes.showSupport&&e.props.attributes.showSupport}),e.props.setAttributes({showPaywalledSupport:null!=e.props.attributes.showPaywalledSupport&&e.props.attributes.showPaywalledSupport}),e.props.setAttributes({statusLimited:null!=e.props.attributes.statusLimited&&e.props.attributes.statusLimited}),e.props.setAttributes({subscriptions:null==e.props.attributes.subscriptions?{}:e.props.attributes.subscriptions}),e.onChangeInput=e.onChangeInput.bind(e),e.onKeyDown=e.onKeyDown.bind(e),e.state={defaultText:__("To continue reading, ...","codoc")},e}return i(t,e),c(t,[{key:"onChangeInput",value:function(e){this.setState({defaultText:""});var t=0===e.target.value.length?void 0:e.target.value;this.props.setAttributes({customText:t})}},{key:"onKeyDown",value:function(e){var t=e.keyCode,n=this.props.insertBlocksAfter;t===u&&n([P(E())])}},{key:"render",value:function(){var e=this.props,t=e.attributes.customText,n=e.setAttributes,o=this.state.defaultText,l=t||o,i=l.length+10;return[wp.element.createElement(N,Object.assign({setAttributes:n},this.props)),wp.element.createElement("div",{className:"wp-block-more"},wp.element.createElement("input",{type:"text",value:l,size:i,onChange:this.onChangeInput,onKeyDown:this.onKeyDown}))]}}]),t}(p);d("codoc/codoc-block",{title:__("codoc","codoc"),description:__("The area from this block down is a paid area that only authenticated codoc users can view.","codoc"),icon:s.a,category:"layout",supports:{customClassName:!1,className:!1,html:!1,multiple:!1},keywords:[__("codoc Block","codoc"),__("plugin for codoc","codoc"),__("codoc-block","codoc")],attributes:{showPrice:{type:"boolean",default:null},price:{type:"number",default:null},limited:{type:"boolean",default:null},limitedCount:{type:"number",default:null},affiliateMode:{type:"boolean",default:null},affiliateRate:{type:"string",default:null},showSupport:{type:"boolean",default:null},showPaywalledSupport:{type:"boolean",default:null},statusLimited:{type:"boolean",default:null},subscriptions:{type:"object",default:null},customText:{type:"string",default:""},version:{type:"string",default:null}},edit:R,save:function(e){var t=(e.setAttributes,e.attributes.customText);return wp.element.createElement("div",{"data-id":"codoc-tag",className:"codoc-entries"},t&&!!t.length&&wp.element.createElement(m.Content,{value:t}))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var o=n(5);n.n(o);t.a=wp.element.createElement("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"100%",viewBox:"0 0 256 256","enable-background":"new 0 0 256 256",xmlSpace:"preserve"},wp.element.createElement("path",{fill:"#ffffff",opacity:"1.000000",stroke:"none",d:"M141.000000,257.000000 C94.000000,257.000000 47.500004,257.000000 1.000006,257.000000 C1.000004,171.666672 1.000004,86.333351 1.000002,1.000018 C86.333321,1.000012 171.666641,1.000012 257.000000,1.000006 C257.000000,86.333313 257.000000,171.666626 257.000000,256.999969 C218.500000,257.000000 180.000000,257.000000 141.000000,257.000000 M146.503082,23.000164 C116.907616,22.080397 90.932098,31.832527 69.273537,51.527222 C43.720821,74.762970 31.318863,103.869339 33.861893,138.920883 C35.131977,156.427002 39.715271,172.783020 49.613323,187.221390 C76.307907,226.160965 114.954926,238.329178 159.853943,234.326080 C182.543427,232.303101 202.167206,222.083160 219.314758,207.096619 C222.639465,204.190887 222.785080,201.958481 219.541718,198.996063 C210.086426,190.359756 200.699310,181.646790 191.392899,172.850220 C185.639374,167.411880 185.677856,167.315521 179.461136,172.079407 C160.475082,186.628571 135.524796,187.942444 115.371788,175.056778 C97.697929,163.756256 89.467148,146.957764 90.253334,126.395493 C91.060989,105.271385 101.350311,89.188896 120.515396,79.896317 C141.850464,69.551582 162.308594,73.002220 181.405899,86.137695 C185.054901,88.647537 187.582901,89.016609 190.896500,85.704330 C199.132141,77.471970 207.729889,69.603195 216.037704,61.441307 C224.548111,53.080330 224.348465,52.176884 214.913849,44.925365 C195.019623,29.634516 172.687103,21.958462 146.503082,23.000164 z"}),wp.element.createElement("path",{fill:"#1B1D1F",opacity:"1.000000",stroke:"none",d:"M147.001526,23.000149 C172.687103,21.958462 195.019623,29.634516 214.913849,44.925365 C224.348465,52.176884 224.548111,53.080330 216.037704,61.441307 C207.729889,69.603195 199.132141,77.471970 190.896500,85.704330 C187.582901,89.016609 185.054901,88.647537 181.405899,86.137695 C162.308594,73.002220 141.850464,69.551582 120.515396,79.896317 C101.350311,89.188896 91.060989,105.271385 90.253334,126.395493 C89.467148,146.957764 97.697929,163.756256 115.371788,175.056778 C135.524796,187.942444 160.475082,186.628571 179.461136,172.079407 C185.677856,167.315521 185.639374,167.411880 191.392899,172.850220 C200.699310,181.646790 210.086426,190.359756 219.541718,198.996063 C222.785080,201.958481 222.639465,204.190887 219.314758,207.096619 C202.167206,222.083160 182.543427,232.303101 159.853943,234.326080 C114.954926,238.329178 76.307907,226.160965 49.613323,187.221390 C39.715271,172.783020 35.131977,156.427002 33.861893,138.920883 C31.318863,103.869339 43.720821,74.762970 69.273537,51.527222 C90.932098,31.832527 116.907616,22.080397 147.001526,23.000149 z"}))},function(e,t){e.exports=wp.components}]); -
codoc/trunk/dist/blocks.editor.build.css
r2413012 r3350883 1 .wp-block-cgb-block-wordpress{background:#bada55;border:0.2rem solid #292929;color:#292929;margin:0 auto;max-width:740px;padding:2rem}.wp-block-codoc-border{background:#bada55;border:0.2rem solid #292929;color:#292929;text-align:center;padding:2rem}.components-range-control__number{width:70px}.codoc-subscription-title{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}.codoc-subscription-add{position:relative;display:inline-block;padding:2px 10px 2px 23px;margin-left:10px;background:#0073aa;color:#fff;font-size:11px;text-decoration:none;border-radius:3px}.codoc-subscription-add:hover{background:#0070a7;color:#efefef}.codoc-subscription-add:before{position:absolute;top:50%;left:7px;display:block;content:"";width:10px;height:1px;margin-top:-1px;background:#fff}.codoc-subscription-add:after{position:absolute;top:50%;left:7px;display:block;content:"";width:10px;height:1px;margin-top:-1px;background:#fff;-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)} 1 /** 2 * #.# Common SCSS 3 * 4 * Can include things like variables and mixins 5 * that are used across the project. 6 */ 7 /** 8 * #.# Editor Styles 9 * 10 * CSS for just Backend enqueued after style.scss 11 * which makes it higher in priority. 12 */ 13 .wp-block-cgb-block-wordpress { 14 background: #bada55; 15 border: 0.2rem solid rgb(41, 41, 41); 16 color: rgb(41, 41, 41); 17 margin: 0 auto; 18 max-width: 740px; 19 padding: 2rem; 20 } 21 22 .wp-block-codoc-border { 23 background: #bada55; 24 border: 0.2rem solid rgb(41, 41, 41); 25 color: rgb(41, 41, 41); 26 text-align: center; 27 padding: 2rem; 28 } 29 30 .components-range-control__number { 31 width: 70px; 32 } 33 34 .codoc-subscription-title { 35 display: -ms-flexbox; 36 display: flex; 37 -ms-flex-pack: justify; 38 justify-content: space-between; 39 } 40 41 .codoc-subscription-add { 42 position: relative; 43 display: inline-block; 44 padding: 2px 10px 2px 23px; 45 margin-left: 10px; 46 background: #0073aa; 47 color: #fff; 48 font-size: 11px; 49 text-decoration: none; 50 border-radius: 3px; 51 } 52 53 .codoc-subscription-add:hover { 54 background: #0070a7; 55 color: #efefef; 56 } 57 58 .codoc-subscription-add:before { 59 position: absolute; 60 top: 50%; 61 left: 7px; 62 display: block; 63 content: ""; 64 width: 10px; 65 height: 1px; 66 margin-top: -1px; 67 background: #fff; 68 } 69 70 .codoc-subscription-add:after { 71 position: absolute; 72 top: 50%; 73 left: 7px; 74 display: block; 75 content: ""; 76 width: 10px; 77 height: 1px; 78 margin-top: -1px; 79 background: #fff; 80 -webkit-transform: rotate(90deg); 81 -ms-transform: rotate(90deg); 82 transform: rotate(90deg); 83 } -
codoc/trunk/dist/blocks.style.build.css
r2141582 r3350883 1 .wp-block-cgb-block-wordpress{background:#ff4500;border:0.2rem solid #292929;color:#292929;margin:0 auto;max-width:740px;padding:2rem} 1 /** 2 * #.# Common SCSS 3 * 4 * Can include things like variables and mixins 5 * that are used across the project. 6 */ 7 /** 8 * #.# Styles 9 * 10 * CSS for both Frontend+Backend. 11 */ 12 .wp-block-cgb-block-wordpress { 13 background: orangered; 14 border: 0.2rem solid rgb(41, 41, 41); 15 color: rgb(41, 41, 41); 16 margin: 0 auto; 17 max-width: 740px; 18 padding: 2rem; 19 } -
codoc/trunk/languages/codoc-ja-codoc-block-js.json
r3298415 r3350883 1 {"domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural_forms":"nplurals=1; plural=0;","lang":"ja"},"codoc Settings":["codoc設定"],"Theme":["テーマ"],"You can change the design of the paywall by specifying a theme.<br />You can also specify CSS directly by selecting \"Path Specification\"":["テーマを変更するとペイウォールのデザインを変更できます。<br />「パス指定」を選択してCSSを直接指定することもできます。"],"Rainbow colors":["レインボーカラー"],"Blue":["青"],"Red":["赤"],"Green":["緑"],"Black":["黒"],"Dark mode":["ダークモード"],"Rainbow Colors / Square design":["レインボーカラー / スクエアデザイン"],"Blue / Square design":["ブルー / スクエアデザイン"],"Red / Square design":["レッド / スクエアデザイン"],"Green / Square design":["グリーン / スクエアデザイン"],"Black / Square design":["ブラック / スクエアデザイン"],"Dark mode / Square design":["ダークモード / スクエアデザイン"],"Path Specification":["パス指定"],"Please note that the theme for dark mode has white text color, and depending on the background color, the text may not be visible.":["ダークモードはテキストの色が白となります。背景色によってはテキストが表示されない場合がありますのでご注意ください。"],"Texts in paywall":["ペイウォールのテキスト"],"You can change, show and hide texts in your paywall.":["ペイウォールのテキストを変更、表示、非表示にすることができます。"],"Display of likes":["いいねの表示"],"Enable":["有効"],"Disable":["無効"],"Display of PoweredBy":["Powered byの表示"],"Only PRO accounts can be disabled.":["無効にできるのは PRO アカウントのみです。"],"\"Purchase Article\" button text":["「購入」ボタンのテキスト"],"\"Purchase Subscription\" button text.":["サブスクリプション「購入」ボタンのテキスト。"],"Support button text":["サポートボタンのテキスト"],"Text for \"Articles Included in Subscription\".":["「購読に含まれる記事」のテキスト"],"Text for support description":["サポートの説明のテキスト"],"Attributes for codoc tag":["codoc タグの属性"],"You can add specific attributes to codoc tags.":["codoc タグに特定の属性を追加できます。"],"Attributes for codoc script tag":["codoc スクリプトタグの属性"],"You can add specific attributes to codoc script tags.":["codoc スクリプトタグに特定の属性を追加できます。"],"Permalink":["パーマリンク"],"You can replace the part of permalink registered on the codoc.":["codocに登録されているパーマリンクの一部を置換できます。"],"HTML insertion":["HTML の挿入"],"You can insert HTML before and after the codoc tag.":["codoc タグの前後に HTML を挿入できます。"],"Before HTML":["HTML の前"],"After HTML":["HTML の後"],"Automatic support insertion":["サポートの自動挿入"],"It adds support functions to the post without inserting a codoc block.":["codoc ブロックの挿入をしなくても投稿へサポート機能を追加できます。"],"Automatic insertion":["自動挿入"],"Position":["位置"],"TOP":["上"],"Bottom":["下"],"Description":["説明"],"You can customize the description of the support.":["サポートの説明をカスタマイズできます。"],"Category names":["カテゴリ名"],"Inserted into articles of categories, divided by "|"":[""|" 区切りのカテゴリ名"],"Disable plugin filter":["プラグインフィルターを無効にする"],"You can disable filter processing that includes shortcodes from other plugins that interfere with the operation of codoc. Please use this only if codoc is not functioning properly.":["codoc の動作を妨げる他のプラグインからの (ショートコードを含む) フィルタ処理を無効にすることができます。codoc が正しく機能していない場合にのみ使用してください。"],"Shortcode evacuation":["ショートコードの待避"],"The execution results of shortcodes written in the paid part are moved to the free part, and are used and displayed on the HTML during viewing of the paid part. Please use this if the shortcode does not work as expected in the paid part. Please note that the execution results of shortcodes in the paid part will be written in the source code.":["有料部分に記述されたショートコードの実行結果を無料部分に退避、有料部分の閲覧時に HTML 上で使用・表示されます。有料部分でショートコードが期待通りに機能しない場合は、こちらをご利用ください。有料部分のショートコードの実行結果はソースコードに書き込まれますのでご注意ください。"],"Debug Parameters":["デバックパラメーター"],"You can specify parameters for debugging. Please use this only upon request from codoc support.":["デバック用のパラメーターを指定できます。codoc サポートからの要求がある場合にのみ使用してください。"],"Creator's Information":["クリエイター情報"],"Please save changes to update the information.":["変更を保存して情報を更新してください。"],"Extensions integration completed (Extensions code: %1$s) %2$s":["拡張機能の連携完了 (拡張機能コード: %1$s) %2$s"],"Set the audience as a private account.":["オーディエンスをプライベートアカウントとして設定します。"],"Update creator's Information":["クリエイター情報の更新"],"Please update each time if you change the logo or cover image on the codoc side.":["codoc 側でロゴや表紙画像を変更した場合は、その都度更新してください。"],"codoc authentication has been completed.":["codoc の認証が完了しました。"],"Authentication":["認証"],"Please save changes to complete the unbinding.":["変更を保存して連携解除を完了してください。"],"Authorized as %s":["%sとして認証"],"Unbind authorization":["連携解除"],"The authentication information has been obtained. Please click the confirmation button to complete the setup.":["認証情報を取得しました。設定を完了させるために確認ボタンを押下してください。"],"Confirm authentication":["認証を確認"],"Authentication is required to use codoc on WordPress.":["codocを使うには認証が必要です。"],"You can authenticate by directly entering the user code and API token, or by logging in and registering with codoc.":["ユーザーコードと API トークンを直接入力するか、ログインもしくは登録を行うことで認証を行えます。"],"Authenticate by direct input":["直接入力して認証"],"Login and authenticate":["ログインして認証"],"Register and authenticate":["登録して認証"],"Please enable %s and enable "Keep paragraph tags in the Classic block and the Classic Editor" on the settings screen.":["%sを有効にし、設定画面にて "Keep paragraph tags in the Classic block and the Classic Editor" を有効にしてください。"],"Please enable "Keep paragraph tags in the Classic block and the Classic Editor" on the %s settings screen.":["%sの設定画面にて "Keep paragraph tags in the Classic block and the Classic Editor" を有効にしてください。"],"Accept":["受け付ける"],"Do not accept":["受け付けない"],"The paid part will be hidden upon access, but will be displayed after tapping \"Pay to Read\". Viewers can freely specify the amount to purchase based on the content. Please note that there may be cases where it is not purchased.":["このブロックから下のブロックは認証された codoc ユーザーのみが閲覧できる有料エリアとなります。"]," ":[""],"Unlisted":["限定公開"],"Published":["公開"],"individual sale":["単体販売"],"price":["価格"],"Displayed as the your suggested price":["希望価格として標示"],"【":[""],"Pay-what-you-want":["自由課金"],"Limited quantity sale":["限定販売"],"Limited quantity":["限定数"],"Affiliate":["アフィリエイト"],"Rate":["料率"],"You can offer affiliate marketing at a specified rate for purchasers.":["購入者を対象に指定した料率でアフィリエイトをオファーできます。"],"Tipping":[" サポート"],"Subscriptions":["サブスクリプション"],"Add":["追加"],"To continue reading, ...":["この続きをみるには"],"codoc":["codoc"],"The area from this block down is a paid area that only authenticated codoc users can view.":["このブロックから下のブロックは認証された codoc ユーザーのみが閲覧できる有料エリアとなります。"],"codoc Block":["codoc ブロック"],"plugin for codoc":["codoc プラグイン"],"codoc-block":[""],"https://plugins.svn.wordpress.org/codoc/":["https://plugins.svn.wordpress.org/codoc/"],"A WordPress plugin for monetizing websites by enabling paid articles, subscriptions(memberships), and tipping.":["有料記事、サブスクリプション (マガジン・メンバーシップ)、投げ銭を導入できる WordPress プラグイン。"],"codoc.jp":["codoc.jp"],"https://codoc.jp":["https://codoc.jp"]}}}1 {"domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural_forms":"nplurals=1; plural=0;","lang":"ja"},"codoc Settings":["codoc設定"],"Theme":["テーマ"],"You can change the design of the paywall by specifying a theme.<br />You can also specify CSS directly by selecting \"Path Specification\"":["テーマを変更するとペイウォールのデザインを変更できます。<br />「パス指定」を選択してCSSを直接指定することもできます。"],"Rainbow colors":["レインボーカラー"],"Blue":["青"],"Red":["赤"],"Green":["緑"],"Black":["黒"],"Dark mode":["ダークモード"],"Rainbow Colors / Square design":["レインボーカラー / スクエアデザイン"],"Blue / Square design":["ブルー / スクエアデザイン"],"Red / Square design":["レッド / スクエアデザイン"],"Green / Square design":["グリーン / スクエアデザイン"],"Black / Square design":["ブラック / スクエアデザイン"],"Dark mode / Square design":["ダークモード / スクエアデザイン"],"Path Specification":["パス指定"],"Please note that the theme for dark mode has white text color, and depending on the background color, the text may not be visible.":["ダークモードはテキストの色が白となります。背景色によってはテキストが表示されない場合がありますのでご注意ください。"],"Texts in paywall":["ペイウォールのテキスト"],"You can change, show and hide texts in your paywall.":["ペイウォールのテキストを変更、表示、非表示にすることができます。"],"Display of likes":["いいねの表示"],"Enable":["有効"],"Disable":["無効"],"Display of PoweredBy":["Powered byの表示"],"Only PRO accounts can be disabled.":["無効にできるのは PRO アカウントのみです。"],"\"Purchase Article\" button text":["「購入」ボタンのテキスト"],"\"Purchase Subscription\" button text.":["サブスクリプション「購入」ボタンのテキスト。"],"Support button text":["サポートボタンのテキスト"],"Text for \"Articles Included in Subscription\".":["「購読に含まれる記事」のテキスト"],"Text for support description":["サポートの説明のテキスト"],"Attributes for codoc tag":["codoc タグの属性"],"You can add specific attributes to codoc tags.":["codoc タグに特定の属性を追加できます。"],"Attributes for codoc script tag":["codoc スクリプトタグの属性"],"You can add specific attributes to codoc script tags.":["codoc スクリプトタグに特定の属性を追加できます。"],"Permalink":["パーマリンク"],"You can replace the part of permalink registered on the codoc.":["codocに登録されているパーマリンクの一部を置換できます。"],"HTML insertion":["HTML の挿入"],"You can insert HTML before and after the codoc tag.":["codoc タグの前後に HTML を挿入できます。"],"Before HTML":["HTML の前"],"After HTML":["HTML の後"],"Automatic support insertion":["サポートの自動挿入"],"It adds support functions to the post without inserting a codoc block.":["codoc ブロックの挿入をしなくても投稿へサポート機能を追加できます。"],"Automatic insertion":["自動挿入"],"Position":["位置"],"TOP":["上"],"Bottom":["下"],"Description":["説明"],"You can customize the description of the support.":["サポートの説明をカスタマイズできます。"],"Category names":["カテゴリ名"],"Inserted into articles of categories, divided by "|"":[""|" 区切りのカテゴリ名"],"Disable plugin filter":["プラグインフィルターを無効にする"],"You can disable filter processing that includes shortcodes from other plugins that interfere with the operation of codoc. Please use this only if codoc is not functioning properly.":["codoc の動作を妨げる他のプラグインからの (ショートコードを含む) フィルタ処理を無効にすることができます。codoc が正しく機能していない場合にのみ使用してください。"],"Shortcode evacuation":["ショートコードの待避"],"The execution results of shortcodes written in the paid part are moved to the free part, and are used and displayed on the HTML during viewing of the paid part. Please use this if the shortcode does not work as expected in the paid part. Please note that the execution results of shortcodes in the paid part will be written in the source code.":["有料部分に記述されたショートコードの実行結果を無料部分に退避、有料部分の閲覧時に HTML 上で使用・表示されます。有料部分でショートコードが期待通りに機能しない場合は、こちらをご利用ください。有料部分のショートコードの実行結果はソースコードに書き込まれますのでご注意ください。"],"Debug Parameters":["デバックパラメーター"],"You can specify parameters for debugging. Please use this only upon request from codoc support.":["デバック用のパラメーターを指定できます。codoc サポートからの要求がある場合にのみ使用してください。"],"Creator's Information":["クリエイター情報"],"Please save changes to update the information.":["変更を保存して情報を更新してください。"],"Extensions integration completed (Extensions code: %1$s) %2$s":["拡張機能の連携完了 (拡張機能コード: %1$s) %2$s"],"Set the audience as a private account.":["オーディエンスをプライベートアカウントとして設定します。"],"Update creator's Information":["クリエイター情報の更新"],"Please update each time if you change the logo or cover image on the codoc side.":["codoc 側でロゴや表紙画像を変更した場合は、その都度更新してください。"],"codoc authentication has been completed.":["codoc の認証が完了しました。"],"Authentication":["認証"],"Please save changes to complete the unbinding.":["変更を保存して連携解除を完了してください。"],"Authorized as %s":["%sとして認証"],"Unbind authorization":["連携解除"],"The authentication information has been obtained. Please click the confirmation button to complete the setup.":["認証情報を取得しました。設定を完了させるために確認ボタンを押下してください。"],"Confirm authentication":["認証を確認"],"Authentication is required to use codoc on WordPress.":["codocを使うには認証が必要です。"],"You can authenticate by directly entering the user code and API token, or by logging in and registering with codoc.":["ユーザーコードと API トークンを直接入力するか、ログインもしくは登録を行うことで認証を行えます。"],"Authenticate by direct input":["直接入力して認証"],"Login and authenticate":["ログインして認証"],"Register and authenticate":["登録して認証"],"Please enable %s and enable "Keep paragraph tags in the Classic block and the Classic Editor" on the settings screen.":["%sを有効にし、設定画面にて "Keep paragraph tags in the Classic block and the Classic Editor" を有効にしてください。"],"Please enable "Keep paragraph tags in the Classic block and the Classic Editor" on the %s settings screen.":["%sの設定画面にて "Keep paragraph tags in the Classic block and the Classic Editor" を有効にしてください。"],"Accept":["受け付ける"],"Do not accept":["受け付けない"],"The paid part will be hidden upon access, but will be displayed after tapping \"Pay to Read\". Viewers can freely specify the amount to purchase based on the content. Please note that there may be cases where it is not purchased.":["このブロックから下のブロックは認証された codoc ユーザーのみが閲覧できる有料エリアとなります。"]," ":[""],"Unlisted":["限定公開"],"Published":["公開"],"individual sale":["単体販売"],"price":["価格"],"Displayed as the your suggested price":["希望価格として標示"],"【":[""],"Pay-what-you-want":["自由課金"],"Limited quantity sale":["限定販売"],"Limited quantity":["限定数"],"Affiliate":["アフィリエイト"],"Rate":["料率"],"You can offer affiliate marketing at a specified rate for purchasers.":["購入者を対象に指定した料率でアフィリエイトをオファーできます。"],"Tipping":["チップ"],"Reader Plans":["購読プラン"],"Add":["追加"],"To continue reading, ...":["この続きをみるには"],"codoc":["codoc"],"The area from this block down is a paid area that only authenticated codoc users can view.":["このブロックから下のブロックは認証された codoc ユーザーのみが閲覧できる有料エリアとなります。"],"codoc Block":["codoc ブロック"],"plugin for codoc":["codoc プラグイン"],"codoc-block":[""],"https://plugins.svn.wordpress.org/codoc/":["https://plugins.svn.wordpress.org/codoc/"],"A WordPress plugin for monetizing websites by enabling paid articles, subscriptions(memberships), and tipping.":["有料記事、サブスクリプション (マガジン・メンバーシップ)、投げ銭を導入できる WordPress プラグイン。"],"codoc.jp":["codoc.jp"],"https://codoc.jp":["https://codoc.jp"]}}} -
codoc/trunk/languages/codoc-ja.po
r3298415 r3350883 3 3 "Project-Id-Version: Codestar Framework 2.2.1\n" 4 4 "Report-Msgid-Bugs-To: \n" 5 "POT-Creation-Date: 2025-0 5-22 12:24+0900\n"5 "POT-Creation-Date: 2025-08-27 15:01+0900\n" 6 6 "PO-Revision-Date: \n" 7 7 "Last-Translator: \n" … … 15 15 "X-Generator: Poedit 3.5\n" 16 16 17 #: class-codoc.php: 32017 #: class-codoc.php:171 class-codoc.php:320 18 18 msgid "codoc Settings" 19 19 msgstr "codoc設定" … … 347 347 msgstr "登録して認証" 348 348 349 #: class-codoc.php:772 350 #, fuzzy 351 #| msgid "codoc Settings" 352 msgid "Settings" 353 msgstr "codoc設定" 354 349 355 #: class-codoc.php:1095 350 356 #, php-format … … 387 393 msgstr "" 388 394 389 #: src/block/block.js:108 src/block/block.js:2 58395 #: src/block/block.js:108 src/block/block.js:276 390 396 msgid "Unlisted" 391 397 msgstr "限定公開" … … 395 401 msgstr "公開" 396 402 397 #: src/block/block.js:1 78403 #: src/block/block.js:196 398 404 msgid "individual sale" 399 405 msgstr "単体販売" 400 406 401 #: src/block/block.js: 187407 #: src/block/block.js:205 402 408 msgid "price" 403 409 msgstr "価格" 404 410 405 #: src/block/block.js: 187411 #: src/block/block.js:205 406 412 msgid "Displayed as the your suggested price" 407 413 msgstr "希望価格として標示" 408 414 409 #: src/block/block.js: 187415 #: src/block/block.js:205 410 416 msgid "【" 411 417 msgstr "" 412 418 413 #: src/block/block.js: 199419 #: src/block/block.js:217 414 420 msgid "Pay-what-you-want" 415 421 msgstr "自由課金" 416 422 417 #: src/block/block.js:2 07423 #: src/block/block.js:225 418 424 msgid "Limited quantity sale" 419 425 msgstr "限定販売" 420 426 421 #: src/block/block.js:2 14427 #: src/block/block.js:232 422 428 msgid "Limited quantity" 423 429 msgstr "限定数" 424 430 425 #: src/block/block.js:2 27431 #: src/block/block.js:245 426 432 msgid "Affiliate" 427 433 msgstr "アフィリエイト" 428 434 429 #: src/block/block.js:2 34435 #: src/block/block.js:252 430 436 msgid "Rate" 431 437 msgstr "料率" 432 438 433 #: src/block/block.js:2 35439 #: src/block/block.js:253 434 440 msgid "You can offer affiliate marketing at a specified rate for purchasers." 435 441 msgstr "購入者を対象に指定した料率でアフィリエイトをオファーできます。" 436 442 437 #: src/block/block.js:2 48443 #: src/block/block.js:266 438 444 msgid "Tipping" 439 msgstr " サポート"440 441 #: src/block/block.js:2 68442 msgid " Subscriptions"443 msgstr " サブスクリプション"444 445 #: src/block/block.js:2 74445 msgstr "チップ" 446 447 #: src/block/block.js:286 448 msgid "Reader Plans" 449 msgstr "購読プラン" 450 451 #: src/block/block.js:292 446 452 msgid "Add" 447 453 msgstr "追加" 448 454 449 #: src/block/block.js:3 06455 #: src/block/block.js:324 450 456 msgid "To continue reading, ..." 451 457 msgstr "この続きをみるには" 452 458 453 459 #. Plugin Name of the plugin/theme 454 #: src/block/block.js:3 58460 #: src/block/block.js:376 455 461 msgid "codoc" 456 462 msgstr "codoc" 457 463 458 #: src/block/block.js:3 59464 #: src/block/block.js:377 459 465 msgid "" 460 466 "The area from this block down is a paid area that only authenticated codoc " … … 464 470 "リアとなります。" 465 471 466 #: src/block/block.js:3 69472 #: src/block/block.js:387 467 473 msgid "codoc Block" 468 474 msgstr "codoc ブロック" 469 475 470 #: src/block/block.js:3 70476 #: src/block/block.js:388 471 477 msgid "plugin for codoc" 472 478 msgstr "codoc プラグイン" 473 479 474 #: src/block/block.js:3 71480 #: src/block/block.js:389 475 481 msgid "codoc-block" 476 482 msgstr "" … … 495 501 msgid "https://codoc.jp" 496 502 msgstr "https://codoc.jp" 503 504 #~ msgid "Subscriptions" 505 #~ msgstr "サブスクリプション" 497 506 498 507 #~ msgid "" -
codoc/trunk/languages/codoc.pot
r3298415 r3350883 3 3 msgstr "" 4 4 "Project-Id-Version: codoc\n" 5 "POT-Creation-Date: 2025-0 5-22 12:24+0900\n"5 "POT-Creation-Date: 2025-08-27 15:01+0900\n" 6 6 "PO-Revision-Date: 2023-04-30 17:49+0900\n" 7 7 "Last-Translator: \n" … … 23 23 "X-Poedit-SearchPathExcluded-1: node_modules\n" 24 24 25 #: class-codoc.php: 32025 #: class-codoc.php:171 class-codoc.php:320 26 26 msgid "codoc Settings" 27 27 msgstr "" … … 340 340 msgstr "" 341 341 342 #: class-codoc.php:772 343 msgid "Settings" 344 msgstr "" 345 342 346 #: class-codoc.php:1095 343 347 #, php-format … … 374 378 msgstr "" 375 379 376 #: src/block/block.js:108 src/block/block.js:2 58380 #: src/block/block.js:108 src/block/block.js:276 377 381 msgid "Unlisted" 378 382 msgstr "" … … 382 386 msgstr "" 383 387 384 #: src/block/block.js:1 78388 #: src/block/block.js:196 385 389 msgid "individual sale" 386 390 msgstr "" 387 391 388 #: src/block/block.js: 187392 #: src/block/block.js:205 389 393 msgid "price" 390 394 msgstr "" 391 395 392 #: src/block/block.js: 187396 #: src/block/block.js:205 393 397 msgid "Displayed as the your suggested price" 394 398 msgstr "" 395 399 396 #: src/block/block.js: 187400 #: src/block/block.js:205 397 401 msgid "【" 398 402 msgstr "" 399 403 400 #: src/block/block.js: 199404 #: src/block/block.js:217 401 405 msgid "Pay-what-you-want" 402 406 msgstr "" 403 407 404 #: src/block/block.js:2 07408 #: src/block/block.js:225 405 409 msgid "Limited quantity sale" 406 410 msgstr "" 407 411 408 #: src/block/block.js:2 14412 #: src/block/block.js:232 409 413 msgid "Limited quantity" 410 414 msgstr "" 411 415 412 #: src/block/block.js:2 27416 #: src/block/block.js:245 413 417 msgid "Affiliate" 414 418 msgstr "" 415 419 416 #: src/block/block.js:2 34420 #: src/block/block.js:252 417 421 msgid "Rate" 418 422 msgstr "" 419 423 420 #: src/block/block.js:2 35424 #: src/block/block.js:253 421 425 msgid "You can offer affiliate marketing at a specified rate for purchasers." 422 426 msgstr "" 423 427 424 #: src/block/block.js:2 48428 #: src/block/block.js:266 425 429 msgid "Tipping" 426 430 msgstr "" 427 431 428 #: src/block/block.js:2 68429 msgid " Subscriptions"430 msgstr "" 431 432 #: src/block/block.js:2 74432 #: src/block/block.js:286 433 msgid "Reader Plans" 434 msgstr "" 435 436 #: src/block/block.js:292 433 437 msgid "Add" 434 438 msgstr "" 435 439 436 #: src/block/block.js:3 06440 #: src/block/block.js:324 437 441 msgid "To continue reading, ..." 438 442 msgstr "" 439 443 440 444 #. Plugin Name of the plugin/theme 441 #: src/block/block.js:3 58445 #: src/block/block.js:376 442 446 msgid "codoc" 443 447 msgstr "" 444 448 445 #: src/block/block.js:3 59449 #: src/block/block.js:377 446 450 msgid "" 447 451 "The area from this block down is a paid area that only authenticated codoc " … … 449 453 msgstr "" 450 454 451 #: src/block/block.js:3 69455 #: src/block/block.js:387 452 456 msgid "codoc Block" 453 457 msgstr "" 454 458 455 #: src/block/block.js:3 70459 #: src/block/block.js:388 456 460 msgid "plugin for codoc" 457 461 msgstr "" 458 462 459 #: src/block/block.js:3 71463 #: src/block/block.js:389 460 464 msgid "codoc-block" 461 465 msgstr "" -
codoc/trunk/package.json
r2923260 r3350883 10 10 "dependencies": { 11 11 "@wordpress/i18n": "^4.34.0", 12 "cgb-scripts": "1.18.1", 12 "cgb-scripts": "1.23.1", 13 "sass": "^1.90.0", 13 14 "jed": "^1.1.1", 14 15 "po2json": "1.0.0-beta-3", 15 16 "universal-cookie": "^4.0.0" 17 }, 18 "resolutions": { 19 "**/node-sass": "file:./src/node-sass-compat" 16 20 } 17 21 } -
codoc/trunk/readme.txt
r3341929 r3350883 5 5 Requires at least: 4.6 6 6 Tested up to: 6.8.2 7 Stable tag: 0.9.5 4.37 Stable tag: 0.9.55 8 8 Requires PHP: 5.4 9 9 License: GPLv2 or later … … 25 25 == Installation == 26 26 27 1. Search for the "codoc" plugin from "Plugins → Add New" in your WordPress dashboard.27 1. Search for the "codoc" plugin from "Plugins → Add Plugin" in your WordPress dashboard. 28 28 29 29 2. Install and activate the codoc plugin. -
codoc/trunk/src/block/block.js
r3304552 r3350883 284 284 <div class="codoc-subscription-title"> 285 285 <label> 286 { __(' Subscriptions','codoc') }286 { __('Reader Plans','codoc') } 287 287 </label> 288 288 <a
Note: See TracChangeset
for help on using the changeset viewer.