@@ -13,15 +13,15 @@ const api = {
1313 */
1414 definition : {
1515 id : "firebot:api" ,
16- name : "API Effect " ,
17- description : "Pulls info from a pre-selected api. " ,
16+ name : "API 演出 " ,
17+ description : "事前に選択したAPIから情報を引き出す " ,
1818 icon : "fad fa-chart-network" ,
1919 categories : [ EffectCategory . FUN , EffectCategory . CHAT_BASED , EffectCategory . OVERLAY ] ,
2020 dependencies : [ EffectDependency . CHAT ] ,
2121 outputs : [
2222 {
23- label : "API Response " ,
24- description : "The raw response from the API " ,
23+ label : "APIレスポンス " ,
24+ description : "APIからの生のレスポンス " ,
2525 defaultName : "apiResponse"
2626 }
2727 ]
@@ -52,15 +52,15 @@ const api = {
5252 <div ng-if="effect.api != null && effect.api !== 'Pick one'">
5353 <eos-container header="Display Location" pad-top="true">
5454 <div class="controls-fb-inline" style="padding-bottom: 5px;">
55- <label class="control-fb control--radio">Chat
55+ <label class="control-fb control--radio">チャット
5656 <input type="radio" ng-model="effect.show" value="chat"/>
5757 <div class="control__indicator"></div>
5858 </label>
59- <label class="control-fb control--radio" ng-if="effect.imageAvailable">Overlay
59+ <label class="control-fb control--radio" ng-if="effect.imageAvailable">オーバーレイ
6060 <input type="radio" ng-model="effect.show" value="overlay"/>
6161 <div class="control__indicator"></div>
6262 </label>
63- <label class="control-fb control--radio" ng-if="effect.imageAvailable">Both
63+ <label class="control-fb control--radio" ng-if="effect.imageAvailable">両方
6464 <input type="radio" ng-model="effect.show" value="both"/>
6565 <div class="control__indicator"></div>
6666 </label>
@@ -79,15 +79,15 @@ const api = {
7979
8080 <eos-container header="Dimensions" pad-top="true">
8181 <div class="input-group">
82- <span class="input-group-addon">Width </span>
82+ <span class="input-group-addon">幅 </span>
8383 <input
8484 type="number"
8585 class="form-control"
8686 aria-describeby="image-width-setting-type"
8787 type="number"
8888 ng-model="effect.width"
8989 placeholder="px">
90- <span class="input-group-addon">Height </span>
90+ <span class="input-group-addon">高さ </span>
9191 <input
9292 type="number"
9393 class="form-control"
@@ -100,7 +100,7 @@ const api = {
100100
101101 <eos-container header="Duration" pad-top="true">
102102 <div class="input-group">
103- <span class="input-group-addon">Seconds </span>
103+ <span class="input-group-addon">秒 </span>
104104 <input
105105 type="text"
106106 class="form-control"
@@ -115,7 +115,7 @@ const api = {
115115
116116 <eos-container>
117117 <div class="effect-info alert alert-danger">
118- Warning: These API's pull from a third party and we have no control over the quality or content.
118+ 警告:これらのAPIは第三者から取得したものであり、その品質や内容については一切管理しておりません。
119119 </div>
120120 </eos-container>
121121 ` ,
@@ -145,11 +145,11 @@ const api = {
145145 optionsValidator : ( effect ) => {
146146 const errors = [ ] ;
147147 if ( effect . api == null ) {
148- errors . push ( "Please select an API from the list. " ) ;
148+ errors . push ( "リストからAPIを選択してください。 " ) ;
149149 }
150150
151151 if ( effect . show == null ) {
152- errors . push ( "Please select a places to show the API results. " ) ;
152+ errors . push ( "APIの結果を表示する場所を選択してください。 " ) ;
153153 }
154154 return errors ;
155155 } ,
0 commit comments