code stringlengths 2 1.05M | repo_name stringlengths 5 114 | path stringlengths 4 991 | language stringclasses 1 value | license stringclasses 15 values | size int32 2 1.05M |
|---|---|---|---|---|---|
/***********************************************
gruntfile.js for jquery-bootstrap
https://github.com/fcoo/jquery-bootstrap
***********************************************/
module.exports = function(grunt) {
"use strict";
//***********************************************
grunt.initConfig({
"fcoo_grunt_plugin":{
default: {
"haveJavaScript": true, //true if the packages have js-files
"haveStyleSheet": true, //true if the packages have css and/or scss-files
"haveGhPages" : true, //true if there is a branch "gh-pages" used for demos
"beforeProdCmd": "", //Cmd to be run at the start of prod-task. Multi cmd can be seperated by "&"
"beforeDevCmd" : "", //Cmd to be run at the start of dev-task
"afterProdCmd" : "", //Cmd to be run at the end of prod-task
"afterDevCmd" : "", //Cmd to be run at the end of dev-task
"DEBUG" : false //if true different debugging is on and the tempoary files are not deleted
}
}
});
//****************************************************************
//Load grunt-packages
grunt.loadNpmTasks('grunt-fcoo-grunt-plugin');
}; | FCOO/jquery-bootstrap | gruntfile.js | JavaScript | mit | 1,288 |
// Copyright (c) 2012 Ecma International. All rights reserved.
// Ecma International makes this code available under the terms and conditions set
// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
// "Use Terms"). Any redistribution of this code must retain the above
// copyright and this notice and otherwise comply with the Use Terms.
/*---
es5id: 15.2.3.3-4-250
description: >
Object.getOwnPropertyDescriptor - returned object contains the
property 'get' if the value of property 'get' is not explicitly
specified when defined by Object.defineProperty.
includes: [runTestCase.js]
---*/
function testcase() {
var obj = {};
Object.defineProperty(obj, "property", {
set: function () {},
configurable: true
});
var desc = Object.getOwnPropertyDescriptor(obj, "property");
return "get" in desc;
}
runTestCase(testcase);
| PiotrDabkowski/Js2Py | tests/test_cases/built-ins/Object/getOwnPropertyDescriptor/15.2.3.3-4-250.js | JavaScript | mit | 932 |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = [['q', 'w', 'e', 'r', 't', 'y', 'u', 'i', 'o', 'p'], ['a', 's', 'd', 'f', 'g', 'h', 'j', 'k', 'l'], ['z', 'x', 'c', 'v', 'b', 'n', 'm']];
module.exports = exports['default']; | xtrinch/react-touch-screen-keyboard | lib/layouts/LatinLayout.js | JavaScript | mit | 272 |
/**
* @file 棱镜配置文件
*/
var pkg = require('./package.json');
module.exports = {
appid: pkg.appid,
name: pkg.name,
desc: pkg.description,
host: `https://${pkg.appid}.h5app.alipay.com/www/`,
pages: [
{
entry: 'index.html',
src: './src/pages/index/index.js',
title: '首页',
desc: '首页 - 描述'
},
{
entry: 'list.html',
src : './src/pages/list/list.js',
title: 'list列表',
desc: 'list列表 - list列表页'
}
]
};
| gubaojian/trylearn | dva/antdmobile/lengjing.config.js | JavaScript | mit | 519 |
import { isNull } from '../checks/isNull';
import { isObject } from '../checks/isObject';
import { mustSatisfy } from '../checks/mustSatisfy';
/**
* @hidden
*/
function beObject() {
return "be a non-null `object`";
}
/**
* @hidden
*/
export function mustBeNonNullObject(name, value, contextBuilder) {
mustSatisfy(name, isObject(value) && !isNull(value), beObject, contextBuilder);
return value;
}
| geometryzen/davinci-eight | build/module/lib/checks/mustBeNonNullObject.js | JavaScript | mit | 413 |
export default Ember.Handlebars.makeBoundHelper(function(price) {
var number = parseFloat(price/100).toFixed(2),
dollar = number.split('.')[0],
cents = number.split('.')[1],
dollars = dollar.split('').reverse().join('')
.replace(/(\d{3}(?!$))/g, '$1,')
.split('').reverse().join('');
return '$' + dollars + '.' + cents;
});
| lizrush/digistore-eak | app/helpers/format-money.js | JavaScript | mit | 368 |
angular.module('fdb.directives', ['mcus.directives']);
angular.module('fdb.services', ['mcus.services']);
angular.module('fdb.filters', []);
angular.module('fdb', ['fdb.services', 'fdb.directives', 'fdb.filters']).
controller('UserFrontendCtrl', function($scope, $http, $timeout, $filter, $location) {
// $scope.deleteUser = function(user){
// if(confirm('Delete user ' + user.username + ' ?')){
// $http.post(Config.baseUrl + '/UsersFrontends/delete', {'id' : user.id}).success(function (resp) {
// if(resp == 'true'){
// for(var index = 0; index < $scope.users.length; index++) {
// if ($scope.users[index].UsersFrontend.id == user.id) {
// $scope.users.splice(index, 1);
// break;
// }
// }
// }else{
// alert('Error. Can not delete this user. View logs for more detail');
// }
// })
// }
// }
$scope.lockUser = function(user){
if(user.status == 'lock'){
message = 'Unlock this user with email: ';
status = 'active';
}else if(user.status == 'active'){
message = 'Lock this user with email: ';
status = 'lock';
}
if(confirm(message + user.email + '?')){
$http.post(Config.baseUrl + '/UsersFrontends/edit', {'id' : user.id, 'status' : status}).success(function (resp) {
console.log(resp);
if(resp.data){
user.status = status;
}else{
alert('Error');
}
})
}
}
$scope.search = function (row) {
if(row.UsersFrontend.username &&
angular.lowercase(row.UsersFrontend.username).indexOf($scope.query || '') !== -1){
return true;
}
if(row.UsersFrontend.fullname &&
angular.lowercase(row.UsersFrontend.fullname).indexOf($scope.query || '') !== -1){
return true;
}
if(row.UsersFrontend.email &&
angular.lowercase(row.UsersFrontend.email).indexOf($scope.query || '') !== -1){
return true;
}
if(row.UsersFrontend.facebook_id &&
angular.lowercase(row.UsersFrontend.facebook_id).indexOf($scope.query || '') !== -1){
return true;
}
if(row.UsersFrontend.status &&
angular.lowercase(row.UsersFrontend.status).indexOf($scope.query || '') !== -1){
return true;
}
return false;
};
$scope.editUser = function(user){
$scope.showError = true;
$scope.editingUser = angular.copy(user);
if ($scope.editUserForm.$invalid) {
return;
}
}
$scope.applyEditUser = function(){
$scope.showError = true;
console.log($scope.editUserForm);
if ($scope.editUserForm.$invalid) {
return;
}
var ptNotAllowSpecialCharacter = /[^a-zA-Z0-9]/;
if (ptNotAllowSpecialCharacter.test($scope.editingUser.username)) {
alert('Error, username contain special characters');
return false;
}
$http.post(Config.baseUrl + '/UsersFrontends/checkExistEmail', {'email' : $scope.editingUser.email, 'id' : $scope.editingUser.id}).success(function (res) {
// Not allow edit with existed email
if(res.check > 0){
alert('Error!. This email existed');
return;
}
})
var userData = {};
userData.id = $scope.editingUser.id;
userData.fullname = $scope.editingUser.fullname;
userData.username = $scope.editingUser.username;
userData.email = $scope.editingUser.email;
userData.facebook_id = $scope.editingUser.facebook_id;
userData.status = $scope.editingUser.status;
$http.post(Config.baseUrl + '/UsersFrontends/edit', userData).success(function (res) {
if(res.data){
response = res.data;
response.UsersFrontend.created = $scope.editingUser.created;
response.UsersFrontend.modified = $scope.editingUser.modified;
// remove old user object
for(var index = 0; index < $scope.users.length; index++) {
if ($scope.users[index].UsersFrontend.id == $scope.editingUser.id) {
$scope.users.splice(index, 1);
break;
}
}
// add new user object
$scope.users.push(response);
angular.element('#cancelEdit').trigger('click');
}
})
}
}) | haiht24/rtmn | portal/app/webroot/js/users_frontends/index.js | JavaScript | mit | 4,779 |
import React from "react";
import styled from "styled-components";
import Img from "gatsby-image";
import { graphql } from "gatsby";
import Center from "../components/center";
import ResponsiveContainer from "../components/responsive-container";
import Inset from "../components/inset";
import Text from "../components/text";
import colors from "../constants/colors";
import Layout from "../layouts";
import VersandhausWalzLogo from "../assets/compressed/versandhaus-walz.png";
import OttoLogo from "../assets/compressed/otto.png";
import LudwigMediaLogo from "../assets/compressed/ludwigmedia.png";
import BadischerWeinLogo from "../assets/compressed/badischer-wein.png";
import DrawkitContentManColour from "../assets/drawkit-content-man-colour.svg";
import Stack from "../components/stack";
const customers = [
{
src: OttoLogo,
alt: "Otto (GmbH & CoKG)"
},
{
src: VersandhausWalzLogo,
alt: "Versandhaus Walz"
},
{
src: LudwigMediaLogo,
alt: "LUDWIG:media gmbh"
},
{
src: BadischerWeinLogo,
alt: "Badischer Wein eKfr"
}
];
const HeroImage = styled.img`
width: 80%;
height: auto;
@media (min-width: 48em) {
width: auto;
height: 80vh;
max-height: 460px;
margin-left: -32px;
}
`;
const HeroLayout = styled(Stack)`
margin: 64px 0 32px;
@media (min-width: 48em) {
margin-top: 0;
flex-direction: row;
}
`;
const HeroArea = styled.div`
position: relative;
background-color: ${colors.black};
display: flex;
align-items: center;
@media (min-width: 48em) {
height: 80vh;
}
`;
const HeroTextArea = styled.div`
position: relative;
`;
const HeroText = styled.h1`
line-height: 1.1;
font-size: 2.5rem;
max-width: 22ch;
margin-top: 0;
color: ${colors.white};
text-align: center;
@media (min-width: 48em) {
font-size: 3rem;
text-align: left;
}
`;
const HeroTextHighlicht = styled.span`
color: ${colors.orange};
`;
const HeroTextSubheadline = styled.p`
line-height: 1.1;
font-size: 1.6rem;
max-width: 22ch;
color: #ddb992;
margin: 0;
text-align: center;
@media (min-width: 48em) {
text-align: left;
font-size: 2rem;
}
`;
const CustomerContainer = ResponsiveContainer.extend`
display: flex;
align-items: center;
flex-direction: column;
@media (min-width: 700px) {
flex-direction: row;
}
`;
const CustomerList = Center.extend`
padding: 32px 0;
background-color: hsla(31, 17%, 93%, 1);
`;
const CustomerLogo = styled.div`
flex: 1 1 auto;
max-height: 60px;
margin: 10px;
transition: all 0.5s ease-in-out;
> img {
max-width: 100%;
max-height: 100%;
}
`;
const H2 = styled.h2`
color: ${colors.textPrimary};
margin: 0 0 24px;
`;
const H3 = styled.h3`
color: ${colors.textPrimary};
margin: 0 0 16px;
`;
const SkillGrid = styled.div`
display: grid;
grid-template-columns: 1fr;
grid-gap: 16px;
@media (min-width: 700px) {
grid-template-columns: 1fr 1fr;
}
`;
const ServiceSection = styled.div`
background-color: hsla(13, 10%, 97%, 1);
padding: 32px 0;
`;
const Skill = styled.div`
background-color: white;
border-radius: 4px;
display: flex;
flex-direction: column;
text-align: left;
color: ${colors.text};
animation: fadein 2s;
`;
const SkillImage = styled.div`
max-height: 175px;
background-color: #ffe6df;
border-radius: 4px 4px 0 0;
overflow: hidden;
`;
const IndexPage = ({ data }) => (
<Layout>
<HeroArea>
<ResponsiveContainer>
<HeroLayout alignItems="center" scale="xl">
<HeroTextArea>
<HeroText>
Wir liefern digitale Lösungen,<br />
<HeroTextHighlicht>die unsere Kunden lieben.</HeroTextHighlicht>
</HeroText>
<HeroTextSubheadline>Und das seit 15 Jahren!</HeroTextSubheadline>
</HeroTextArea>
<HeroImage src={DrawkitContentManColour} alt="" />
</HeroLayout>
</ResponsiveContainer>
</HeroArea>
<CustomerList>
<CustomerContainer>
{customers.map(logo => (
<CustomerLogo key={logo.alt}>
<img src={logo.src} alt={logo.alt} />
</CustomerLogo>
))}
</CustomerContainer>
</CustomerList>
<ServiceSection>
<ResponsiveContainer>
<Center>
<H2>Unsere Leistungen</H2>
</Center>
<SkillGrid>
{data.allContentfulServices.edges.map(({ node }) => (
<Skill key={node.id}>
<SkillImage>
{node.image && <Img fluid={node.image.fluid} />}
</SkillImage>
<Inset scale="xl">
<H3>{node.title}</H3>
<Text.Detail>
<div
dangerouslySetInnerHTML={{
__html: node.description.childMarkdownRemark.html
}}
/>
</Text.Detail>
</Inset>
</Skill>
))}
</SkillGrid>
</ResponsiveContainer>
</ServiceSection>
</Layout>
);
export default IndexPage;
export const query = graphql`
query AllServices {
allContentfulServices(sort: { fields: [order], order: ASC }) {
edges {
node {
id
title
description {
childMarkdownRemark {
html
}
}
image {
fluid(maxWidth: 426) {
...GatsbyContentfulFluid
}
}
}
}
}
contentfulAsset(title: { eq: "Hero" }) {
fluid(maxHeight: 1000) {
...GatsbyContentfulFluid
}
}
}
`;
| SoftBricks/homepage | src/pages/index.js | JavaScript | mit | 5,622 |
var fs = require('fs');
var path = require('path');
var log = require('./logging').logger;
var Project = module.exports;
Project.PROJECT_FILE = 'ionic.config.json';
Project.OLD_PROJECT_FILE = 'ionic.project';
Project.OLD_V2_PROJECT_FILE = 'ionic.config.js';
Project.PROJECT_DEFAULT = {
name: '',
app_id: '' // eslint-disable-line camelcase
};
Project.data = null;
Project.wrap = function wrap(appDirectory, data) {
return {
get: function get(key) {
return Project.get(data, key);
},
remove: function remove(key) {
return Project.remove(data, key);
},
set: function set(key, value) {
return Project.set(data, key, value);
},
save: function save() {
return Project.save(appDirectory, data);
}
};
};
Project.load = function load(appDirectory) {
if (!appDirectory) {
// Try to grab cwd
appDirectory = process.cwd();
}
var projectFile = path.join(appDirectory, Project.PROJECT_FILE);
var oldProjectFile = path.join(appDirectory, Project.OLD_PROJECT_FILE);
var oldV2ProjectFile = path.join(appDirectory, Project.OLD_V2_PROJECT_FILE);
var data;
var found;
try {
data = JSON.parse(fs.readFileSync(projectFile));
found = true;
if (fs.existsSync(oldV2ProjectFile)) {
log.warn(('WARN: ionic.config.js has been deprecated, you can remove it.').yellow);
}
} catch (e) {
if (e instanceof SyntaxError) {
log.error('Uh oh! There\'s a syntax error in your ' + Project.PROJECT_FILE + ' file:\n' + e.stack);
process.exit(1);
}
}
if (!found) {
try {
data = JSON.parse(fs.readFileSync(oldProjectFile));
log.warn('WARN: ionic.project has been renamed to ' + Project.PROJECT_FILE + ', please rename it.');
found = true;
} catch (e) {
if (e instanceof SyntaxError) {
log.error('Uh oh! There\'s a syntax error in your ionic.project file:\n' + e.stack);
process.exit(1);
}
}
}
if (!found) {
data = Project.PROJECT_DEFAULT;
if (fs.existsSync(oldV2ProjectFile)) {
log.warn('WARN: ionic.config.js has been deprecated in favor of ionic.config.json.');
log.info('Creating default ionic.config.json for you now...\n');
data.v2 = true;
if (fs.existsSync('tsconfig.json')) {
data.typescript = true;
}
}
var parts = path.join(appDirectory, '.').split(path.sep);
var dirname = parts[parts.length - 1];
Project.create(appDirectory, dirname);
Project.save(appDirectory, data);
}
return Project.wrap(appDirectory, data);
};
Project.create = function create(appDirectory, name) {
var data = Project.PROJECT_DEFAULT;
if (name) {
Project.set(data, 'name', name);
}
return Project.wrap(appDirectory, data);
};
Project.save = function save(appDirectory, data) {
if (!data) {
throw new Error('No data passed to Project.save');
}
try {
var filePath = path.join(appDirectory, Project.PROJECT_FILE);
var jsonData = JSON.stringify(data, null, 2);
fs.writeFileSync(filePath, jsonData + '\n');
} catch (e) {
log.error('Unable to save settings file:', e);
}
};
Project.get = function get(data, key) {
if (!data) {
return null;
}
if (key) {
return data[key];
} else {
return data;
}
};
Project.set = function set(data, key, value) {
if (!data) {
data = Project.PROJECT_DEFAULT;
}
data[key] = value;
};
Project.remove = function remove(data, key) {
if (!data) {
data = Project.PROJECT_DEFAULT;
}
data[key] = '';
};
| jeneser/hpuHelper | node_modules/ionic/node_modules/ionic-app-lib/lib/project.js | JavaScript | mit | 3,529 |
'use strict';
var q = require('q');
var announcer = require('pd-api-announcer');
var methodNomen = require('./nomenclt');
var nm = require('./parenthood-nomenclt');
module.exports = function (Parent, Child) {
var hasChildName = methodNomen.ifOwns(Child);
Parent[hasChildName] = function (parentSid, childSid) {
return q.Promise(function (resolve, reject) {
var cId = childSid + '';
var redisKey = nm.childOf(Child.modelName(), Parent.modelName(), parentSid);
Child.redis.zsetExists(redisKey, cId).then(function (reply) {
resolve(reply);
}).fail(function (err) {
if (announcer.error(err).isSysFor('zsetItem', 'gone')) {
throw announcer.error.sys(Child.modelName(), 'gone');
}
}).fail(function (err) {
reject(err);
});
});
};
};
| pandazy/pd-redis-parentize | lib/extends-has-child.js | JavaScript | mit | 911 |
export const ic_local_atm = {"viewBox":"0 0 24 24","children":[{"name":"path","attribs":{"d":"M0 0h24v24H0z","fill":"none"},"children":[]},{"name":"path","attribs":{"d":"M11 17h2v-1h1c.55 0 1-.45 1-1v-3c0-.55-.45-1-1-1h-3v-1h4V8h-2V7h-2v1h-1c-.55 0-1 .45-1 1v3c0 .55.45 1 1 1h3v1H9v2h2v1zm9-13H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4V6h16v12z"},"children":[]}]}; | wmira/react-icons-kit | src/md/ic_local_atm.js | JavaScript | mit | 415 |
'use strict';
var inherits = require('util').inherits;
var _ = require('lodash');
var GremlinMethod = require('../function');
function GetPropertiesMethod() {
GremlinMethod.call(this, 'getProperties', arguments[0]);
}
inherits(GetPropertiesMethod, GremlinMethod);
GetPropertiesMethod.prototype.run = function(element) {
var o = {};
return element.properties;
};
module.exports = GetPropertiesMethod; | jbmusso/gremlin-script | src/functions/element/getproperties.js | JavaScript | mit | 413 |
var gsc_basicmatch = /[a-z0-9]/i;
function gsc_getquery(elt, q)
{
q = ltrim(q);
q = q.replace('\s+', ' ');
if (q.length == 0 || !gsc_basicmatch.test(q)) {
gsc_emptyresults(elt);
return '';
}
if (elt.currentQuery && (elt.currentQuery == q || elt.tempQuery == q))
return '';
elt.currentQuery = q;
return q;
}
function gsc_hide(elt)
{
if (elt) elt.style.display = 'none';
}
function gsc_ishidden(elt)
{
return elt.style.display == 'none';
}
function gsc_show(elt)
{
if (elt) elt.style.display = 'block';
}
function gsc_emptyresults(elt)
{
if (!elt) return;
elt.innerHTML = '';
elt.numResults = 0;
elt.selectedIndex = 0;
elt.results = [];
gsc_hide(elt);
}
function gsc_addresult(elt, qElt, q, c, sel)
{
if (!elt) return;
if (sel) elt.selectedIndex = elt.numResults;
idx = elt.numResults;
elt.results[elt.numResults++] = c;
var _res = '';
_res += '<div class="' + (sel ? 'srs' : 'sr') + '"'
+ ' onmouseover="gsc_mouseover(\'' + elt.id + '\', \'' + qElt.id + '\', ' + idx + ')"'
+ ' onmouseout="gsc_mouseout(\'' + elt.id + '\', ' + idx + ')"'
+ ' onclick="gsc_mouseclick(\'' + elt.id + '\', \'' + qElt.id + '\', ' + idx + ')">';
_res += '<span class="srt">' + q + '</span>';
if (c.length > 0)
_res += '<span class="src">ID: ' + c + '</span>';
_res += '</div>';
elt.innerHTML += _res;
}
function gsc_mouseover(id, qId, idx)
{
elt = document.getElementById(id);
elt.selectedIndex = idx;
qElt = document.getElementById(qId);
qElt.focus();
gsc_highlightsel(elt);
}
function gsc_mouseout(id, idx)
{
elt = document.getElementById(id);
elt.selectedIndex = -1;
gsc_highlightsel(elt);
}
function gsc_mouseclick(id, qId, idx)
{
elt = document.getElementById(id);
qElt = document.getElementById(qId);
qElt.value = elt.results[idx];
qElt.form.submit();
}
function gsc_handleup(elt, qElt)
{
if (elt.numResults > 0 && gsc_ishidden(elt)) {
gsc_show(elt);
return;
}
if (elt.selectedIndex == 0)
return;
else if (elt.selectedIndex < 0)
elt.selectedIndex = elt.numResults - 1;
else
elt.selectedIndex--;
gsc_highlightsel(elt, qElt);
}
function gsc_handledown(elt, qElt)
{
if (elt.numResults > 0 && gsc_ishidden(elt)) {
gsc_show(elt);
return;
}
if (elt.selectedIndex == elt.numResults - 1)
return;
else if (elt.selectedIndex < 0)
elt.selectedIndex = 0;
else
elt.selectedIndex++;
gsc_highlightsel(elt, qElt);
}
function gsc_highlightsel(elt, qElt)
{
divs = elt.getElementsByTagName('div');
for (i = 0; i < divs.length; i++) {
if (i == elt.selectedIndex) {
divs[i].className = 'srs';
elt.tempQuery = elt.results[i];
if (qElt) {
qElt.value = elt.results[i];
if (qElt.createTextRange) {
r = qElt.createTextRange();
r.moveStart('character', elt.currentQuery.length);
r.moveEnd('character', qElt.value.length);
r.select();
}
}
}
else
divs[i].className = 'sr';
}
}
| Arasaac/dockerizePHPApp | php/js/ajaxac/googlesuggestclone.js | JavaScript | mit | 3,473 |
/**
* @class Oskari.mapframework.domain.AbstractLayer
*
* Superclass for layer objects copy pasted from wmslayer. Need to check
* if something should be moved back to wmslayer. Nothing else currently uses this.
*/
Oskari.clazz.define('Oskari.mapframework.domain.AbstractMapLayerModel',
/**
* @method create called automatically on construction
* @static
*/
function (params, options) {
/* Internal id for this map layer */
this._id = null;
/* Name of this layer */
this._name = null;
/* Description for layer */
this._description = null;
/* either NORMAL_LAYER, GROUP_LAYER or BASE_LAYER */
this._type = null;
/* either WMS, WMTS, WFS or VECTOR */
this._layerType = '';
/* optional params */
this._params = params || {};
/* optional options */
this._options = options || {};
/* modules can "tag" the layers with this for easier reference */
this._metaType = null;
/* Max scale for layer */
this._maxScale = null;
/* Min scale for layer */
this._minScale = null;
/* is layer visible */
this._visible = null;
/* opacity from 0 to 100 */
this._opacity = null;
/* visible layer switch off enable/disable */
this._isSticky = null;
this._inspireName = null;
this._organizationName = null;
this._dataUrl = null;
this._orderNumber = null;
/*
* Array of sublayers. Notice that only type BASE_LAYER can
* have sublayers.
*/
this._subLayers = [];
/* Array of styles that this layer supports */
this._styles = [];
/* Currently selected style */
this._currentStyle = null;
/* Legend image location */
this._legendImage = null;
/* is it possible to ask for feature info */
this._featureInfoEnabled = null;
/* is this layer queryable (GetFeatureInfo) boolean */
this._queryable = null;
this._queryFormat = null;
// f.ex. permissions.publish
this._permissions = {};
// if given, tells where the layer has content
// array of Openlayers.Geometry[] objects if already processed from _geometryWKT
this._geometry = [];
// wellknown text for polygon geometry
this._geometryWKT = null;
// Tools array for layer specific functions
this._tools = [];
/* link to metadata service */
this._metadataIdentifier = null;
this._backendStatus = null;
}, {
/**
* @method setId
* @param {String} id
* unique identifier for map layer used to reference the layer internally
* (e.g. MapLayerService)
*/
setId: function (id) {
this._id = id;
},
/**
* @method getId
* @return {String}
* unique identifier for map layer used to reference the layer internally
* (e.g. MapLayerService)
*/
getId: function () {
return this._id;
},
/**
* @method setQueryFormat
* @param {String} queryFormat
* f.ex. 'text/html'
*/
setQueryFormat: function (queryFormat) {
this._queryFormat = queryFormat;
},
/**
* @method getQueryFormat
* f.ex. 'text/html'
* @return {String}
*/
getQueryFormat: function () {
return this._queryFormat;
},
/**
* @method setName
* @param {String} name
* name for the maplayer that is shown in UI
*/
setName: function (name) {
this._name = name;
},
/**
* @method getName
* @return {String} maplayer UI name
*/
getName: function () {
return this._name;
},
/**
* @method setType
* @param {String} type
* layer type (e.g. NORMAL, BASE, GROUP)
*
* Not as type WMS or Vector but base or normal layer.
* See #setAsBaseLayer(), #setAsGroupLayer() and #setAsNormalLayer()
*/
setType: function (type) {
this._type = type;
},
/**
* @method getType
* @return {String} maplayer type (BASE/NORMAL)
*/
getType: function () {
return this._type;
},
/**
* @method setDataUrl
* @param {String} param
* URL string used to show more info about the layer
*/
setDataUrl: function (param) {
this._dataUrl = param;
},
/**
* @method getDataUrl
* @return {String} URL string used to show more info about the layer
*/
getDataUrl: function () {
return this._dataUrl;
},
/**
* @method setOrganizationName
* @param {String} param
* organization name under which the layer is listed in UI
*/
setOrganizationName: function (param) {
this._organizationName = param;
},
/**
* @method getOrganizationName
* @return {String} organization name under which the layer is listed in UI
*/
getOrganizationName: function () {
return this._organizationName;
},
/**
* @method setInspireName
* @param {String} param
* inspire theme name under which the layer is listed in UI
*/
setInspireName: function (param) {
this._inspireName = param;
},
/**
* @method getInspireName
* @return {String} inspire theme name under which the layer is listed in UI
*/
getInspireName: function () {
return this._inspireName;
},
/**
* @method setFeatureInfoEnabled
* @return {Boolean} featureInfoEnabled true to enable feature info functionality
*/
setFeatureInfoEnabled: function (featureInfoEnabled) {
this._featureInfoEnabled = featureInfoEnabled;
},
/**
* @method isFeatureInfoEnabled
* @return {Boolean} true if feature info functionality should be enabled
*/
isFeatureInfoEnabled: function () {
if (this._featureInfoEnabled === true) {
return true;
}
return false;
},
/**
* @method setDescription
* @param {String} description
* map layer description text
*/
setDescription: function (description) {
this._description = description;
},
/**
* @method getDescription
* @return {String} map layer description text
*/
getDescription: function () {
return this._description;
},
/**
* @method addSubLayer
* @param {Oskari.mapframework.domain.WmsLayer} map layer
* actual sub map layer that is used for a given scale range (only for
* base & group layers)
*
* If layer has sublayers, it is basically a "metalayer" for maplayer ui
* purposes and actual map images to show are done with sublayers
*/
addSubLayer: function (layer) {
this._subLayers.push(layer);
},
/**
* @method getSubLayers
* @return {Oskari.mapframework.domain.WmsLayer[]} array of sub map layers
*
* If layer has sublayers, it is basically a "metalayer" for maplayer ui
* purposes and actual map images to show are done with sublayers
*/
getSubLayers: function () {
return this._subLayers;
},
/**
* @method setMaxScale
* @param {Number} maxScale
* largest scale when the layer is shown (otherwise not shown in map and
* "greyed out"/disabled in ui)
*/
setMaxScale: function (maxScale) {
this._maxScale = maxScale;
},
/**
* @method getMaxScale
* @return {Number}
* largest scale when the layer is shown (otherwise not shown in map and
* "greyed out"/disabled in ui)
*/
getMaxScale: function () {
return this._maxScale;
},
/**
* @method setMinScale
* @param {Number} minScale
* smallest scale when the layer is shown (otherwise not shown in map and
* "greyed out"/disabled in ui)
*/
setMinScale: function (minScale) {
this._minScale = minScale;
},
/**
* @method getMinScale
* @return {Number}
* smallest scale when the layer is shown (otherwise not shown in map and
* "greyed out"/disabled in ui)
*/
getMinScale: function () {
return this._minScale;
},
/**
* @method setOrderNumber
* @param {Number} orderNumber
*/
setOrderNumber: function (orderNumber) {
this._orderNumber = orderNumber;
},
/**
* @method getOrderNumber
* @return {Number} orderNumber
*/
getOrderNumber: function () {
return this._orderNumber;
},
/**
* @method isVisible
* @return {Boolean} true if this is should be shown
*/
isVisible: function () {
return this._visible === true;
},
/**
* @method setVisible
* @param {Boolean} visible true if this is should be shown
*/
setVisible: function (visible) {
this._visible = visible;
},
/**
* @method setOpacity
* @param {Number} opacity
* 0-100 in percents
*/
setOpacity: function (opacity) {
this._opacity = opacity;
},
/**
* @method getOpacity
* @return {Number} opacity
* 0-100 in percents
*/
getOpacity: function () {
return this._opacity;
},
/**
* @method setGeometryWKT
* Set geometry as wellknown text
* @param {String} value
* WKT geometry
*/
setGeometryWKT: function (value) {
this._geometryWKT = value;
},
/**
* @method getGeometryWKT
* Get geometry as wellknown text
* @return {String} WKT geometry
*/
getGeometryWKT: function () {
return this._geometryWKT;
},
/**
* @method setGeometry
* @param {OpenLayers.Geometry.Geometry[]} value
* array of WKT geometries or actual OpenLayer geometries
*/
setGeometry: function (value) {
this._geometry = value;
},
/**
* @method getGeometry
* @return {OpenLayers.Geometry.Geometry[]}
* array of WKT geometries or actual OpenLayer geometries
*/
getGeometry: function () {
return this._geometry;
},
/**
* @method addPermission
* @param {String} action
* action key that we want to add permission setting for
* @param {String} permission
* actual permission setting for action
*/
addPermission: function (action, permission) {
this._permissions[action] = permission;
},
/**
* @method removePermission
* @param {String} action
* action key from which permission setting should be removed
*/
removePermission: function (action) {
this._permissions[action] = null;
delete this._permissions[action];
},
/**
* @method getPermission
* @param {String} action
* action key for which permission we want
* @return {String} permission setting for given action
*/
getPermission: function (action) {
return this._permissions[action];
},
/**
* @method getMetadataIdentifier
* Gets the identifier (uuid style) for getting layers metadata
* @return {String}
*/
getMetadataIdentifier: function () {
return this._metadataIdentifier;
},
/**
* @method setMetadataIdentifier
* Sets the identifier (uuid style) for getting layers metadata
* @param {String} metadataid
*/
setMetadataIdentifier: function (metadataid) {
this._metadataIdentifier = metadataid;
},
/**
* @method getBackendStatus
* Status text for layer operatibility (f.ex. 'DOWN')
* @return {String}
*/
getBackendStatus: function () {
return this._backendStatus;
},
/**
* @method setBackendStatus
* Status text for layer operatibility (f.ex. 'DOWN')
* @param {String} backendStatus
*/
setBackendStatus: function (backendStatus) {
this._backendStatus = backendStatus;
},
/**
* @method setMetaType
* @param {String} type used to group layers by f.ex. functionality.
* Layers can be fetched based on metatype f.ex. 'myplaces'
*/
setMetaType: function (type) {
this._metaType = type;
},
/**
* @method getMetaType
* @return {String} type used to group layers by f.ex. functionality.
* Layers can be fetched based on metatype f.ex. 'myplaces'
*/
getMetaType: function () {
return this._metaType;
},
/**
* @method addStyle
* @param {Oskari.mapframework.domain.Style} style
* adds style to layer
*/
addStyle: function (style) {
this._styles.push(style);
},
/**
* @method getStyles
* @return {Oskari.mapframework.domain.Style[]}
* Gets layer styles
*/
getStyles: function () {
return this._styles;
},
/**
* @method selectStyle
* @param {String} styleName
* Selects a #Oskari.mapframework.domain.Style with given name as #getCurrentStyle.
* If style is not found, assigns an empty #Oskari.mapframework.domain.Style to #getCurrentStyle
*/
selectStyle: function (styleName) {
var style = null,
i;
// Layer have styles
if (this._styles.length > 0) {
// There is default style defined
if (styleName !== '') {
for (i = 0; i < this._styles.length; i += 1) {
style = this._styles[i];
if (style.getName() === styleName) {
this._currentStyle = style;
if (style.getLegend() !== '') {
this._legendImage = style.getLegend();
}
return;
}
}
}
// There is not default style defined
else {
//var style =
// Oskari.clazz.create('Oskari.mapframework.domain.Style');
// Layer have more than one style, set first
// founded style to default
// Because of layer style error this if clause
// must compare at there is more than one style.
if (this._styles.length > 1) {
this._currentStyle = this._styles[0];
}
// Layer have not styles, add empty style to
// default
else {
style = Oskari.clazz.create('Oskari.mapframework.domain.Style');
style.setName('');
style.setTitle('');
style.setLegend('');
this._currentStyle = style;
}
return;
}
}
// Layer have not styles
else {
style = Oskari.clazz.create('Oskari.mapframework.domain.Style');
style.setName('');
style.setTitle('');
style.setLegend('');
this._currentStyle = style;
return;
}
},
/**
* @method getCurrentStyle
* @return {Oskari.mapframework.domain.Style} current style
*/
getCurrentStyle: function () {
return this._currentStyle;
},
/**
* @method getTools
* @return {Oskari.mapframework.domain.Tool[]}
* Get layer tools
*/
getTools: function () {
return this._tools;
},
/**
* @method setTools
* @params {Oskari.mapframework.domain.Tool[]}
* Set layer tools
*/
setTools: function (tools) {
this._tools = tools;
},
/**
* @method addTool
* @params {Oskari.mapframework.domain.Tool}
* adds layer tool to tools
*/
addTool: function (tool) {
this._tools.push(tool);
},
/**
* @method getTool
* @return {Oskari.mapframework.domain.Tool}
* adds layer tool to tools
*/
getTool: function (toolName) {
var tool = null,
i;
// Layer have tools
if (this._tools.length > 0 ) {
//
if (toolName !== '') {
for (i = 0; i < this._tools.length; i += 1) {
tool = this._tools[i];
if (tool.getName() === toolName) {
return tool;
}
}
}
}
return tool;
},
/**
* @method setLegendImage
* @return {String} legendImage URL to a legend image
*/
setLegendImage: function (legendImage) {
this._legendImage = legendImage;
},
/**
* @method getLegendImage
* @return {String} URL to a legend image
*/
getLegendImage: function () {
return this._legendImage;
},
/**
* @method getLegendImage
* @return {Boolean} true if layer has a legendimage or its styles have legend images
*/
hasLegendImage: function () {
var i;
if (this._legendImage) {
return true;
} else {
for (i = 0; i < this._styles.length; i += 1) {
if (this._styles[i].getLegend()) {
return true;
}
}
}
return false;
},
/**
* @method setSticky
* True if layer switch off is disable
* @param {Boolean} isSticky
*/
setSticky: function (isSticky) {
this._isSticky = isSticky;
},
/**
* @method isSticky
* True if layer switch off is disable
*/
isSticky: function () {
return this._isSticky;
},
/**
* @method setQueryable
* True if we should call GFI on the layer
* @param {Boolean} queryable
*/
setQueryable: function (queryable) {
this._queryable = queryable;
},
/**
* @method getQueryable
* True if we should call GFI on the layer
* @param {Boolean} queryable
*/
getQueryable: function () {
return this._queryable;
},
/**
* @method setAsBaseLayer
* sets layer type to BASE_LAYER
*/
setAsBaseLayer: function () {
this._type = 'BASE_LAYER';
},
/**
* @method setAsNormalLayer
* sets layer type to NORMAL_LAYER
*/
setAsNormalLayer: function () {
this._type = 'NORMAL_LAYER';
},
/**
* @method setAsGroupLayer
* Sets layer type to GROUP_LAYER
*/
setAsGroupLayer: function () {
this._type = 'GROUP_LAYER';
},
/**
* @method isGroupLayer
* @return {Boolean} true if this is a group layer (=has sublayers)
*/
isGroupLayer: function () {
return this._type === 'GROUP_LAYER';
},
/**
* @method isBaseLayer
* @return {Boolean} true if this is a base layer (=has sublayers)
*/
isBaseLayer: function () {
return this._type === 'BASE_LAYER';
},
/**
* @method isInScale
* @param {Number} scale scale to compare to
* @return {Boolean} true if given scale is between this layers min/max scales. Always return true for base-layers.
*/
isInScale: function (scale) {
var _return = this.isBaseLayer();
if (!scale) {
var sandbox = Oskari.$().sandbox;
scale = sandbox.getMap().getScale();
}
// Check layer scales only normal layers
if (!this.isBaseLayer()) {
if ((scale > this.getMaxScale() || !this.getMaxScale()) && (scale < this.getMinScale()) || !this.getMinScale()) {
_return = true;
}
}
return _return;
},
/**
* @method getLayerType
* @return {String} layer type in lower case
*/
getLayerType: function () {
return this._layerType.toLowerCase();
},
/**
* @method isLayerOfType
* @param {String} flavour layer type to check against. A bit misleading since setType is base/group/normal, this is used to check if the layer is a WMS layer.
* @return {Boolean} true if flavour is the specified layer type
*/
isLayerOfType: function (flavour) {
return flavour && flavour.toLowerCase() === this.getLayerType();
},
/**
* @method getIconClassname
* @return {String} layer icon classname used in the CSS style.
*/
getIconClassname: function () {
if (this.isBaseLayer()) {
return 'layer-base';
} else if (this.isGroupLayer()) {
return 'layer-group';
} else {
return 'layer-' + this.getLayerType();
}
},
/**
* @method getParams
* @return {Object} optional layer parameters for OpenLayers, empty object if no parameters were passed in construction
*/
getParams: function () {
return this._params;
},
/**
* @method getOptions
* @return {Object} optional layer options for OpenLayers, empty object if no options were passed in construction
*/
getOptions: function () {
return this._options;
}
}); | uhef/Oskari-Routing-frontend | src/mapping/model/AbstractMapLayerModel.js | JavaScript | mit | 17,994 |
var _ = require('underscore'),
check = require('validator').check,
sanitize = require('validator').sanitize,
later = require('later'),
util = require('./util'),
condition = require('./condition');
var Rules = {
types: [
'trigger',
'schedule'
],
alertTypes: {
'email': {
// later
},
'sms': {
// later
}
},
/**
* Validates a rule type
*
* @param string type
*
* @return boolean
*/
validateRuleType: function(type) {
return typeof type == 'string' && _.contains(Rules.types, type);
},
/**
* Validates an rule scedule
*
* @param object schedule
*
* @return boolean
*/
validateSchedule: function(schedule) {
if (typeof schedule != 'object' || typeof schedule.schedules == 'undefined') {
if (_.isEmpty(schedule) || (schedule instanceof Array && schedule.length == 0) || typeof schedule == 'string')
return false;
schedule = {schedules: schedule};
}
// attempt to compile schedule in later.js
try {
later.schedule(schedule);
} catch (e) {
return false;
}
return true;
},
/**
* Validates an alert
*
* @param object|Array alert
*
* @return boolean
*/
validateAlert: function(alert) {
// validate alert type
if (typeof alert != 'object')
return false;
if( alert instanceof Array ) {
for (var i in alert) {
if (!Rules.validateAlert(alert[i]))
return false;
}
return true;
}
var alertTemplate = Rules.alertTypes[alert.type];
if (typeof alertTemplate == 'undefined')
return false;
// validate the endpoint (e-mail address, phone number)
if (typeof alert.endpoint == 'undefined')
return false;
if (alert.type == 'email') {
// validate e-mail address
try {
check(alert.endpoint).isEmail();
} catch (e) {
return false;
}
} else if (alert.type == 'sms') {
try {
check(sanitize(alert.endpoint).toInt()).len(3);
} catch (e) {
return false;
}
}
return true;
},
/**
* Validates a rule
*
* @param object rule
*
* @return boolean
*/
validate: function(rule) {
if (typeof rule != 'object')
return false;
if (!Rules.validateRuleType(rule.type))
return false;
if (!condition(rule.condition).isValid())
return false;
// validate schedule rules
if (rule.type == 'schedule' && !Rules.validateSchedule(rule.schedule))
return false;
if (!Rules.validateAlert(rule.alert))
return false;
return true;
},
};
module.exports = Rules; | jaredtking/heartbeat | lib/rules.js | JavaScript | mit | 2,467 |
var keystone = require('keystone'),
async = require('async');
exports = module.exports = function(req, res) {
var view = new keystone.View(req, res),
locals = res.locals;
// Init locals
locals.section = 'ideas';
locals.page.title = 'Ideas - Evilcome';
locals.filters = {
category: req.params.category
};
locals.data = {
posts: [],
categories: []
};
// Load all categories
view.on('init', function(next) {
keystone.list('PostCategory').model.find().sort('name').exec(function(err, results) {
if (err || !results.length) {
return next(err);
}
locals.data.categories = results;
// Load the counts for each category
async.each(locals.data.categories, function(category, next) {
keystone.list('Post').model.count().where('category').in([category.id]).exec(function(err, count) {
category.postCount = count;
next(err);
});
}, function(err) {
next(err);
});
});
});
// Load the current category filter
view.on('init', function(next) {
if (req.params.category) {
keystone.list('PostCategory').model.findOne({ key: locals.filters.category }).exec(function(err, result) {
locals.data.category = result;
next(err);
});
} else {
next();
}
});
// Load the posts
view.on('init', function(next) {
var q = keystone.list('Post').model.find().where('state', 'published').sort('-publishedDate').populate('author categories');
if (locals.data.category) {
q.where('categories').in([locals.data.category]);
}
q.exec(function(err, results) {
locals.data.posts = results;
next(err);
});
});
// Render the view
view.render('site/idea');
}
| Evilcome/evilcome-site | routes/views/idea.js | JavaScript | mit | 1,700 |
var should = require('should');
var sinon = require('sinon');
var Chintz = require('../lib/main');
var atomName = 'test-atom';
var moleculeName = 'test-molecule';
var invalidName = 'invalid-element-name';
var called;
describe('prepare', function() {
describe('with no arguments', function() {
it('returns itself', function() {
var chintz = new Chintz(__dirname + '/chintz');
var result = chintz.prepare();
result.should.eql(chintz);
});
});
describe('passed an element name', function() {
it('returns itself', function() {
var chintz = new Chintz(__dirname + '/chintz');
var result = chintz.prepare(atomName);
result.should.eql(chintz);
});
});
});
describe('render', function() {
var chintz;
var result;
describe('unprepared element', function() {
var expected = "";
beforeEach(function(done) {
var callback = function(s) {
called = true;
s.should.eql(expected);
done();
};
called = false;
new Chintz(__dirname + '/chintz')
.prepare(invalidName)
.render(invalidName, null, callback);
});
it('calls back with an empty string', function() {
called.should.be.true;
});
});
describe('prepared element', function() {
describe('with no data', function() {
var expected = "Test atom template \n";
beforeEach(function(done) {
var callback = function(s) {
called = true;
s.should.eql(expected);
done();
};
called = false;
new Chintz(__dirname + '/chintz')
.prepare(atomName)
.render(atomName, null, callback);
});
it('calls back with the template', function() {
called.should.be.true;
});
});
describe('with bad data', function() {
var expected = "Test atom template \n";
beforeEach(function(done) {
var callback = function(s) {
called = true;
s.should.eql(expected);
done();
};
called = false;
new Chintz(__dirname + '/chintz')
.prepare(atomName)
.render(atomName, { non_existent_key: 'blah' }, callback);
});
it('calls back with the template', function() {
called.should.be.true;
});
});
describe('with good data', function() {
var string = "-- string value to template in --";
var expected = "Test atom template " + string + "\n";
beforeEach(function(done) {
var callback = function(s) {
called = true;
s.should.eql(expected);
done();
};
called = false;
new Chintz(__dirname + '/chintz')
.prepare(atomName)
.render(atomName, { string: string }, callback);
});
it('calls back with the template, expected', function() {
called.should.be.true;
});
});
});
describe('prepared nested elements', function() {
describe('with no data', function() {
var expected = "Test molecule template, with nested Test atom template \n\n";
beforeEach(function(done) {
var callback = function(s) {
called = true;
s.should.eql(expected);
done();
};
called = false;
new Chintz(__dirname + '/chintz')
.prepare(moleculeName)
.render(moleculeName, null, callback);
});
it('calls back with the template', function() {
called.should.be.true;
});
});
describe('with bad data', function() {
var expected = "Test molecule template, with nested Test atom template \n\n";
beforeEach(function(done) {
var callback = function(s) {
called = true;
s.should.eql(expected);
done();
};
called = false;
new Chintz(__dirname + '/chintz')
.prepare(moleculeName)
.render(moleculeName, { non_existent_key: 'blah' }, callback);
});
it('calls back with the template', function() {
called.should.be.true;
});
});
describe('with good data', function() {
var string = "-- atom string --";
var molString = "-- molecule string --";
var expected = "Test molecule template, with nested Test atom template " + string + "\n" + molString + "\n";
beforeEach(function(done) {
var callback = function(s) {
called = true;
s.should.eql(expected);
done();
};
called = false;
new Chintz(__dirname + '/chintz')
.prepare(moleculeName)
.render(moleculeName, { string: string, molString: molString }, callback);
});
it('calls back with the template, expected', function() {
called.should.be.true;
});
});
});
});
describe('getDependencies', function() {
describe('get non existent deps', function() {
beforeEach(function(done) {
var expected = [];
var callback = function(d) {
called = true;
d.should.eql(expected);
done();
};
called = false;
new Chintz(__dirname + '/chintz')
.prepare(atomName)
.getDependencies('nonexistent', callback);
});
it('calls back with an empty array', function() {
called.should.be.true;
});
});
describe('get existing dependencies', function() {
beforeEach(function(done) {
var expected = [ "test dependency" ];
var callback = function(d) {
called = true;
d.should.eql(expected);
done();
};
called = false;
new Chintz(__dirname + '/chintz')
.prepare(atomName)
.getDependencies('test_deps', callback);
});
it('calls back with the expected dependencies', function() {
called.should.be.true;
});
});
describe('get handled dependencies', function() {
beforeEach(function(done) {
var expected = [ "a handled dependency" ];
var callback = function(d) {
called = true;
d.should.eql(expected);
done();
};
called = false;
new Chintz(__dirname + '/chintz')
.registerHandlers(
{
'handled_test_deps': {
format: function(deps) {
return expected
}
}
}
)
.prepare(atomName)
.getDependencies('handled_test_deps', callback);
});
it('calls back with the expected dependencies', function() {
called.should.be.true;
});
});
});
| BBC-News/chintz-node | test/main.js | JavaScript | mit | 7,899 |
const createSortDownIcon = (button) => {
button.firstChild.remove();
const svg = document.createElementNS('http://www.w3.org/2000/svg', 'svg');
svg.setAttribute('height', '12');
svg.setAttribute('viewBox', '0 0 503 700');
const path = document.createElementNS('http://www.w3.org/2000/svg', 'path');
path.setAttribute('d', `M43.302,409.357h418.36c37.617,0,56.426,45.527,29.883,72.07l-209.18,209.18c-16.523,16.523-43.243,16.523-59.59,0
L13.419,481.428C-13.124,454.885,5.685,409.357,43.302,409.357z`);
svg.appendChild(path);
button.appendChild(svg);
};
export default createSortDownIcon;
| knightjdr/gene-info | extension/src/content/templates/assets/sort-down.js | JavaScript | mit | 607 |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
$(function () {
$('[data-toggle="popover"]').popover();
$('.main-hide-div').hide();
$('#UserTab a').click(function (e) {
e.preventDefault();
$(this).tab('show');
});
$(document).on('click','[class*="main-JS-delete"]', function(){
if(!confirm('Etes-vous sûr de vouloir supprimer cet élément ?')) return false;
});
});
| quentinl-c/Player_manager | web/js/main.js | JavaScript | mit | 572 |
module.exports = (api) => {
api.cache(true);
return {
presets: [
[
"@babel/preset-env",
{
useBuiltIns: "usage",
corejs: 3,
},
],
],
};
};
| coverwallet/tracking-wallet | babel.config.js | JavaScript | mit | 209 |
import * as React from "react";
import Slide from "../../components/slide";
const bgImage = require("../../images/hulk-feriggno-bixby.jpg");
class ImageSlide extends React.Component {
render() {
return (
<span/>
);
}
}
export default (
<Slide key="intro-cli-productivity-illustration" bgImage={bgImage}>
<ImageSlide/>
</Slide>
); | johnloy/pres-hulk-bash | src/slides/1-intro/22-cli-productivity-illustration.js | JavaScript | mit | 358 |
const fetch = require("isomorphic-fetch");
function getUrl(query, variables) {
const urlRoot = `http://localhost:3000/graphql?query=${query}`;
if (variables == null) {
return urlRoot;
} else {
return urlRoot + `&variables=${JSON.stringify(variables)}`;
}
}
function run(query, variables) {
const url = getUrl(query, variables)
return fetch(encodeURI(url))
.then(response => response.json())
.then(json => (console.log(JSON.stringify(json, null, 2)), json))
.catch(e => console.error(e));
}
// Single operation query
run(`{
hero {
name
}
}`)
// Query Operations cna have names, but that's only
// required when a query has several operations.
// This one has a name, but only one op.
// The response looks the same as an un-named operation.
run(`
query HeroNameQuery {
hero {
name
}
}`);
// Requests more fields, including some deeply-nested members
// of the `friends` property.
// The syntax is like a relaxed version of JSON without values
run(`{
hero {
id
name
friends {
id, name
}
}
}`);
// GraphQL is designed for deeply-nested queries, hence "Graph".
run(`{
hero {
name
friends {
name
appearsIn
friends {
name
}
}
}
}`);
// Pass hard-coded parameters...
run(`{
human(id: "1000") {
name
}
}`)
// ... or typed runtime query parameters.
// parameter names start with $
// the sigil isn't included in the passed variable name
run(`
query HumanById($id: String!) {
human(id: $id) {
name
}
}`, { id: "1001" })
// fields can be aliased
// The field names in the response will be called `luke` and leia`, not `human`.
// Aliases are required to fetch the same field several times - using
/// "human" twice is invalid.
run(`{
luke: human(id: "1003") {
name
},
leia: human(id: "1000") {
name
}
}`);
// Common parts of queries can be extracted into fragmments
// with a syntax like Object rest params
run(`
fragment HumanFragment on Human {
name, homePlanet
}
{
luke: human(id: "1000") {
...HumanFragment
},
leia: human(id: "1003") {
...HumanFragment
}
}
`)
// The speciala field __typename identifies the result object's type.
// This is especially useful for interface fields.
run(`
fragment HeroFragment on Character {
name
__typename
}
{
hope: hero(episode: NEWHOPE) {
...HeroFragment
},
empire: hero(episode: EMPIRE) {
...HeroFragment
},
jedi: hero(episode: JEDI) {
...HeroFragment
},
hero {
...HeroFragment
}
}
`)
| jwhitfieldseed/sandbox | graphql/cli-client.js | JavaScript | mit | 2,601 |
import React from 'react';
import IconBase from './../components/IconBase/IconBase';
export default class IosAnalytics extends React.Component {
render() {
if(this.props.bare) {
return <g>
<path d="M256,32C141.174,32,46.544,118.404,33.54,229.739C32.534,238.354,32,247.114,32,256c0,1.783,0.026,3.561,0.067,5.333
C34.901,382.581,134.071,480,256,480c105.255,0,193.537-72.602,217.542-170.454c1.337-5.451,2.474-10.979,3.404-16.579
C478.943,280.939,480,268.594,480,256C480,132.288,379.712,32,256,32z M462.585,280.352c-7.265-7.807-13.064-16.09-15.702-20.429
c-0.871-1.47-21.682-35.994-52.828-35.994c-27.937,0-42.269,26.269-51.751,43.65c-1.415,2.593-2.75,5.041-3.978,7.118
c-11.566,19.587-27.693,30.608-43.105,29.541c-13.586-0.959-25.174-11.403-32.628-29.41c-9.331-22.54-29.551-46.812-53.689-50.229
c-11.428-1.619-28.553,0.866-45.325,21.876c-3.293,4.124-6.964,9.612-11.215,15.967c-10.572,15.804-26.549,39.686-38.653,41.663
c-21.02,3.438-35.021-12.596-35.583-13.249l-0.487-0.58l-0.587-0.479c-0.208-0.17-15.041-12.417-29.047-33.334
c0-0.155-0.006-0.31-0.006-0.464c0-28.087,5.497-55.325,16.339-80.958c10.476-24.767,25.476-47.013,44.583-66.12
s41.354-34.107,66.12-44.583C200.675,53.497,227.913,48,256,48s55.325,5.497,80.958,16.339
c24.767,10.476,47.013,25.476,66.12,44.583s34.107,41.354,44.583,66.12C458.503,200.675,464,227.913,464,256
C464,264.197,463.518,272.318,462.585,280.352z"></path>
</g>;
} return <IconBase>
<path d="M256,32C141.174,32,46.544,118.404,33.54,229.739C32.534,238.354,32,247.114,32,256c0,1.783,0.026,3.561,0.067,5.333
C34.901,382.581,134.071,480,256,480c105.255,0,193.537-72.602,217.542-170.454c1.337-5.451,2.474-10.979,3.404-16.579
C478.943,280.939,480,268.594,480,256C480,132.288,379.712,32,256,32z M462.585,280.352c-7.265-7.807-13.064-16.09-15.702-20.429
c-0.871-1.47-21.682-35.994-52.828-35.994c-27.937,0-42.269,26.269-51.751,43.65c-1.415,2.593-2.75,5.041-3.978,7.118
c-11.566,19.587-27.693,30.608-43.105,29.541c-13.586-0.959-25.174-11.403-32.628-29.41c-9.331-22.54-29.551-46.812-53.689-50.229
c-11.428-1.619-28.553,0.866-45.325,21.876c-3.293,4.124-6.964,9.612-11.215,15.967c-10.572,15.804-26.549,39.686-38.653,41.663
c-21.02,3.438-35.021-12.596-35.583-13.249l-0.487-0.58l-0.587-0.479c-0.208-0.17-15.041-12.417-29.047-33.334
c0-0.155-0.006-0.31-0.006-0.464c0-28.087,5.497-55.325,16.339-80.958c10.476-24.767,25.476-47.013,44.583-66.12
s41.354-34.107,66.12-44.583C200.675,53.497,227.913,48,256,48s55.325,5.497,80.958,16.339
c24.767,10.476,47.013,25.476,66.12,44.583s34.107,41.354,44.583,66.12C458.503,200.675,464,227.913,464,256
C464,264.197,463.518,272.318,462.585,280.352z"></path>
</IconBase>;
}
};IosAnalytics.defaultProps = {bare: false} | fbfeix/react-icons | src/icons/IosAnalytics.js | JavaScript | mit | 2,687 |
self.postMessage(0);
self.addEventListener('message', function (msg) {
if (msg.data === 'Hello') {
self.postMessage(1);
}
else if (msg.data instanceof self.ArrayBuffer) {
var view = new Int32Array(msg.data);
if (view[0] === 2) {
self.postMessage(3);
}
}
});
| mattunderscorechampion/javascript-test-pages | js/test-workers.js | JavaScript | mit | 320 |
YUI.add('yui2-button', function(Y) {
var YAHOO = Y.YUI2;
/*
Copyright (c) 2010, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.com/yui/license.html
version: 2.8.2r1
*/
/**
* @module button
* @description <p>The Button Control enables the creation of rich, graphical
* buttons that function like traditional HTML form buttons. <em>Unlike</em>
* traditional HTML form buttons, buttons created with the Button Control can have
* a label that is different from its value. With the inclusion of the optional
* <a href="module_menu.html">Menu Control</a>, the Button Control can also be
* used to create menu buttons and split buttons, controls that are not
* available natively in HTML. The Button Control can also be thought of as a
* way to create more visually engaging implementations of the browser's
* default radio-button and check-box controls.</p>
* <p>The Button Control supports the following types:</p>
* <dl>
* <dt>push</dt>
* <dd>Basic push button that can execute a user-specified command when
* pressed.</dd>
* <dt>link</dt>
* <dd>Navigates to a specified url when pressed.</dd>
* <dt>submit</dt>
* <dd>Submits the parent form when pressed.</dd>
* <dt>reset</dt>
* <dd>Resets the parent form when pressed.</dd>
* <dt>checkbox</dt>
* <dd>Maintains a "checked" state that can be toggled on and off.</dd>
* <dt>radio</dt>
* <dd>Maintains a "checked" state that can be toggled on and off. Use with
* the ButtonGroup class to create a set of controls that are mutually
* exclusive; checking one button in the set will uncheck all others in
* the group.</dd>
* <dt>menu</dt>
* <dd>When pressed will show/hide a menu.</dd>
* <dt>split</dt>
* <dd>Can execute a user-specified command or display a menu when pressed.</dd>
* </dl>
* @title Button
* @namespace YAHOO.widget
* @requires yahoo, dom, element, event
* @optional container, menu
*/
(function () {
/**
* The Button class creates a rich, graphical button.
* @param {String} p_oElement String specifying the id attribute of the
* <code><input></code>, <code><button></code>,
* <code><a></code>, or <code><span></code> element to
* be used to create the button.
* @param {<a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-
* one-html.html#ID-6043025">HTMLInputElement</a>|<a href="http://www.w3.org
* /TR/2000/WD-DOM-Level-1-20000929/level-one-html.html#ID-34812697">
* HTMLButtonElement</a>|<a href="
* http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-one-html.html#
* ID-33759296">HTMLElement</a>} p_oElement Object reference for the
* <code><input></code>, <code><button></code>,
* <code><a></code>, or <code><span></code> element to be
* used to create the button.
* @param {Object} p_oElement Object literal specifying a set of
* configuration attributes used to create the button.
* @param {Object} p_oAttributes Optional. Object literal specifying a set
* of configuration attributes used to create the button.
* @namespace YAHOO.widget
* @class Button
* @constructor
* @extends YAHOO.util.Element
*/
// Shorthard for utilities
var Dom = YAHOO.util.Dom,
Event = YAHOO.util.Event,
Lang = YAHOO.lang,
UA = YAHOO.env.ua,
Overlay = YAHOO.widget.Overlay,
Menu = YAHOO.widget.Menu,
// Private member variables
m_oButtons = {}, // Collection of all Button instances
m_oOverlayManager = null, // YAHOO.widget.OverlayManager instance
m_oSubmitTrigger = null, // The button that submitted the form
m_oFocusedButton = null; // The button that has focus
// Private methods
/**
* @method createInputElement
* @description Creates an <code><input></code> element of the
* specified type.
* @private
* @param {String} p_sType String specifying the type of
* <code><input></code> element to create.
* @param {String} p_sName String specifying the name of
* <code><input></code> element to create.
* @param {String} p_sValue String specifying the value of
* <code><input></code> element to create.
* @param {String} p_bChecked Boolean specifying if the
* <code><input></code> element is to be checked.
* @return {<a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-
* one-html.html#ID-6043025">HTMLInputElement</a>}
*/
function createInputElement(p_sType, p_sName, p_sValue, p_bChecked) {
var oInput,
sInput;
if (Lang.isString(p_sType) && Lang.isString(p_sName)) {
if (UA.ie) {
/*
For IE it is necessary to create the element with the
"type," "name," "value," and "checked" properties set all
at once.
*/
sInput = "<input type=\"" + p_sType + "\" name=\"" +
p_sName + "\"";
if (p_bChecked) {
sInput += " checked";
}
sInput += ">";
oInput = document.createElement(sInput);
}
else {
oInput = document.createElement("input");
oInput.name = p_sName;
oInput.type = p_sType;
if (p_bChecked) {
oInput.checked = true;
}
}
oInput.value = p_sValue;
}
return oInput;
}
/**
* @method setAttributesFromSrcElement
* @description Gets the values for all the attributes of the source element
* (either <code><input></code> or <code><a></code>) that
* map to Button configuration attributes and sets them into a collection
* that is passed to the Button constructor.
* @private
* @param {<a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-
* one-html.html#ID-6043025">HTMLInputElement</a>|<a href="http://www.w3.org/
* TR/2000/WD-DOM-Level-1-20000929/level-one-html.html#ID-
* 48250443">HTMLAnchorElement</a>} p_oElement Object reference to the HTML
* element (either <code><input></code> or <code><span>
* </code>) used to create the button.
* @param {Object} p_oAttributes Object reference for the collection of
* configuration attributes used to create the button.
*/
function setAttributesFromSrcElement(p_oElement, p_oAttributes) {
var sSrcElementNodeName = p_oElement.nodeName.toUpperCase(),
sClass = (this.CLASS_NAME_PREFIX + this.CSS_CLASS_NAME),
me = this,
oAttribute,
oRootNode,
sText;
/**
* @method setAttributeFromDOMAttribute
* @description Gets the value of the specified DOM attribute and sets it
* into the collection of configuration attributes used to configure
* the button.
* @private
* @param {String} p_sAttribute String representing the name of the
* attribute to retrieve from the DOM element.
*/
function setAttributeFromDOMAttribute(p_sAttribute) {
if (!(p_sAttribute in p_oAttributes)) {
/*
Need to use "getAttributeNode" instead of "getAttribute"
because using "getAttribute," IE will return the innerText
of a <code><button></code> for the value attribute
rather than the value of the "value" attribute.
*/
oAttribute = p_oElement.getAttributeNode(p_sAttribute);
if (oAttribute && ("value" in oAttribute)) {
YAHOO.log("Setting attribute \"" + p_sAttribute +
"\" using source element's attribute value of \"" +
oAttribute.value + "\"", "info", me.toString());
p_oAttributes[p_sAttribute] = oAttribute.value;
}
}
}
/**
* @method setFormElementProperties
* @description Gets the value of the attributes from the form element
* and sets them into the collection of configuration attributes used to
* configure the button.
* @private
*/
function setFormElementProperties() {
setAttributeFromDOMAttribute("type");
if (p_oAttributes.type == "button") {
p_oAttributes.type = "push";
}
if (!("disabled" in p_oAttributes)) {
p_oAttributes.disabled = p_oElement.disabled;
}
setAttributeFromDOMAttribute("name");
setAttributeFromDOMAttribute("value");
setAttributeFromDOMAttribute("title");
}
switch (sSrcElementNodeName) {
case "A":
p_oAttributes.type = "link";
setAttributeFromDOMAttribute("href");
setAttributeFromDOMAttribute("target");
break;
case "INPUT":
setFormElementProperties();
if (!("checked" in p_oAttributes)) {
p_oAttributes.checked = p_oElement.checked;
}
break;
case "BUTTON":
setFormElementProperties();
oRootNode = p_oElement.parentNode.parentNode;
if (Dom.hasClass(oRootNode, sClass + "-checked")) {
p_oAttributes.checked = true;
}
if (Dom.hasClass(oRootNode, sClass + "-disabled")) {
p_oAttributes.disabled = true;
}
p_oElement.removeAttribute("value");
p_oElement.setAttribute("type", "button");
break;
}
p_oElement.removeAttribute("id");
p_oElement.removeAttribute("name");
if (!("tabindex" in p_oAttributes)) {
p_oAttributes.tabindex = p_oElement.tabIndex;
}
if (!("label" in p_oAttributes)) {
// Set the "label" property
sText = sSrcElementNodeName == "INPUT" ?
p_oElement.value : p_oElement.innerHTML;
if (sText && sText.length > 0) {
p_oAttributes.label = sText;
}
}
}
/**
* @method initConfig
* @description Initializes the set of configuration attributes that are
* used to instantiate the button.
* @private
* @param {Object} Object representing the button's set of
* configuration attributes.
*/
function initConfig(p_oConfig) {
var oAttributes = p_oConfig.attributes,
oSrcElement = oAttributes.srcelement,
sSrcElementNodeName = oSrcElement.nodeName.toUpperCase(),
me = this;
if (sSrcElementNodeName == this.NODE_NAME) {
p_oConfig.element = oSrcElement;
p_oConfig.id = oSrcElement.id;
Dom.getElementsBy(function (p_oElement) {
switch (p_oElement.nodeName.toUpperCase()) {
case "BUTTON":
case "A":
case "INPUT":
setAttributesFromSrcElement.call(me, p_oElement,
oAttributes);
break;
}
}, "*", oSrcElement);
}
else {
switch (sSrcElementNodeName) {
case "BUTTON":
case "A":
case "INPUT":
setAttributesFromSrcElement.call(this, oSrcElement,
oAttributes);
break;
}
}
}
// Constructor
YAHOO.widget.Button = function (p_oElement, p_oAttributes) {
if (!Overlay && YAHOO.widget.Overlay) {
Overlay = YAHOO.widget.Overlay;
}
if (!Menu && YAHOO.widget.Menu) {
Menu = YAHOO.widget.Menu;
}
var fnSuperClass = YAHOO.widget.Button.superclass.constructor,
oConfig,
oElement;
if (arguments.length == 1 && !Lang.isString(p_oElement) && !p_oElement.nodeName) {
if (!p_oElement.id) {
p_oElement.id = Dom.generateId();
YAHOO.log("No value specified for the button's \"id\" " +
"attribute. Setting button id to \"" + p_oElement.id +
"\".", "info", this.toString());
}
YAHOO.log("No source HTML element. Building the button " +
"using the set of configuration attributes.", "info", this.toString());
fnSuperClass.call(this, (this.createButtonElement(p_oElement.type)), p_oElement);
}
else {
oConfig = { element: null, attributes: (p_oAttributes || {}) };
if (Lang.isString(p_oElement)) {
oElement = Dom.get(p_oElement);
if (oElement) {
if (!oConfig.attributes.id) {
oConfig.attributes.id = p_oElement;
}
YAHOO.log("Building the button using an existing " +
"HTML element as a source element.", "info", this.toString());
oConfig.attributes.srcelement = oElement;
initConfig.call(this, oConfig);
if (!oConfig.element) {
YAHOO.log("Source element could not be used " +
"as is. Creating a new HTML element for " +
"the button.", "info", this.toString());
oConfig.element = this.createButtonElement(oConfig.attributes.type);
}
fnSuperClass.call(this, oConfig.element, oConfig.attributes);
}
}
else if (p_oElement.nodeName) {
if (!oConfig.attributes.id) {
if (p_oElement.id) {
oConfig.attributes.id = p_oElement.id;
}
else {
oConfig.attributes.id = Dom.generateId();
YAHOO.log("No value specified for the button's " +
"\"id\" attribute. Setting button id to \"" +
oConfig.attributes.id + "\".", "info", this.toString());
}
}
YAHOO.log("Building the button using an existing HTML " +
"element as a source element.", "info", this.toString());
oConfig.attributes.srcelement = p_oElement;
initConfig.call(this, oConfig);
if (!oConfig.element) {
YAHOO.log("Source element could not be used as is." +
" Creating a new HTML element for the button.",
"info", this.toString());
oConfig.element = this.createButtonElement(oConfig.attributes.type);
}
fnSuperClass.call(this, oConfig.element, oConfig.attributes);
}
}
};
YAHOO.extend(YAHOO.widget.Button, YAHOO.util.Element, {
// Protected properties
/**
* @property _button
* @description Object reference to the button's internal
* <code><a></code> or <code><button></code> element.
* @default null
* @protected
* @type <a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
* level-one-html.html#ID-48250443">HTMLAnchorElement</a>|<a href="
* http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-one-html.html
* #ID-34812697">HTMLButtonElement</a>
*/
_button: null,
/**
* @property _menu
* @description Object reference to the button's menu.
* @default null
* @protected
* @type {<a href="YAHOO.widget.Overlay.html">YAHOO.widget.Overlay</a>|
* <a href="YAHOO.widget.Menu.html">YAHOO.widget.Menu</a>}
*/
_menu: null,
/**
* @property _hiddenFields
* @description Object reference to the <code><input></code>
* element, or array of HTML form elements used to represent the button
* when its parent form is submitted.
* @default null
* @protected
* @type <a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
* level-one-html.html#ID-6043025">HTMLInputElement</a>|Array
*/
_hiddenFields: null,
/**
* @property _onclickAttributeValue
* @description Object reference to the button's current value for the
* "onclick" configuration attribute.
* @default null
* @protected
* @type Object
*/
_onclickAttributeValue: null,
/**
* @property _activationKeyPressed
* @description Boolean indicating if the key(s) that toggle the button's
* "active" state have been pressed.
* @default false
* @protected
* @type Boolean
*/
_activationKeyPressed: false,
/**
* @property _activationButtonPressed
* @description Boolean indicating if the mouse button that toggles
* the button's "active" state has been pressed.
* @default false
* @protected
* @type Boolean
*/
_activationButtonPressed: false,
/**
* @property _hasKeyEventHandlers
* @description Boolean indicating if the button's "blur", "keydown" and
* "keyup" event handlers are assigned
* @default false
* @protected
* @type Boolean
*/
_hasKeyEventHandlers: false,
/**
* @property _hasMouseEventHandlers
* @description Boolean indicating if the button's "mouseout,"
* "mousedown," and "mouseup" event handlers are assigned
* @default false
* @protected
* @type Boolean
*/
_hasMouseEventHandlers: false,
/**
* @property _nOptionRegionX
* @description Number representing the X coordinate of the leftmost edge of the Button's
* option region. Applies only to Buttons of type "split".
* @default 0
* @protected
* @type Number
*/
_nOptionRegionX: 0,
// Constants
/**
* @property CLASS_NAME_PREFIX
* @description Prefix used for all class names applied to a Button.
* @default "yui-"
* @final
* @type String
*/
CLASS_NAME_PREFIX: "yui-",
/**
* @property NODE_NAME
* @description The name of the node to be used for the button's
* root element.
* @default "SPAN"
* @final
* @type String
*/
NODE_NAME: "SPAN",
/**
* @property CHECK_ACTIVATION_KEYS
* @description Array of numbers representing keys that (when pressed)
* toggle the button's "checked" attribute.
* @default [32]
* @final
* @type Array
*/
CHECK_ACTIVATION_KEYS: [32],
/**
* @property ACTIVATION_KEYS
* @description Array of numbers representing keys that (when presed)
* toggle the button's "active" state.
* @default [13, 32]
* @final
* @type Array
*/
ACTIVATION_KEYS: [13, 32],
/**
* @property OPTION_AREA_WIDTH
* @description Width (in pixels) of the area of a split button that
* when pressed will display a menu.
* @default 20
* @final
* @type Number
*/
OPTION_AREA_WIDTH: 20,
/**
* @property CSS_CLASS_NAME
* @description String representing the CSS class(es) to be applied to
* the button's root element.
* @default "button"
* @final
* @type String
*/
CSS_CLASS_NAME: "button",
// Protected attribute setter methods
/**
* @method _setType
* @description Sets the value of the button's "type" attribute.
* @protected
* @param {String} p_sType String indicating the value for the button's
* "type" attribute.
*/
_setType: function (p_sType) {
if (p_sType == "split") {
this.on("option", this._onOption);
}
},
/**
* @method _setLabel
* @description Sets the value of the button's "label" attribute.
* @protected
* @param {String} p_sLabel String indicating the value for the button's
* "label" attribute.
*/
_setLabel: function (p_sLabel) {
this._button.innerHTML = p_sLabel;
/*
Remove and add the default class name from the root element
for Gecko to ensure that the button shrinkwraps to the label.
Without this the button will not be rendered at the correct
width when the label changes. The most likely cause for this
bug is button's use of the Gecko-specific CSS display type of
"-moz-inline-box" to simulate "inline-block" supported by IE,
Safari and Opera.
*/
var sClass,
nGeckoVersion = UA.gecko;
if (nGeckoVersion && nGeckoVersion < 1.9 && Dom.inDocument(this.get("element"))) {
sClass = (this.CLASS_NAME_PREFIX + this.CSS_CLASS_NAME);
this.removeClass(sClass);
Lang.later(0, this, this.addClass, sClass);
}
},
/**
* @method _setTabIndex
* @description Sets the value of the button's "tabindex" attribute.
* @protected
* @param {Number} p_nTabIndex Number indicating the value for the
* button's "tabindex" attribute.
*/
_setTabIndex: function (p_nTabIndex) {
this._button.tabIndex = p_nTabIndex;
},
/**
* @method _setTitle
* @description Sets the value of the button's "title" attribute.
* @protected
* @param {String} p_nTabIndex Number indicating the value for
* the button's "title" attribute.
*/
_setTitle: function (p_sTitle) {
if (this.get("type") != "link") {
this._button.title = p_sTitle;
}
},
/**
* @method _setDisabled
* @description Sets the value of the button's "disabled" attribute.
* @protected
* @param {Boolean} p_bDisabled Boolean indicating the value for
* the button's "disabled" attribute.
*/
_setDisabled: function (p_bDisabled) {
if (this.get("type") != "link") {
if (p_bDisabled) {
if (this._menu) {
this._menu.hide();
}
if (this.hasFocus()) {
this.blur();
}
this._button.setAttribute("disabled", "disabled");
this.addStateCSSClasses("disabled");
this.removeStateCSSClasses("hover");
this.removeStateCSSClasses("active");
this.removeStateCSSClasses("focus");
}
else {
this._button.removeAttribute("disabled");
this.removeStateCSSClasses("disabled");
}
}
},
/**
* @method _setHref
* @description Sets the value of the button's "href" attribute.
* @protected
* @param {String} p_sHref String indicating the value for the button's
* "href" attribute.
*/
_setHref: function (p_sHref) {
if (this.get("type") == "link") {
this._button.href = p_sHref;
}
},
/**
* @method _setTarget
* @description Sets the value of the button's "target" attribute.
* @protected
* @param {String} p_sTarget String indicating the value for the button's
* "target" attribute.
*/
_setTarget: function (p_sTarget) {
if (this.get("type") == "link") {
this._button.setAttribute("target", p_sTarget);
}
},
/**
* @method _setChecked
* @description Sets the value of the button's "target" attribute.
* @protected
* @param {Boolean} p_bChecked Boolean indicating the value for
* the button's "checked" attribute.
*/
_setChecked: function (p_bChecked) {
var sType = this.get("type");
if (sType == "checkbox" || sType == "radio") {
if (p_bChecked) {
this.addStateCSSClasses("checked");
}
else {
this.removeStateCSSClasses("checked");
}
}
},
/**
* @method _setMenu
* @description Sets the value of the button's "menu" attribute.
* @protected
* @param {Object} p_oMenu Object indicating the value for the button's
* "menu" attribute.
*/
_setMenu: function (p_oMenu) {
var bLazyLoad = this.get("lazyloadmenu"),
oButtonElement = this.get("element"),
sMenuCSSClassName,
/*
Boolean indicating if the value of p_oMenu is an instance
of YAHOO.widget.Menu or YAHOO.widget.Overlay.
*/
bInstance = false,
oMenu,
oMenuElement,
oSrcElement;
function onAppendTo() {
oMenu.render(oButtonElement.parentNode);
this.removeListener("appendTo", onAppendTo);
}
function setMenuContainer() {
oMenu.cfg.queueProperty("container", oButtonElement.parentNode);
this.removeListener("appendTo", setMenuContainer);
}
function initMenu() {
var oContainer;
if (oMenu) {
Dom.addClass(oMenu.element, this.get("menuclassname"));
Dom.addClass(oMenu.element, this.CLASS_NAME_PREFIX + this.get("type") + "-button-menu");
oMenu.showEvent.subscribe(this._onMenuShow, null, this);
oMenu.hideEvent.subscribe(this._onMenuHide, null, this);
oMenu.renderEvent.subscribe(this._onMenuRender, null, this);
if (Menu && oMenu instanceof Menu) {
if (bLazyLoad) {
oContainer = this.get("container");
if (oContainer) {
oMenu.cfg.queueProperty("container", oContainer);
}
else {
this.on("appendTo", setMenuContainer);
}
}
oMenu.cfg.queueProperty("clicktohide", false);
oMenu.keyDownEvent.subscribe(this._onMenuKeyDown, this, true);
oMenu.subscribe("click", this._onMenuClick, this, true);
this.on("selectedMenuItemChange", this._onSelectedMenuItemChange);
oSrcElement = oMenu.srcElement;
if (oSrcElement && oSrcElement.nodeName.toUpperCase() == "SELECT") {
oSrcElement.style.display = "none";
oSrcElement.parentNode.removeChild(oSrcElement);
}
}
else if (Overlay && oMenu instanceof Overlay) {
if (!m_oOverlayManager) {
m_oOverlayManager = new YAHOO.widget.OverlayManager();
}
m_oOverlayManager.register(oMenu);
}
this._menu = oMenu;
if (!bInstance && !bLazyLoad) {
if (Dom.inDocument(oButtonElement)) {
oMenu.render(oButtonElement.parentNode);
}
else {
this.on("appendTo", onAppendTo);
}
}
}
}
if (Overlay) {
if (Menu) {
sMenuCSSClassName = Menu.prototype.CSS_CLASS_NAME;
}
if (p_oMenu && Menu && (p_oMenu instanceof Menu)) {
oMenu = p_oMenu;
bInstance = true;
initMenu.call(this);
}
else if (Overlay && p_oMenu && (p_oMenu instanceof Overlay)) {
oMenu = p_oMenu;
bInstance = true;
oMenu.cfg.queueProperty("visible", false);
initMenu.call(this);
}
else if (Menu && Lang.isArray(p_oMenu)) {
oMenu = new Menu(Dom.generateId(), { lazyload: bLazyLoad, itemdata: p_oMenu });
this._menu = oMenu;
this.on("appendTo", initMenu);
}
else if (Lang.isString(p_oMenu)) {
oMenuElement = Dom.get(p_oMenu);
if (oMenuElement) {
if (Menu && Dom.hasClass(oMenuElement, sMenuCSSClassName) ||
oMenuElement.nodeName.toUpperCase() == "SELECT") {
oMenu = new Menu(p_oMenu, { lazyload: bLazyLoad });
initMenu.call(this);
}
else if (Overlay) {
oMenu = new Overlay(p_oMenu, { visible: false });
initMenu.call(this);
}
}
}
else if (p_oMenu && p_oMenu.nodeName) {
if (Menu && Dom.hasClass(p_oMenu, sMenuCSSClassName) ||
p_oMenu.nodeName.toUpperCase() == "SELECT") {
oMenu = new Menu(p_oMenu, { lazyload: bLazyLoad });
initMenu.call(this);
}
else if (Overlay) {
if (!p_oMenu.id) {
Dom.generateId(p_oMenu);
}
oMenu = new Overlay(p_oMenu, { visible: false });
initMenu.call(this);
}
}
}
},
/**
* @method _setOnClick
* @description Sets the value of the button's "onclick" attribute.
* @protected
* @param {Object} p_oObject Object indicating the value for the button's
* "onclick" attribute.
*/
_setOnClick: function (p_oObject) {
/*
Remove any existing listeners if a "click" event handler
has already been specified.
*/
if (this._onclickAttributeValue &&
(this._onclickAttributeValue != p_oObject)) {
this.removeListener("click", this._onclickAttributeValue.fn);
this._onclickAttributeValue = null;
}
if (!this._onclickAttributeValue &&
Lang.isObject(p_oObject) &&
Lang.isFunction(p_oObject.fn)) {
this.on("click", p_oObject.fn, p_oObject.obj, p_oObject.scope);
this._onclickAttributeValue = p_oObject;
}
},
// Protected methods
/**
* @method _isActivationKey
* @description Determines if the specified keycode is one that toggles
* the button's "active" state.
* @protected
* @param {Number} p_nKeyCode Number representing the keycode to
* be evaluated.
* @return {Boolean}
*/
_isActivationKey: function (p_nKeyCode) {
var sType = this.get("type"),
aKeyCodes = (sType == "checkbox" || sType == "radio") ?
this.CHECK_ACTIVATION_KEYS : this.ACTIVATION_KEYS,
nKeyCodes = aKeyCodes.length,
bReturnVal = false,
i;
if (nKeyCodes > 0) {
i = nKeyCodes - 1;
do {
if (p_nKeyCode == aKeyCodes[i]) {
bReturnVal = true;
break;
}
}
while (i--);
}
return bReturnVal;
},
/**
* @method _isSplitButtonOptionKey
* @description Determines if the specified keycode is one that toggles
* the display of the split button's menu.
* @protected
* @param {Event} p_oEvent Object representing the DOM event object
* passed back by the event utility (YAHOO.util.Event).
* @return {Boolean}
*/
_isSplitButtonOptionKey: function (p_oEvent) {
var bShowMenu = (Event.getCharCode(p_oEvent) == 40);
var onKeyPress = function (p_oEvent) {
Event.preventDefault(p_oEvent);
this.removeListener("keypress", onKeyPress);
};
// Prevent the browser from scrolling the window
if (bShowMenu) {
if (UA.opera) {
this.on("keypress", onKeyPress);
}
Event.preventDefault(p_oEvent);
}
return bShowMenu;
},
/**
* @method _addListenersToForm
* @description Adds event handlers to the button's form.
* @protected
*/
_addListenersToForm: function () {
var oForm = this.getForm(),
onFormKeyPress = YAHOO.widget.Button.onFormKeyPress,
bHasKeyPressListener,
oSrcElement,
aListeners,
nListeners,
i;
if (oForm) {
Event.on(oForm, "reset", this._onFormReset, null, this);
Event.on(oForm, "submit", this._onFormSubmit, null, this);
oSrcElement = this.get("srcelement");
if (this.get("type") == "submit" ||
(oSrcElement && oSrcElement.type == "submit"))
{
aListeners = Event.getListeners(oForm, "keypress");
bHasKeyPressListener = false;
if (aListeners) {
nListeners = aListeners.length;
if (nListeners > 0) {
i = nListeners - 1;
do {
if (aListeners[i].fn == onFormKeyPress) {
bHasKeyPressListener = true;
break;
}
}
while (i--);
}
}
if (!bHasKeyPressListener) {
Event.on(oForm, "keypress", onFormKeyPress);
}
}
}
},
/**
* @method _showMenu
* @description Shows the button's menu.
* @protected
* @param {Event} p_oEvent Object representing the DOM event object
* passed back by the event utility (YAHOO.util.Event) that triggered
* the display of the menu.
*/
_showMenu: function (p_oEvent) {
if (YAHOO.widget.MenuManager) {
YAHOO.widget.MenuManager.hideVisible();
}
if (m_oOverlayManager) {
m_oOverlayManager.hideAll();
}
var oMenu = this._menu,
aMenuAlignment = this.get("menualignment"),
bFocusMenu = this.get("focusmenu"),
fnFocusMethod;
if (this._renderedMenu) {
oMenu.cfg.setProperty("context",
[this.get("element"), aMenuAlignment[0], aMenuAlignment[1]]);
oMenu.cfg.setProperty("preventcontextoverlap", true);
oMenu.cfg.setProperty("constraintoviewport", true);
}
else {
oMenu.cfg.queueProperty("context",
[this.get("element"), aMenuAlignment[0], aMenuAlignment[1]]);
oMenu.cfg.queueProperty("preventcontextoverlap", true);
oMenu.cfg.queueProperty("constraintoviewport", true);
}
/*
Refocus the Button before showing its Menu in case the call to
YAHOO.widget.MenuManager.hideVisible() resulted in another element in the
DOM being focused after another Menu was hidden.
*/
this.focus();
if (Menu && oMenu && (oMenu instanceof Menu)) {
// Since Menus automatically focus themselves when made visible, temporarily
// replace the Menu focus method so that the value of the Button's "focusmenu"
// attribute determines if the Menu should be focus when made visible.
fnFocusMethod = oMenu.focus;
oMenu.focus = function () {};
if (this._renderedMenu) {
oMenu.cfg.setProperty("minscrollheight", this.get("menuminscrollheight"));
oMenu.cfg.setProperty("maxheight", this.get("menumaxheight"));
}
else {
oMenu.cfg.queueProperty("minscrollheight", this.get("menuminscrollheight"));
oMenu.cfg.queueProperty("maxheight", this.get("menumaxheight"));
}
oMenu.show();
oMenu.focus = fnFocusMethod;
oMenu.align();
/*
Stop the propagation of the event so that the MenuManager
doesn't blur the menu after it gets focus.
*/
if (p_oEvent.type == "mousedown") {
Event.stopPropagation(p_oEvent);
}
if (bFocusMenu) {
oMenu.focus();
}
}
else if (Overlay && oMenu && (oMenu instanceof Overlay)) {
if (!this._renderedMenu) {
oMenu.render(this.get("element").parentNode);
}
oMenu.show();
oMenu.align();
}
},
/**
* @method _hideMenu
* @description Hides the button's menu.
* @protected
*/
_hideMenu: function () {
var oMenu = this._menu;
if (oMenu) {
oMenu.hide();
}
},
// Protected event handlers
/**
* @method _onMouseOver
* @description "mouseover" event handler for the button.
* @protected
* @param {Event} p_oEvent Object representing the DOM event object
* passed back by the event utility (YAHOO.util.Event).
*/
_onMouseOver: function (p_oEvent) {
var sType = this.get("type"),
oElement,
nOptionRegionX;
if (sType === "split") {
oElement = this.get("element");
nOptionRegionX =
(Dom.getX(oElement) + (oElement.offsetWidth - this.OPTION_AREA_WIDTH));
this._nOptionRegionX = nOptionRegionX;
}
if (!this._hasMouseEventHandlers) {
if (sType === "split") {
this.on("mousemove", this._onMouseMove);
}
this.on("mouseout", this._onMouseOut);
this._hasMouseEventHandlers = true;
}
this.addStateCSSClasses("hover");
if (sType === "split" && (Event.getPageX(p_oEvent) > nOptionRegionX)) {
this.addStateCSSClasses("hoveroption");
}
if (this._activationButtonPressed) {
this.addStateCSSClasses("active");
}
if (this._bOptionPressed) {
this.addStateCSSClasses("activeoption");
}
if (this._activationButtonPressed || this._bOptionPressed) {
Event.removeListener(document, "mouseup", this._onDocumentMouseUp);
}
},
/**
* @method _onMouseMove
* @description "mousemove" event handler for the button.
* @protected
* @param {Event} p_oEvent Object representing the DOM event object
* passed back by the event utility (YAHOO.util.Event).
*/
_onMouseMove: function (p_oEvent) {
var nOptionRegionX = this._nOptionRegionX;
if (nOptionRegionX) {
if (Event.getPageX(p_oEvent) > nOptionRegionX) {
this.addStateCSSClasses("hoveroption");
}
else {
this.removeStateCSSClasses("hoveroption");
}
}
},
/**
* @method _onMouseOut
* @description "mouseout" event handler for the button.
* @protected
* @param {Event} p_oEvent Object representing the DOM event object
* passed back by the event utility (YAHOO.util.Event).
*/
_onMouseOut: function (p_oEvent) {
var sType = this.get("type");
this.removeStateCSSClasses("hover");
if (sType != "menu") {
this.removeStateCSSClasses("active");
}
if (this._activationButtonPressed || this._bOptionPressed) {
Event.on(document, "mouseup", this._onDocumentMouseUp, null, this);
}
if (sType === "split" && (Event.getPageX(p_oEvent) > this._nOptionRegionX)) {
this.removeStateCSSClasses("hoveroption");
}
},
/**
* @method _onDocumentMouseUp
* @description "mouseup" event handler for the button.
* @protected
* @param {Event} p_oEvent Object representing the DOM event object
* passed back by the event utility (YAHOO.util.Event).
*/
_onDocumentMouseUp: function (p_oEvent) {
this._activationButtonPressed = false;
this._bOptionPressed = false;
var sType = this.get("type"),
oTarget,
oMenuElement;
if (sType == "menu" || sType == "split") {
oTarget = Event.getTarget(p_oEvent);
oMenuElement = this._menu.element;
if (oTarget != oMenuElement &&
!Dom.isAncestor(oMenuElement, oTarget)) {
this.removeStateCSSClasses((sType == "menu" ?
"active" : "activeoption"));
this._hideMenu();
}
}
Event.removeListener(document, "mouseup", this._onDocumentMouseUp);
},
/**
* @method _onMouseDown
* @description "mousedown" event handler for the button.
* @protected
* @param {Event} p_oEvent Object representing the DOM event object
* passed back by the event utility (YAHOO.util.Event).
*/
_onMouseDown: function (p_oEvent) {
var sType,
bReturnVal = true;
function onMouseUp() {
this._hideMenu();
this.removeListener("mouseup", onMouseUp);
}
if ((p_oEvent.which || p_oEvent.button) == 1) {
if (!this.hasFocus()) {
this.focus();
}
sType = this.get("type");
if (sType == "split") {
if (Event.getPageX(p_oEvent) > this._nOptionRegionX) {
this.fireEvent("option", p_oEvent);
bReturnVal = false;
}
else {
this.addStateCSSClasses("active");
this._activationButtonPressed = true;
}
}
else if (sType == "menu") {
if (this.isActive()) {
this._hideMenu();
this._activationButtonPressed = false;
}
else {
this._showMenu(p_oEvent);
this._activationButtonPressed = true;
}
}
else {
this.addStateCSSClasses("active");
this._activationButtonPressed = true;
}
if (sType == "split" || sType == "menu") {
this._hideMenuTimer = Lang.later(250, this, this.on, ["mouseup", onMouseUp]);
}
}
return bReturnVal;
},
/**
* @method _onMouseUp
* @description "mouseup" event handler for the button.
* @protected
* @param {Event} p_oEvent Object representing the DOM event object
* passed back by the event utility (YAHOO.util.Event).
*/
_onMouseUp: function (p_oEvent) {
var sType = this.get("type"),
oHideMenuTimer = this._hideMenuTimer,
bReturnVal = true;
if (oHideMenuTimer) {
oHideMenuTimer.cancel();
}
if (sType == "checkbox" || sType == "radio") {
this.set("checked", !(this.get("checked")));
}
this._activationButtonPressed = false;
if (sType != "menu") {
this.removeStateCSSClasses("active");
}
if (sType == "split" && Event.getPageX(p_oEvent) > this._nOptionRegionX) {
bReturnVal = false;
}
return bReturnVal;
},
/**
* @method _onFocus
* @description "focus" event handler for the button.
* @protected
* @param {Event} p_oEvent Object representing the DOM event object
* passed back by the event utility (YAHOO.util.Event).
*/
_onFocus: function (p_oEvent) {
var oElement;
this.addStateCSSClasses("focus");
if (this._activationKeyPressed) {
this.addStateCSSClasses("active");
}
m_oFocusedButton = this;
if (!this._hasKeyEventHandlers) {
oElement = this._button;
Event.on(oElement, "blur", this._onBlur, null, this);
Event.on(oElement, "keydown", this._onKeyDown, null, this);
Event.on(oElement, "keyup", this._onKeyUp, null, this);
this._hasKeyEventHandlers = true;
}
this.fireEvent("focus", p_oEvent);
},
/**
* @method _onBlur
* @description "blur" event handler for the button.
* @protected
* @param {Event} p_oEvent Object representing the DOM event object
* passed back by the event utility (YAHOO.util.Event).
*/
_onBlur: function (p_oEvent) {
this.removeStateCSSClasses("focus");
if (this.get("type") != "menu") {
this.removeStateCSSClasses("active");
}
if (this._activationKeyPressed) {
Event.on(document, "keyup", this._onDocumentKeyUp, null, this);
}
m_oFocusedButton = null;
this.fireEvent("blur", p_oEvent);
},
/**
* @method _onDocumentKeyUp
* @description "keyup" event handler for the document.
* @protected
* @param {Event} p_oEvent Object representing the DOM event object
* passed back by the event utility (YAHOO.util.Event).
*/
_onDocumentKeyUp: function (p_oEvent) {
if (this._isActivationKey(Event.getCharCode(p_oEvent))) {
this._activationKeyPressed = false;
Event.removeListener(document, "keyup", this._onDocumentKeyUp);
}
},
/**
* @method _onKeyDown
* @description "keydown" event handler for the button.
* @protected
* @param {Event} p_oEvent Object representing the DOM event object
* passed back by the event utility (YAHOO.util.Event).
*/
_onKeyDown: function (p_oEvent) {
var oMenu = this._menu;
if (this.get("type") == "split" &&
this._isSplitButtonOptionKey(p_oEvent)) {
this.fireEvent("option", p_oEvent);
}
else if (this._isActivationKey(Event.getCharCode(p_oEvent))) {
if (this.get("type") == "menu") {
this._showMenu(p_oEvent);
}
else {
this._activationKeyPressed = true;
this.addStateCSSClasses("active");
}
}
if (oMenu && oMenu.cfg.getProperty("visible") &&
Event.getCharCode(p_oEvent) == 27) {
oMenu.hide();
this.focus();
}
},
/**
* @method _onKeyUp
* @description "keyup" event handler for the button.
* @protected
* @param {Event} p_oEvent Object representing the DOM event object
* passed back by the event utility (YAHOO.util.Event).
*/
_onKeyUp: function (p_oEvent) {
var sType;
if (this._isActivationKey(Event.getCharCode(p_oEvent))) {
sType = this.get("type");
if (sType == "checkbox" || sType == "radio") {
this.set("checked", !(this.get("checked")));
}
this._activationKeyPressed = false;
if (this.get("type") != "menu") {
this.removeStateCSSClasses("active");
}
}
},
/**
* @method _onClick
* @description "click" event handler for the button.
* @protected
* @param {Event} p_oEvent Object representing the DOM event object
* passed back by the event utility (YAHOO.util.Event).
*/
_onClick: function (p_oEvent) {
var sType = this.get("type"),
oForm,
oSrcElement,
bReturnVal;
switch (sType) {
case "submit":
if (p_oEvent.returnValue !== false) {
this.submitForm();
}
break;
case "reset":
oForm = this.getForm();
if (oForm) {
oForm.reset();
}
break;
case "split":
if (this._nOptionRegionX > 0 &&
(Event.getPageX(p_oEvent) > this._nOptionRegionX)) {
bReturnVal = false;
}
else {
this._hideMenu();
oSrcElement = this.get("srcelement");
if (oSrcElement && oSrcElement.type == "submit" &&
p_oEvent.returnValue !== false) {
this.submitForm();
}
}
break;
}
return bReturnVal;
},
/**
* @method _onDblClick
* @description "dblclick" event handler for the button.
* @protected
* @param {Event} p_oEvent Object representing the DOM event object
* passed back by the event utility (YAHOO.util.Event).
*/
_onDblClick: function (p_oEvent) {
var bReturnVal = true;
if (this.get("type") == "split" && Event.getPageX(p_oEvent) > this._nOptionRegionX) {
bReturnVal = false;
}
return bReturnVal;
},
/**
* @method _onAppendTo
* @description "appendTo" event handler for the button.
* @protected
* @param {Event} p_oEvent Object representing the DOM event object
* passed back by the event utility (YAHOO.util.Event).
*/
_onAppendTo: function (p_oEvent) {
/*
It is necessary to call "_addListenersToForm" using
"setTimeout" to make sure that the button's "form" property
returns a node reference. Sometimes, if you try to get the
reference immediately after appending the field, it is null.
*/
Lang.later(0, this, this._addListenersToForm);
},
/**
* @method _onFormReset
* @description "reset" event handler for the button's form.
* @protected
* @param {Event} p_oEvent Object representing the DOM event
* object passed back by the event utility (YAHOO.util.Event).
*/
_onFormReset: function (p_oEvent) {
var sType = this.get("type"),
oMenu = this._menu;
if (sType == "checkbox" || sType == "radio") {
this.resetValue("checked");
}
if (Menu && oMenu && (oMenu instanceof Menu)) {
this.resetValue("selectedMenuItem");
}
},
/**
* @method _onFormSubmit
* @description "submit" event handler for the button's form.
* @protected
* @param {Event} p_oEvent Object representing the DOM event
* object passed back by the event utility (YAHOO.util.Event).
*/
_onFormSubmit: function (p_oEvent) {
this.createHiddenFields();
},
/**
* @method _onDocumentMouseDown
* @description "mousedown" event handler for the document.
* @protected
* @param {Event} p_oEvent Object representing the DOM event object
* passed back by the event utility (YAHOO.util.Event).
*/
_onDocumentMouseDown: function (p_oEvent) {
var oTarget = Event.getTarget(p_oEvent),
oButtonElement = this.get("element"),
oMenuElement = this._menu.element;
if (oTarget != oButtonElement &&
!Dom.isAncestor(oButtonElement, oTarget) &&
oTarget != oMenuElement &&
!Dom.isAncestor(oMenuElement, oTarget)) {
this._hideMenu();
// In IE when the user mouses down on a focusable element
// that element will be focused and become the "activeElement".
// (http://msdn.microsoft.com/en-us/library/ms533065(VS.85).aspx)
// However, there is a bug in IE where if there is a
// positioned element with a focused descendant that is
// hidden in response to the mousedown event, the target of
// the mousedown event will appear to have focus, but will
// not be set as the activeElement. This will result
// in the element not firing key events, even though it
// appears to have focus. The following call to "setActive"
// fixes this bug.
if (UA.ie && oTarget.focus) {
oTarget.setActive();
}
Event.removeListener(document, "mousedown",
this._onDocumentMouseDown);
}
},
/**
* @method _onOption
* @description "option" event handler for the button.
* @protected
* @param {Event} p_oEvent Object representing the DOM event object
* passed back by the event utility (YAHOO.util.Event).
*/
_onOption: function (p_oEvent) {
if (this.hasClass(this.CLASS_NAME_PREFIX + "split-button-activeoption")) {
this._hideMenu();
this._bOptionPressed = false;
}
else {
this._showMenu(p_oEvent);
this._bOptionPressed = true;
}
},
/**
* @method _onMenuShow
* @description "show" event handler for the button's menu.
* @private
* @param {String} p_sType String representing the name of the event
* that was fired.
*/
_onMenuShow: function (p_sType) {
Event.on(document, "mousedown", this._onDocumentMouseDown,
null, this);
var sState = (this.get("type") == "split") ? "activeoption" : "active";
this.addStateCSSClasses(sState);
},
/**
* @method _onMenuHide
* @description "hide" event handler for the button's menu.
* @private
* @param {String} p_sType String representing the name of the event
* that was fired.
*/
_onMenuHide: function (p_sType) {
var sState = (this.get("type") == "split") ? "activeoption" : "active";
this.removeStateCSSClasses(sState);
if (this.get("type") == "split") {
this._bOptionPressed = false;
}
},
/**
* @method _onMenuKeyDown
* @description "keydown" event handler for the button's menu.
* @private
* @param {String} p_sType String representing the name of the event
* that was fired.
* @param {Array} p_aArgs Array of arguments sent when the event
* was fired.
*/
_onMenuKeyDown: function (p_sType, p_aArgs) {
var oEvent = p_aArgs[0];
if (Event.getCharCode(oEvent) == 27) {
this.focus();
if (this.get("type") == "split") {
this._bOptionPressed = false;
}
}
},
/**
* @method _onMenuRender
* @description "render" event handler for the button's menu.
* @private
* @param {String} p_sType String representing the name of the
* event thatwas fired.
*/
_onMenuRender: function (p_sType) {
var oButtonElement = this.get("element"),
oButtonParent = oButtonElement.parentNode,
oMenu = this._menu,
oMenuElement = oMenu.element,
oSrcElement = oMenu.srcElement,
oItem;
if (oButtonParent != oMenuElement.parentNode) {
oButtonParent.appendChild(oMenuElement);
}
this._renderedMenu = true;
// If the user has designated an <option> of the Menu's source
// <select> element to be selected, sync the selectedIndex with
// the "selectedMenuItem" Attribute.
if (oSrcElement &&
oSrcElement.nodeName.toLowerCase() === "select" &&
oSrcElement.value) {
oItem = oMenu.getItem(oSrcElement.selectedIndex);
// Set the value of the "selectedMenuItem" attribute
// silently since this is the initial set--synchronizing
// the value of the source <SELECT> element in the DOM with
// its corresponding Menu instance.
this.set("selectedMenuItem", oItem, true);
// Call the "_onSelectedMenuItemChange" method since the
// attribute was set silently.
this._onSelectedMenuItemChange({ newValue: oItem });
}
},
/**
* @method _onMenuClick
* @description "click" event handler for the button's menu.
* @private
* @param {String} p_sType String representing the name of the event
* that was fired.
* @param {Array} p_aArgs Array of arguments sent when the event
* was fired.
*/
_onMenuClick: function (p_sType, p_aArgs) {
var oItem = p_aArgs[1],
oSrcElement;
if (oItem) {
this.set("selectedMenuItem", oItem);
oSrcElement = this.get("srcelement");
if (oSrcElement && oSrcElement.type == "submit") {
this.submitForm();
}
this._hideMenu();
}
},
/**
* @method _onSelectedMenuItemChange
* @description "selectedMenuItemChange" event handler for the Button's
* "selectedMenuItem" attribute.
* @param {Event} event Object representing the DOM event object
* passed back by the event utility (YAHOO.util.Event).
*/
_onSelectedMenuItemChange: function (event) {
var oSelected = event.prevValue,
oItem = event.newValue,
sPrefix = this.CLASS_NAME_PREFIX;
if (oSelected) {
Dom.removeClass(oSelected.element, (sPrefix + "button-selectedmenuitem"));
}
if (oItem) {
Dom.addClass(oItem.element, (sPrefix + "button-selectedmenuitem"));
}
},
/**
* @method _onLabelClick
* @description "click" event handler for the Button's
* <code><label></code> element.
* @param {Event} event Object representing the DOM event object
* passed back by the event utility (YAHOO.util.Event).
*/
_onLabelClick: function (event) {
this.focus();
var sType = this.get("type");
if (sType == "radio" || sType == "checkbox") {
this.set("checked", (!this.get("checked")));
}
},
// Public methods
/**
* @method createButtonElement
* @description Creates the button's HTML elements.
* @param {String} p_sType String indicating the type of element
* to create.
* @return {<a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
* level-one-html.html#ID-58190037">HTMLElement</a>}
*/
createButtonElement: function (p_sType) {
var sNodeName = this.NODE_NAME,
oElement = document.createElement(sNodeName);
oElement.innerHTML = "<" + sNodeName + " class=\"first-child\">" +
(p_sType == "link" ? "<a></a>" :
"<button type=\"button\"></button>") + "</" + sNodeName + ">";
return oElement;
},
/**
* @method addStateCSSClasses
* @description Appends state-specific CSS classes to the button's root
* DOM element.
*/
addStateCSSClasses: function (p_sState) {
var sType = this.get("type"),
sPrefix = this.CLASS_NAME_PREFIX;
if (Lang.isString(p_sState)) {
if (p_sState != "activeoption" && p_sState != "hoveroption") {
this.addClass(sPrefix + this.CSS_CLASS_NAME + ("-" + p_sState));
}
this.addClass(sPrefix + sType + ("-button-" + p_sState));
}
},
/**
* @method removeStateCSSClasses
* @description Removes state-specific CSS classes to the button's root
* DOM element.
*/
removeStateCSSClasses: function (p_sState) {
var sType = this.get("type"),
sPrefix = this.CLASS_NAME_PREFIX;
if (Lang.isString(p_sState)) {
this.removeClass(sPrefix + this.CSS_CLASS_NAME + ("-" + p_sState));
this.removeClass(sPrefix + sType + ("-button-" + p_sState));
}
},
/**
* @method createHiddenFields
* @description Creates the button's hidden form field and appends it
* to its parent form.
* @return {<a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
* level-one-html.html#ID-6043025">HTMLInputElement</a>|Array}
*/
createHiddenFields: function () {
this.removeHiddenFields();
var oForm = this.getForm(),
oButtonField,
sType,
bCheckable,
oMenu,
oMenuItem,
sButtonName,
oValue,
oMenuField,
oReturnVal,
sMenuFieldName,
oMenuSrcElement,
bMenuSrcElementIsSelect = false;
if (oForm && !this.get("disabled")) {
sType = this.get("type");
bCheckable = (sType == "checkbox" || sType == "radio");
if ((bCheckable && this.get("checked")) || (m_oSubmitTrigger == this)) {
YAHOO.log("Creating hidden field.", "info", this.toString());
oButtonField = createInputElement((bCheckable ? sType : "hidden"),
this.get("name"), this.get("value"), this.get("checked"));
if (oButtonField) {
if (bCheckable) {
oButtonField.style.display = "none";
}
oForm.appendChild(oButtonField);
}
}
oMenu = this._menu;
if (Menu && oMenu && (oMenu instanceof Menu)) {
YAHOO.log("Creating hidden field for menu.", "info", this.toString());
oMenuItem = this.get("selectedMenuItem");
oMenuSrcElement = oMenu.srcElement;
bMenuSrcElementIsSelect = (oMenuSrcElement &&
oMenuSrcElement.nodeName.toUpperCase() == "SELECT");
if (oMenuItem) {
oValue = (oMenuItem.value === null || oMenuItem.value === "") ?
oMenuItem.cfg.getProperty("text") : oMenuItem.value;
sButtonName = this.get("name");
if (bMenuSrcElementIsSelect) {
sMenuFieldName = oMenuSrcElement.name;
}
else if (sButtonName) {
sMenuFieldName = (sButtonName + "_options");
}
if (oValue && sMenuFieldName) {
oMenuField = createInputElement("hidden", sMenuFieldName, oValue);
oForm.appendChild(oMenuField);
}
}
else if (bMenuSrcElementIsSelect) {
oMenuField = oForm.appendChild(oMenuSrcElement);
}
}
if (oButtonField && oMenuField) {
this._hiddenFields = [oButtonField, oMenuField];
}
else if (!oButtonField && oMenuField) {
this._hiddenFields = oMenuField;
}
else if (oButtonField && !oMenuField) {
this._hiddenFields = oButtonField;
}
oReturnVal = this._hiddenFields;
}
return oReturnVal;
},
/**
* @method removeHiddenFields
* @description Removes the button's hidden form field(s) from its
* parent form.
*/
removeHiddenFields: function () {
var oField = this._hiddenFields,
nFields,
i;
function removeChild(p_oElement) {
if (Dom.inDocument(p_oElement)) {
p_oElement.parentNode.removeChild(p_oElement);
}
}
if (oField) {
if (Lang.isArray(oField)) {
nFields = oField.length;
if (nFields > 0) {
i = nFields - 1;
do {
removeChild(oField[i]);
}
while (i--);
}
}
else {
removeChild(oField);
}
this._hiddenFields = null;
}
},
/**
* @method submitForm
* @description Submits the form to which the button belongs. Returns
* true if the form was submitted successfully, false if the submission
* was cancelled.
* @protected
* @return {Boolean}
*/
submitForm: function () {
var oForm = this.getForm(),
oSrcElement = this.get("srcelement"),
/*
Boolean indicating if the event fired successfully
(was not cancelled by any handlers)
*/
bSubmitForm = false,
oEvent;
if (oForm) {
if (this.get("type") == "submit" || (oSrcElement && oSrcElement.type == "submit")) {
m_oSubmitTrigger = this;
}
if (UA.ie) {
bSubmitForm = oForm.fireEvent("onsubmit");
}
else { // Gecko, Opera, and Safari
oEvent = document.createEvent("HTMLEvents");
oEvent.initEvent("submit", true, true);
bSubmitForm = oForm.dispatchEvent(oEvent);
}
/*
In IE and Safari, dispatching a "submit" event to a form
WILL cause the form's "submit" event to fire, but WILL NOT
submit the form. Therefore, we need to call the "submit"
method as well.
*/
if ((UA.ie || UA.webkit) && bSubmitForm) {
oForm.submit();
}
}
return bSubmitForm;
},
/**
* @method init
* @description The Button class's initialization method.
* @param {String} p_oElement String specifying the id attribute of the
* <code><input></code>, <code><button></code>,
* <code><a></code>, or <code><span></code> element to
* be used to create the button.
* @param {<a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
* level-one-html.html#ID-6043025">HTMLInputElement</a>|<a href="http://
* www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-one-html.html
* #ID-34812697">HTMLButtonElement</a>|<a href="http://www.w3.org/TR
* /2000/WD-DOM-Level-1-20000929/level-one-html.html#ID-33759296">
* HTMLElement</a>} p_oElement Object reference for the
* <code><input></code>, <code><button></code>,
* <code><a></code>, or <code><span></code> element to be
* used to create the button.
* @param {Object} p_oElement Object literal specifying a set of
* configuration attributes used to create the button.
* @param {Object} p_oAttributes Optional. Object literal specifying a
* set of configuration attributes used to create the button.
*/
init: function (p_oElement, p_oAttributes) {
var sNodeName = p_oAttributes.type == "link" ? "a" : "button",
oSrcElement = p_oAttributes.srcelement,
oButton = p_oElement.getElementsByTagName(sNodeName)[0],
oInput;
if (!oButton) {
oInput = p_oElement.getElementsByTagName("input")[0];
if (oInput) {
oButton = document.createElement("button");
oButton.setAttribute("type", "button");
oInput.parentNode.replaceChild(oButton, oInput);
}
}
this._button = oButton;
YAHOO.widget.Button.superclass.init.call(this, p_oElement, p_oAttributes);
var sId = this.get("id"),
sButtonId = sId + "-button";
oButton.id = sButtonId;
var aLabels,
oLabel;
var hasLabel = function (element) {
return (element.htmlFor === sId);
};
var setLabel = function () {
oLabel.setAttribute((UA.ie ? "htmlFor" : "for"), sButtonId);
};
if (oSrcElement && this.get("type") != "link") {
aLabels = Dom.getElementsBy(hasLabel, "label");
if (Lang.isArray(aLabels) && aLabels.length > 0) {
oLabel = aLabels[0];
}
}
m_oButtons[sId] = this;
var sPrefix = this.CLASS_NAME_PREFIX;
this.addClass(sPrefix + this.CSS_CLASS_NAME);
this.addClass(sPrefix + this.get("type") + "-button");
Event.on(this._button, "focus", this._onFocus, null, this);
this.on("mouseover", this._onMouseOver);
this.on("mousedown", this._onMouseDown);
this.on("mouseup", this._onMouseUp);
this.on("click", this._onClick);
// Need to reset the value of the "onclick" Attribute so that any
// handlers registered via the "onclick" Attribute are fired after
// Button's default "_onClick" listener.
var fnOnClick = this.get("onclick");
this.set("onclick", null);
this.set("onclick", fnOnClick);
this.on("dblclick", this._onDblClick);
var oParentNode;
if (oLabel) {
if (this.get("replaceLabel")) {
this.set("label", oLabel.innerHTML);
oParentNode = oLabel.parentNode;
oParentNode.removeChild(oLabel);
}
else {
this.on("appendTo", setLabel);
Event.on(oLabel, "click", this._onLabelClick, null, this);
this._label = oLabel;
}
}
this.on("appendTo", this._onAppendTo);
var oContainer = this.get("container"),
oElement = this.get("element"),
bElInDoc = Dom.inDocument(oElement);
if (oContainer) {
if (oSrcElement && oSrcElement != oElement) {
oParentNode = oSrcElement.parentNode;
if (oParentNode) {
oParentNode.removeChild(oSrcElement);
}
}
if (Lang.isString(oContainer)) {
Event.onContentReady(oContainer, this.appendTo, oContainer, this);
}
else {
this.on("init", function () {
Lang.later(0, this, this.appendTo, oContainer);
});
}
}
else if (!bElInDoc && oSrcElement && oSrcElement != oElement) {
oParentNode = oSrcElement.parentNode;
if (oParentNode) {
this.fireEvent("beforeAppendTo", {
type: "beforeAppendTo",
target: oParentNode
});
oParentNode.replaceChild(oElement, oSrcElement);
this.fireEvent("appendTo", {
type: "appendTo",
target: oParentNode
});
}
}
else if (this.get("type") != "link" && bElInDoc && oSrcElement &&
oSrcElement == oElement) {
this._addListenersToForm();
}
YAHOO.log("Initialization completed.", "info", this.toString());
this.fireEvent("init", {
type: "init",
target: this
});
},
/**
* @method initAttributes
* @description Initializes all of the configuration attributes used to
* create the button.
* @param {Object} p_oAttributes Object literal specifying a set of
* configuration attributes used to create the button.
*/
initAttributes: function (p_oAttributes) {
var oAttributes = p_oAttributes || {};
YAHOO.widget.Button.superclass.initAttributes.call(this,
oAttributes);
/**
* @attribute type
* @description String specifying the button's type. Possible
* values are: "push," "link," "submit," "reset," "checkbox,"
* "radio," "menu," and "split."
* @default "push"
* @type String
* @writeonce
*/
this.setAttributeConfig("type", {
value: (oAttributes.type || "push"),
validator: Lang.isString,
writeOnce: true,
method: this._setType
});
/**
* @attribute label
* @description String specifying the button's text label
* or innerHTML.
* @default null
* @type String
*/
this.setAttributeConfig("label", {
value: oAttributes.label,
validator: Lang.isString,
method: this._setLabel
});
/**
* @attribute value
* @description Object specifying the value for the button.
* @default null
* @type Object
*/
this.setAttributeConfig("value", {
value: oAttributes.value
});
/**
* @attribute name
* @description String specifying the name for the button.
* @default null
* @type String
*/
this.setAttributeConfig("name", {
value: oAttributes.name,
validator: Lang.isString
});
/**
* @attribute tabindex
* @description Number specifying the tabindex for the button.
* @default null
* @type Number
*/
this.setAttributeConfig("tabindex", {
value: oAttributes.tabindex,
validator: Lang.isNumber,
method: this._setTabIndex
});
/**
* @attribute title
* @description String specifying the title for the button.
* @default null
* @type String
*/
this.configureAttribute("title", {
value: oAttributes.title,
validator: Lang.isString,
method: this._setTitle
});
/**
* @attribute disabled
* @description Boolean indicating if the button should be disabled.
* (Disabled buttons are dimmed and will not respond to user input
* or fire events. Does not apply to button's of type "link.")
* @default false
* @type Boolean
*/
this.setAttributeConfig("disabled", {
value: (oAttributes.disabled || false),
validator: Lang.isBoolean,
method: this._setDisabled
});
/**
* @attribute href
* @description String specifying the href for the button. Applies
* only to buttons of type "link."
* @type String
*/
this.setAttributeConfig("href", {
value: oAttributes.href,
validator: Lang.isString,
method: this._setHref
});
/**
* @attribute target
* @description String specifying the target for the button.
* Applies only to buttons of type "link."
* @type String
*/
this.setAttributeConfig("target", {
value: oAttributes.target,
validator: Lang.isString,
method: this._setTarget
});
/**
* @attribute checked
* @description Boolean indicating if the button is checked.
* Applies only to buttons of type "radio" and "checkbox."
* @default false
* @type Boolean
*/
this.setAttributeConfig("checked", {
value: (oAttributes.checked || false),
validator: Lang.isBoolean,
method: this._setChecked
});
/**
* @attribute container
* @description HTML element reference or string specifying the id
* attribute of the HTML element that the button's markup should be
* rendered into.
* @type <a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
* level-one-html.html#ID-58190037">HTMLElement</a>|String
* @default null
* @writeonce
*/
this.setAttributeConfig("container", {
value: oAttributes.container,
writeOnce: true
});
/**
* @attribute srcelement
* @description Object reference to the HTML element (either
* <code><input></code> or <code><span></code>)
* used to create the button.
* @type <a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
* level-one-html.html#ID-58190037">HTMLElement</a>|String
* @default null
* @writeonce
*/
this.setAttributeConfig("srcelement", {
value: oAttributes.srcelement,
writeOnce: true
});
/**
* @attribute menu
* @description Object specifying the menu for the button.
* The value can be one of the following:
* <ul>
* <li>Object specifying a rendered <a href="YAHOO.widget.Menu.html">
* YAHOO.widget.Menu</a> instance.</li>
* <li>Object specifying a rendered <a href="YAHOO.widget.Overlay.html">
* YAHOO.widget.Overlay</a> instance.</li>
* <li>String specifying the id attribute of the <code><div>
* </code> element used to create the menu. By default the menu
* will be created as an instance of
* <a href="YAHOO.widget.Overlay.html">YAHOO.widget.Overlay</a>.
* If the <a href="YAHOO.widget.Menu.html#CSS_CLASS_NAME">
* default CSS class name for YAHOO.widget.Menu</a> is applied to
* the <code><div></code> element, it will be created as an
* instance of <a href="YAHOO.widget.Menu.html">YAHOO.widget.Menu
* </a>.</li><li>String specifying the id attribute of the
* <code><select></code> element used to create the menu.
* </li><li>Object specifying the <code><div></code> element
* used to create the menu.</li>
* <li>Object specifying the <code><select></code> element
* used to create the menu.</li>
* <li>Array of object literals, each representing a set of
* <a href="YAHOO.widget.MenuItem.html">YAHOO.widget.MenuItem</a>
* configuration attributes.</li>
* <li>Array of strings representing the text labels for each menu
* item in the menu.</li>
* </ul>
* @type <a href="YAHOO.widget.Menu.html">YAHOO.widget.Menu</a>|<a
* href="YAHOO.widget.Overlay.html">YAHOO.widget.Overlay</a>|<a
* href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-
* one-html.html#ID-58190037">HTMLElement</a>|String|Array
* @default null
* @writeonce
*/
this.setAttributeConfig("menu", {
value: null,
method: this._setMenu,
writeOnce: true
});
/**
* @attribute lazyloadmenu
* @description Boolean indicating the value to set for the
* <a href="YAHOO.widget.Menu.html#lazyLoad">"lazyload"</a>
* configuration property of the button's menu. Setting
* "lazyloadmenu" to <code>true </code> will defer rendering of
* the button's menu until the first time it is made visible.
* If "lazyloadmenu" is set to <code>false</code>, the button's
* menu will be rendered immediately if the button is in the
* document, or in response to the button's "appendTo" event if
* the button is not yet in the document. In either case, the
* menu is rendered into the button's parent HTML element.
* <em>This attribute does not apply if a
* <a href="YAHOO.widget.Menu.html">YAHOO.widget.Menu</a> or
* <a href="YAHOO.widget.Overlay.html">YAHOO.widget.Overlay</a>
* instance is passed as the value of the button's "menu"
* configuration attribute. <a href="YAHOO.widget.Menu.html">
* YAHOO.widget.Menu</a> or <a href="YAHOO.widget.Overlay.html">
* YAHOO.widget.Overlay</a> instances should be rendered before
* being set as the value for the "menu" configuration
* attribute.</em>
* @default true
* @type Boolean
* @writeonce
*/
this.setAttributeConfig("lazyloadmenu", {
value: (oAttributes.lazyloadmenu === false ? false : true),
validator: Lang.isBoolean,
writeOnce: true
});
/**
* @attribute menuclassname
* @description String representing the CSS class name to be
* applied to the root element of the button's menu.
* @type String
* @default "yui-button-menu"
* @writeonce
*/
this.setAttributeConfig("menuclassname", {
value: (oAttributes.menuclassname || (this.CLASS_NAME_PREFIX + "button-menu")),
validator: Lang.isString,
method: this._setMenuClassName,
writeOnce: true
});
/**
* @attribute menuminscrollheight
* @description Number defining the minimum threshold for the "menumaxheight"
* configuration attribute. When set this attribute is automatically applied
* to all submenus.
* @default 90
* @type Number
*/
this.setAttributeConfig("menuminscrollheight", {
value: (oAttributes.menuminscrollheight || 90),
validator: Lang.isNumber
});
/**
* @attribute menumaxheight
* @description Number defining the maximum height (in pixels) for a menu's
* body element (<code><div class="bd"<</code>). Once a menu's body
* exceeds this height, the contents of the body are scrolled to maintain
* this value. This value cannot be set lower than the value of the
* "minscrollheight" configuration property.
* @type Number
* @default 0
*/
this.setAttributeConfig("menumaxheight", {
value: (oAttributes.menumaxheight || 0),
validator: Lang.isNumber
});
/**
* @attribute menualignment
* @description Array defining how the Button's Menu is aligned to the Button.
* The default value of ["tl", "bl"] aligns the Menu's top left corner to the Button's
* bottom left corner.
* @type Array
* @default ["tl", "bl"]
*/
this.setAttributeConfig("menualignment", {
value: (oAttributes.menualignment || ["tl", "bl"]),
validator: Lang.isArray
});
/**
* @attribute selectedMenuItem
* @description Object representing the item in the button's menu
* that is currently selected.
* @type YAHOO.widget.MenuItem
* @default null
*/
this.setAttributeConfig("selectedMenuItem", {
value: null
});
/**
* @attribute onclick
* @description Object literal representing the code to be executed
* when the button is clicked. Format:<br> <code> {<br>
* <strong>fn:</strong> Function, // The handler to call
* when the event fires.<br> <strong>obj:</strong> Object,
* // An object to pass back to the handler.<br>
* <strong>scope:</strong> Object // The object to use
* for the scope of the handler.<br> } </code>
* @type Object
* @default null
*/
this.setAttributeConfig("onclick", {
value: oAttributes.onclick,
method: this._setOnClick
});
/**
* @attribute focusmenu
* @description Boolean indicating whether or not the button's menu
* should be focused when it is made visible.
* @type Boolean
* @default true
*/
this.setAttributeConfig("focusmenu", {
value: (oAttributes.focusmenu === false ? false : true),
validator: Lang.isBoolean
});
/**
* @attribute replaceLabel
* @description Boolean indicating whether or not the text of the
* button's <code><label></code> element should be used as
* the source for the button's label configuration attribute and
* removed from the DOM.
* @type Boolean
* @default false
*/
this.setAttributeConfig("replaceLabel", {
value: false,
validator: Lang.isBoolean,
writeOnce: true
});
},
/**
* @method focus
* @description Causes the button to receive the focus and fires the
* button's "focus" event.
*/
focus: function () {
if (!this.get("disabled")) {
this._button.focus();
}
},
/**
* @method blur
* @description Causes the button to lose focus and fires the button's
* "blur" event.
*/
blur: function () {
if (!this.get("disabled")) {
this._button.blur();
}
},
/**
* @method hasFocus
* @description Returns a boolean indicating whether or not the button
* has focus.
* @return {Boolean}
*/
hasFocus: function () {
return (m_oFocusedButton == this);
},
/**
* @method isActive
* @description Returns a boolean indicating whether or not the button
* is active.
* @return {Boolean}
*/
isActive: function () {
return this.hasClass(this.CLASS_NAME_PREFIX + this.CSS_CLASS_NAME + "-active");
},
/**
* @method getMenu
* @description Returns a reference to the button's menu.
* @return {<a href="YAHOO.widget.Overlay.html">
* YAHOO.widget.Overlay</a>|<a
* href="YAHOO.widget.Menu.html">YAHOO.widget.Menu</a>}
*/
getMenu: function () {
return this._menu;
},
/**
* @method getForm
* @description Returns a reference to the button's parent form.
* @return {<a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-
* 20000929/level-one-html.html#ID-40002357">HTMLFormElement</a>}
*/
getForm: function () {
var oButton = this._button,
oForm;
if (oButton) {
oForm = oButton.form;
}
return oForm;
},
/**
* @method getHiddenFields
* @description Returns an <code><input></code> element or
* array of form elements used to represent the button when its parent
* form is submitted.
* @return {<a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
* level-one-html.html#ID-6043025">HTMLInputElement</a>|Array}
*/
getHiddenFields: function () {
return this._hiddenFields;
},
/**
* @method destroy
* @description Removes the button's element from its parent element and
* removes all event handlers.
*/
destroy: function () {
YAHOO.log("Destroying ...", "info", this.toString());
var oElement = this.get("element"),
oMenu = this._menu,
oLabel = this._label,
oParentNode,
aButtons;
if (oMenu) {
YAHOO.log("Destroying menu.", "info", this.toString());
if (m_oOverlayManager && m_oOverlayManager.find(oMenu)) {
m_oOverlayManager.remove(oMenu);
}
oMenu.destroy();
}
YAHOO.log("Removing DOM event listeners.", "info", this.toString());
Event.purgeElement(oElement);
Event.purgeElement(this._button);
Event.removeListener(document, "mouseup", this._onDocumentMouseUp);
Event.removeListener(document, "keyup", this._onDocumentKeyUp);
Event.removeListener(document, "mousedown", this._onDocumentMouseDown);
if (oLabel) {
Event.removeListener(oLabel, "click", this._onLabelClick);
oParentNode = oLabel.parentNode;
oParentNode.removeChild(oLabel);
}
var oForm = this.getForm();
if (oForm) {
Event.removeListener(oForm, "reset", this._onFormReset);
Event.removeListener(oForm, "submit", this._onFormSubmit);
}
YAHOO.log("Removing CustomEvent listeners.", "info", this.toString());
this.unsubscribeAll();
oParentNode = oElement.parentNode;
if (oParentNode) {
oParentNode.removeChild(oElement);
}
YAHOO.log("Removing from document.", "info", this.toString());
delete m_oButtons[this.get("id")];
var sClass = (this.CLASS_NAME_PREFIX + this.CSS_CLASS_NAME);
aButtons = Dom.getElementsByClassName(sClass,
this.NODE_NAME, oForm);
if (Lang.isArray(aButtons) && aButtons.length === 0) {
Event.removeListener(oForm, "keypress",
YAHOO.widget.Button.onFormKeyPress);
}
YAHOO.log("Destroyed.", "info", this.toString());
},
fireEvent: function (p_sType , p_aArgs) {
var sType = arguments[0];
// Disabled buttons should not respond to DOM events
if (this.DOM_EVENTS[sType] && this.get("disabled")) {
return false;
}
return YAHOO.widget.Button.superclass.fireEvent.apply(this, arguments);
},
/**
* @method toString
* @description Returns a string representing the button.
* @return {String}
*/
toString: function () {
return ("Button " + this.get("id"));
}
});
/**
* @method YAHOO.widget.Button.onFormKeyPress
* @description "keypress" event handler for the button's form.
* @param {Event} p_oEvent Object representing the DOM event object passed
* back by the event utility (YAHOO.util.Event).
*/
YAHOO.widget.Button.onFormKeyPress = function (p_oEvent) {
var oTarget = Event.getTarget(p_oEvent),
nCharCode = Event.getCharCode(p_oEvent),
sNodeName = oTarget.nodeName && oTarget.nodeName.toUpperCase(),
sType = oTarget.type,
/*
Boolean indicating if the form contains any enabled or
disabled YUI submit buttons
*/
bFormContainsYUIButtons = false,
oButton,
oYUISubmitButton, // The form's first, enabled YUI submit button
/*
The form's first, enabled HTML submit button that precedes any
YUI submit button
*/
oPrecedingSubmitButton,
oEvent;
function isSubmitButton(p_oElement) {
var sId,
oSrcElement;
switch (p_oElement.nodeName.toUpperCase()) {
case "INPUT":
case "BUTTON":
if (p_oElement.type == "submit" && !p_oElement.disabled) {
if (!bFormContainsYUIButtons && !oPrecedingSubmitButton) {
oPrecedingSubmitButton = p_oElement;
}
}
break;
default:
sId = p_oElement.id;
if (sId) {
oButton = m_oButtons[sId];
if (oButton) {
bFormContainsYUIButtons = true;
if (!oButton.get("disabled")) {
oSrcElement = oButton.get("srcelement");
if (!oYUISubmitButton && (oButton.get("type") == "submit" ||
(oSrcElement && oSrcElement.type == "submit"))) {
oYUISubmitButton = oButton;
}
}
}
}
break;
}
}
if (nCharCode == 13 && ((sNodeName == "INPUT" && (sType == "text" ||
sType == "password" || sType == "checkbox" || sType == "radio" ||
sType == "file")) || sNodeName == "SELECT")) {
Dom.getElementsBy(isSubmitButton, "*", this);
if (oPrecedingSubmitButton) {
/*
Need to set focus to the first enabled submit button
to make sure that IE includes its name and value
in the form's data set.
*/
oPrecedingSubmitButton.focus();
}
else if (!oPrecedingSubmitButton && oYUISubmitButton) {
/*
Need to call "preventDefault" to ensure that the form doesn't end up getting
submitted twice.
*/
Event.preventDefault(p_oEvent);
if (UA.ie) {
oYUISubmitButton.get("element").fireEvent("onclick");
}
else {
oEvent = document.createEvent("HTMLEvents");
oEvent.initEvent("click", true, true);
if (UA.gecko < 1.9) {
oYUISubmitButton.fireEvent("click", oEvent);
}
else {
oYUISubmitButton.get("element").dispatchEvent(oEvent);
}
}
}
}
};
/**
* @method YAHOO.widget.Button.addHiddenFieldsToForm
* @description Searches the specified form and adds hidden fields for
* instances of YAHOO.widget.Button that are of type "radio," "checkbox,"
* "menu," and "split."
* @param {<a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-
* one-html.html#ID-40002357">HTMLFormElement</a>} p_oForm Object reference
* for the form to search.
*/
YAHOO.widget.Button.addHiddenFieldsToForm = function (p_oForm) {
var proto = YAHOO.widget.Button.prototype,
aButtons = Dom.getElementsByClassName(
(proto.CLASS_NAME_PREFIX + proto.CSS_CLASS_NAME),
"*",
p_oForm),
nButtons = aButtons.length,
oButton,
sId,
i;
if (nButtons > 0) {
YAHOO.log("Form contains " + nButtons + " YUI buttons.", "info", this.toString());
for (i = 0; i < nButtons; i++) {
sId = aButtons[i].id;
if (sId) {
oButton = m_oButtons[sId];
if (oButton) {
oButton.createHiddenFields();
}
}
}
}
};
/**
* @method YAHOO.widget.Button.getButton
* @description Returns a button with the specified id.
* @param {String} p_sId String specifying the id of the root node of the
* HTML element representing the button to be retrieved.
* @return {YAHOO.widget.Button}
*/
YAHOO.widget.Button.getButton = function (p_sId) {
return m_oButtons[p_sId];
};
// Events
/**
* @event focus
* @description Fires when the menu item receives focus. Passes back a
* single object representing the original DOM event object passed back by
* the event utility (YAHOO.util.Event) when the event was fired. See
* <a href="YAHOO.util.Element.html#addListener">Element.addListener</a>
* for more information on listening for this event.
* @type YAHOO.util.CustomEvent
*/
/**
* @event blur
* @description Fires when the menu item loses the input focus. Passes back
* a single object representing the original DOM event object passed back by
* the event utility (YAHOO.util.Event) when the event was fired. See
* <a href="YAHOO.util.Element.html#addListener">Element.addListener</a> for
* more information on listening for this event.
* @type YAHOO.util.CustomEvent
*/
/**
* @event option
* @description Fires when the user invokes the button's option. Passes
* back a single object representing the original DOM event (either
* "mousedown" or "keydown") that caused the "option" event to fire. See
* <a href="YAHOO.util.Element.html#addListener">Element.addListener</a>
* for more information on listening for this event.
* @type YAHOO.util.CustomEvent
*/
})();
(function () {
// Shorthard for utilities
var Dom = YAHOO.util.Dom,
Event = YAHOO.util.Event,
Lang = YAHOO.lang,
Button = YAHOO.widget.Button,
// Private collection of radio buttons
m_oButtons = {};
/**
* The ButtonGroup class creates a set of buttons that are mutually
* exclusive; checking one button in the set will uncheck all others in the
* button group.
* @param {String} p_oElement String specifying the id attribute of the
* <code><div></code> element of the button group.
* @param {<a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
* level-one-html.html#ID-22445964">HTMLDivElement</a>} p_oElement Object
* specifying the <code><div></code> element of the button group.
* @param {Object} p_oElement Object literal specifying a set of
* configuration attributes used to create the button group.
* @param {Object} p_oAttributes Optional. Object literal specifying a set
* of configuration attributes used to create the button group.
* @namespace YAHOO.widget
* @class ButtonGroup
* @constructor
* @extends YAHOO.util.Element
*/
YAHOO.widget.ButtonGroup = function (p_oElement, p_oAttributes) {
var fnSuperClass = YAHOO.widget.ButtonGroup.superclass.constructor,
sNodeName,
oElement,
sId;
if (arguments.length == 1 && !Lang.isString(p_oElement) &&
!p_oElement.nodeName) {
if (!p_oElement.id) {
sId = Dom.generateId();
p_oElement.id = sId;
YAHOO.log("No value specified for the button group's \"id\"" +
" attribute. Setting button group id to \"" + sId + "\".",
"info");
}
this.logger = new YAHOO.widget.LogWriter("ButtonGroup " + sId);
this.logger.log("No source HTML element. Building the button " +
"group using the set of configuration attributes.");
fnSuperClass.call(this, (this._createGroupElement()), p_oElement);
}
else if (Lang.isString(p_oElement)) {
oElement = Dom.get(p_oElement);
if (oElement) {
if (oElement.nodeName.toUpperCase() == this.NODE_NAME) {
this.logger =
new YAHOO.widget.LogWriter("ButtonGroup " + p_oElement);
fnSuperClass.call(this, oElement, p_oAttributes);
}
}
}
else {
sNodeName = p_oElement.nodeName.toUpperCase();
if (sNodeName && sNodeName == this.NODE_NAME) {
if (!p_oElement.id) {
p_oElement.id = Dom.generateId();
YAHOO.log("No value specified for the button group's" +
" \"id\" attribute. Setting button group id " +
"to \"" + p_oElement.id + "\".", "warn");
}
this.logger =
new YAHOO.widget.LogWriter("ButtonGroup " + p_oElement.id);
fnSuperClass.call(this, p_oElement, p_oAttributes);
}
}
};
YAHOO.extend(YAHOO.widget.ButtonGroup, YAHOO.util.Element, {
// Protected properties
/**
* @property _buttons
* @description Array of buttons in the button group.
* @default null
* @protected
* @type Array
*/
_buttons: null,
// Constants
/**
* @property NODE_NAME
* @description The name of the tag to be used for the button
* group's element.
* @default "DIV"
* @final
* @type String
*/
NODE_NAME: "DIV",
/**
* @property CLASS_NAME_PREFIX
* @description Prefix used for all class names applied to a ButtonGroup.
* @default "yui-"
* @final
* @type String
*/
CLASS_NAME_PREFIX: "yui-",
/**
* @property CSS_CLASS_NAME
* @description String representing the CSS class(es) to be applied
* to the button group's element.
* @default "buttongroup"
* @final
* @type String
*/
CSS_CLASS_NAME: "buttongroup",
// Protected methods
/**
* @method _createGroupElement
* @description Creates the button group's element.
* @protected
* @return {<a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
* level-one-html.html#ID-22445964">HTMLDivElement</a>}
*/
_createGroupElement: function () {
var oElement = document.createElement(this.NODE_NAME);
return oElement;
},
// Protected attribute setter methods
/**
* @method _setDisabled
* @description Sets the value of the button groups's
* "disabled" attribute.
* @protected
* @param {Boolean} p_bDisabled Boolean indicating the value for
* the button group's "disabled" attribute.
*/
_setDisabled: function (p_bDisabled) {
var nButtons = this.getCount(),
i;
if (nButtons > 0) {
i = nButtons - 1;
do {
this._buttons[i].set("disabled", p_bDisabled);
}
while (i--);
}
},
// Protected event handlers
/**
* @method _onKeyDown
* @description "keydown" event handler for the button group.
* @protected
* @param {Event} p_oEvent Object representing the DOM event object
* passed back by the event utility (YAHOO.util.Event).
*/
_onKeyDown: function (p_oEvent) {
var oTarget = Event.getTarget(p_oEvent),
nCharCode = Event.getCharCode(p_oEvent),
sId = oTarget.parentNode.parentNode.id,
oButton = m_oButtons[sId],
nIndex = -1;
if (nCharCode == 37 || nCharCode == 38) {
nIndex = (oButton.index === 0) ?
(this._buttons.length - 1) : (oButton.index - 1);
}
else if (nCharCode == 39 || nCharCode == 40) {
nIndex = (oButton.index === (this._buttons.length - 1)) ?
0 : (oButton.index + 1);
}
if (nIndex > -1) {
this.check(nIndex);
this.getButton(nIndex).focus();
}
},
/**
* @method _onAppendTo
* @description "appendTo" event handler for the button group.
* @protected
* @param {Event} p_oEvent Object representing the event that was fired.
*/
_onAppendTo: function (p_oEvent) {
var aButtons = this._buttons,
nButtons = aButtons.length,
i;
for (i = 0; i < nButtons; i++) {
aButtons[i].appendTo(this.get("element"));
}
},
/**
* @method _onButtonCheckedChange
* @description "checkedChange" event handler for each button in the
* button group.
* @protected
* @param {Event} p_oEvent Object representing the event that was fired.
* @param {<a href="YAHOO.widget.Button.html">YAHOO.widget.Button</a>}
* p_oButton Object representing the button that fired the event.
*/
_onButtonCheckedChange: function (p_oEvent, p_oButton) {
var bChecked = p_oEvent.newValue,
oCheckedButton = this.get("checkedButton");
if (bChecked && oCheckedButton != p_oButton) {
if (oCheckedButton) {
oCheckedButton.set("checked", false, true);
}
this.set("checkedButton", p_oButton);
this.set("value", p_oButton.get("value"));
}
else if (oCheckedButton && !oCheckedButton.set("checked")) {
oCheckedButton.set("checked", true, true);
}
},
// Public methods
/**
* @method init
* @description The ButtonGroup class's initialization method.
* @param {String} p_oElement String specifying the id attribute of the
* <code><div></code> element of the button group.
* @param {<a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
* level-one-html.html#ID-22445964">HTMLDivElement</a>} p_oElement Object
* specifying the <code><div></code> element of the button group.
* @param {Object} p_oElement Object literal specifying a set of
* configuration attributes used to create the button group.
* @param {Object} p_oAttributes Optional. Object literal specifying a
* set of configuration attributes used to create the button group.
*/
init: function (p_oElement, p_oAttributes) {
this._buttons = [];
YAHOO.widget.ButtonGroup.superclass.init.call(this, p_oElement,
p_oAttributes);
this.addClass(this.CLASS_NAME_PREFIX + this.CSS_CLASS_NAME);
var sClass = (YAHOO.widget.Button.prototype.CLASS_NAME_PREFIX + "radio-button"),
aButtons = this.getElementsByClassName(sClass);
this.logger.log("Searching for child nodes with the class name " +
sClass + " to add to the button group.");
if (aButtons.length > 0) {
this.logger.log("Found " + aButtons.length +
" child nodes with the class name " + sClass +
" Attempting to add to button group.");
this.addButtons(aButtons);
}
this.logger.log("Searching for child nodes with the type of " +
" \"radio\" to add to the button group.");
function isRadioButton(p_oElement) {
return (p_oElement.type == "radio");
}
aButtons =
Dom.getElementsBy(isRadioButton, "input", this.get("element"));
if (aButtons.length > 0) {
this.logger.log("Found " + aButtons.length + " child nodes" +
" with the type of \"radio.\" Attempting to add to" +
" button group.");
this.addButtons(aButtons);
}
this.on("keydown", this._onKeyDown);
this.on("appendTo", this._onAppendTo);
var oContainer = this.get("container");
if (oContainer) {
if (Lang.isString(oContainer)) {
Event.onContentReady(oContainer, function () {
this.appendTo(oContainer);
}, null, this);
}
else {
this.appendTo(oContainer);
}
}
this.logger.log("Initialization completed.");
},
/**
* @method initAttributes
* @description Initializes all of the configuration attributes used to
* create the button group.
* @param {Object} p_oAttributes Object literal specifying a set of
* configuration attributes used to create the button group.
*/
initAttributes: function (p_oAttributes) {
var oAttributes = p_oAttributes || {};
YAHOO.widget.ButtonGroup.superclass.initAttributes.call(
this, oAttributes);
/**
* @attribute name
* @description String specifying the name for the button group.
* This name will be applied to each button in the button group.
* @default null
* @type String
*/
this.setAttributeConfig("name", {
value: oAttributes.name,
validator: Lang.isString
});
/**
* @attribute disabled
* @description Boolean indicating if the button group should be
* disabled. Disabling the button group will disable each button
* in the button group. Disabled buttons are dimmed and will not
* respond to user input or fire events.
* @default false
* @type Boolean
*/
this.setAttributeConfig("disabled", {
value: (oAttributes.disabled || false),
validator: Lang.isBoolean,
method: this._setDisabled
});
/**
* @attribute value
* @description Object specifying the value for the button group.
* @default null
* @type Object
*/
this.setAttributeConfig("value", {
value: oAttributes.value
});
/**
* @attribute container
* @description HTML element reference or string specifying the id
* attribute of the HTML element that the button group's markup
* should be rendered into.
* @type <a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
* level-one-html.html#ID-58190037">HTMLElement</a>|String
* @default null
* @writeonce
*/
this.setAttributeConfig("container", {
value: oAttributes.container,
writeOnce: true
});
/**
* @attribute checkedButton
* @description Reference for the button in the button group that
* is checked.
* @type {<a href="YAHOO.widget.Button.html">YAHOO.widget.Button</a>}
* @default null
*/
this.setAttributeConfig("checkedButton", {
value: null
});
},
/**
* @method addButton
* @description Adds the button to the button group.
* @param {<a href="YAHOO.widget.Button.html">YAHOO.widget.Button</a>}
* p_oButton Object reference for the <a href="YAHOO.widget.Button.html">
* YAHOO.widget.Button</a> instance to be added to the button group.
* @param {String} p_oButton String specifying the id attribute of the
* <code><input></code> or <code><span></code> element
* to be used to create the button to be added to the button group.
* @param {<a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
* level-one-html.html#ID-6043025">HTMLInputElement</a>|<a href="
* http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-one-html.html#
* ID-33759296">HTMLElement</a>} p_oButton Object reference for the
* <code><input></code> or <code><span></code> element
* to be used to create the button to be added to the button group.
* @param {Object} p_oButton Object literal specifying a set of
* <a href="YAHOO.widget.Button.html">YAHOO.widget.Button</a>
* configuration attributes used to configure the button to be added to
* the button group.
* @return {<a href="YAHOO.widget.Button.html">YAHOO.widget.Button</a>}
*/
addButton: function (p_oButton) {
var oButton,
oButtonElement,
oGroupElement,
nIndex,
sButtonName,
sGroupName;
if (p_oButton instanceof Button &&
p_oButton.get("type") == "radio") {
oButton = p_oButton;
}
else if (!Lang.isString(p_oButton) && !p_oButton.nodeName) {
p_oButton.type = "radio";
oButton = new Button(p_oButton);
}
else {
oButton = new Button(p_oButton, { type: "radio" });
}
if (oButton) {
nIndex = this._buttons.length;
sButtonName = oButton.get("name");
sGroupName = this.get("name");
oButton.index = nIndex;
this._buttons[nIndex] = oButton;
m_oButtons[oButton.get("id")] = oButton;
if (sButtonName != sGroupName) {
oButton.set("name", sGroupName);
}
if (this.get("disabled")) {
oButton.set("disabled", true);
}
if (oButton.get("checked")) {
this.set("checkedButton", oButton);
}
oButtonElement = oButton.get("element");
oGroupElement = this.get("element");
if (oButtonElement.parentNode != oGroupElement) {
oGroupElement.appendChild(oButtonElement);
}
oButton.on("checkedChange",
this._onButtonCheckedChange, oButton, this);
this.logger.log("Button " + oButton.get("id") + " added.");
}
return oButton;
},
/**
* @method addButtons
* @description Adds the array of buttons to the button group.
* @param {Array} p_aButtons Array of <a href="YAHOO.widget.Button.html">
* YAHOO.widget.Button</a> instances to be added
* to the button group.
* @param {Array} p_aButtons Array of strings specifying the id
* attribute of the <code><input></code> or <code><span>
* </code> elements to be used to create the buttons to be added to the
* button group.
* @param {Array} p_aButtons Array of object references for the
* <code><input></code> or <code><span></code> elements
* to be used to create the buttons to be added to the button group.
* @param {Array} p_aButtons Array of object literals, each containing
* a set of <a href="YAHOO.widget.Button.html">YAHOO.widget.Button</a>
* configuration attributes used to configure each button to be added
* to the button group.
* @return {Array}
*/
addButtons: function (p_aButtons) {
var nButtons,
oButton,
aButtons,
i;
if (Lang.isArray(p_aButtons)) {
nButtons = p_aButtons.length;
aButtons = [];
if (nButtons > 0) {
for (i = 0; i < nButtons; i++) {
oButton = this.addButton(p_aButtons[i]);
if (oButton) {
aButtons[aButtons.length] = oButton;
}
}
}
}
return aButtons;
},
/**
* @method removeButton
* @description Removes the button at the specified index from the
* button group.
* @param {Number} p_nIndex Number specifying the index of the button
* to be removed from the button group.
*/
removeButton: function (p_nIndex) {
var oButton = this.getButton(p_nIndex),
nButtons,
i;
if (oButton) {
this.logger.log("Removing button " + oButton.get("id") + ".");
this._buttons.splice(p_nIndex, 1);
delete m_oButtons[oButton.get("id")];
oButton.removeListener("checkedChange",
this._onButtonCheckedChange);
oButton.destroy();
nButtons = this._buttons.length;
if (nButtons > 0) {
i = this._buttons.length - 1;
do {
this._buttons[i].index = i;
}
while (i--);
}
this.logger.log("Button " + oButton.get("id") + " removed.");
}
},
/**
* @method getButton
* @description Returns the button at the specified index.
* @param {Number} p_nIndex The index of the button to retrieve from the
* button group.
* @return {<a href="YAHOO.widget.Button.html">YAHOO.widget.Button</a>}
*/
getButton: function (p_nIndex) {
return this._buttons[p_nIndex];
},
/**
* @method getButtons
* @description Returns an array of the buttons in the button group.
* @return {Array}
*/
getButtons: function () {
return this._buttons;
},
/**
* @method getCount
* @description Returns the number of buttons in the button group.
* @return {Number}
*/
getCount: function () {
return this._buttons.length;
},
/**
* @method focus
* @description Sets focus to the button at the specified index.
* @param {Number} p_nIndex Number indicating the index of the button
* to focus.
*/
focus: function (p_nIndex) {
var oButton,
nButtons,
i;
if (Lang.isNumber(p_nIndex)) {
oButton = this._buttons[p_nIndex];
if (oButton) {
oButton.focus();
}
}
else {
nButtons = this.getCount();
for (i = 0; i < nButtons; i++) {
oButton = this._buttons[i];
if (!oButton.get("disabled")) {
oButton.focus();
break;
}
}
}
},
/**
* @method check
* @description Checks the button at the specified index.
* @param {Number} p_nIndex Number indicating the index of the button
* to check.
*/
check: function (p_nIndex) {
var oButton = this.getButton(p_nIndex);
if (oButton) {
oButton.set("checked", true);
}
},
/**
* @method destroy
* @description Removes the button group's element from its parent
* element and removes all event handlers.
*/
destroy: function () {
this.logger.log("Destroying...");
var nButtons = this._buttons.length,
oElement = this.get("element"),
oParentNode = oElement.parentNode,
i;
if (nButtons > 0) {
i = this._buttons.length - 1;
do {
this._buttons[i].destroy();
}
while (i--);
}
this.logger.log("Removing DOM event handlers.");
Event.purgeElement(oElement);
this.logger.log("Removing from document.");
oParentNode.removeChild(oElement);
},
/**
* @method toString
* @description Returns a string representing the button group.
* @return {String}
*/
toString: function () {
return ("ButtonGroup " + this.get("id"));
}
});
})();
YAHOO.register("button", YAHOO.widget.Button, {version: "2.8.2r1", build: "8"});
}, '2.8.2' ,{"requires": ["yui2-yahoo", "yui2-dom", "yui2-event", "yui2-skin-sam-button", "yui2-element"], "optional": ["yui2-containercore", "yui2-skin-sam-menu", "yui2-menu"]});
| inikoo/fact | libs/yui/yui-2in3/dist/2.8.2/build/yui2-button/yui2-button-debug.js | JavaScript | mit | 133,949 |
'use strict';
if (/^((?!chrome).)*safari/i.test(navigator.userAgent)){
alert("We have detected you are using Safari. Please switch to Chrome or Firefox to properly use this app.");
}
var weekAbbrev = {
Mo: "monday",
Tu: "tuesday",
We: "wednesday",
Th: "thursday",
Fr: "friday",
Sa: "saturday",
Su: "sunday"
};
var badString = function(str){
return str == null || str.trim().length === 0;
}
//returns an ics object
var parseCourseworkString = function(){
var cs = document.getElementById("classes").value.trim(),
quarterLength = document.getElementById("weeks").value.trim(),
calObj = ics(),
startDate = document.getElementById("startDate").value.trim() + " ";
if(badString(cs)){ alert("Please copy paste in the Axess course table"); return; }
if(badString(startDate)){ alert("Please input start date in the MM/DD/YYYY format"); return; }
if(badString(quarterLength) || !_.isNumber(parseInt(quarterLength)) || parseInt(quarterLength) < 1){
alert("Please insert a valid number of weeks in the quarter.");
return;
}
var counter = 0;
//removes descrepancy between Firefox and Chrome copy pasting.
var prelimFilter = _.chain(cs.split("\n")).filter(function(row){
return row.trim().length > 0
}).value().join('\n').split('Academic Calendar Deadlines');
_.chain(prelimFilter).map(function(row){
return _.compact(row.split("\n"));
}).filter(function(items){
if(items.length != 6 && items.length > 3){
counter ++;
}
return items.length === 6;
}).map(function(items){
var name = items[0],
desc = items[1] + " Unit: " + items[2] + " Grading:" + items[3],
location = items[5],
timeObj = items[4].split(" "),
timeStart = new Date(startDate + timeObj[1].substr(0, timeObj[1].length - 2) + " " + timeObj[1].substr(-2)),
timeEnd = new Date(startDate + timeObj[3].substr(0, timeObj[3].length - 2) + " " + timeObj[3].substr(-2));
if(timeStart===null || timeEnd === null || timeStart.toString()==="Invalid Date" || timeEnd.toString()==="Invalid Date"){
alert("Please input a correct start date format of MM/DD/YYYY");
throw "Badly formatted Start Date (╯°□°)╯︵ ┻━┻";
}
var wkNumber = timeStart.getWeek(),
repeat = timeObj[0].match(/.{1,2}/g).join(','),
shiftedStart = Date.today().setWeek(wkNumber).sunday().last()[weekAbbrev[repeat.split(',')[0]]]().at(timeObj[1]), //Alterations to the dates because the library acts strangely
shiftedEnd = Date.today().setWeek(wkNumber).sunday().last()[weekAbbrev[repeat.split(',')[0]]]().at(timeObj[3]);
calObj.addEvent(name, desc, location, shiftedStart, shiftedEnd, repeat, quarterLength * repeat.split(',').length);
});
calObj.download("schedule", ".ics");
if(counter > 0){
alert(counter + (counter > 1 ? " classes ": " class ") + "failed to be exported. The formatting was weird.")
}
}
| Xrave/CalendarFromCourses | js/parser.js | JavaScript | mit | 3,002 |
// autocomplet : this function will be executed every time we change the text
function autocomplet() {
var min_length = 0; // min caracters to display the autocomplete
var keyword = $('#code0').val();
if (keyword.length >= min_length) {
$.ajax({
url: 'ajax_refresh.php',
type: 'POST',
data: {keyword:keyword},
success:function(data){
$('#itemcode_list_id').show();
$('#itemcode_list_id').html(data);
}
});
} else {
$('#itemcode_list_id').hide();
}
}
//set_item : this function will be executed when we select an item
function set_item(item) {
// change input value
$('#code0').val(item);
// hide proposition list
$('#itemcode_list_id').hide();
}
//=================================================== This is for code1 ============================================
function autocomplet_1() {
var min_length = 0; // min caracters to display the autocomplete
var keyword = $('#code1').val();
if (keyword.length >= min_length) {
$.ajax({
url: 'ajax_refresh_code1.php',
type: 'POST',
data: {keyword:keyword},
success:function(data){
$('#itemcode_list_id_1').show();
$('#itemcode_list_id_1').html(data);
}
});
} else {
$('#itemcode_list_id_1').hide();
}
}
// set_item : this function will be executed when we select an item
function set_item_1(item) {
// change input value
$('#code1').val(item);
// hide proposition list
$('#itemcode_list_id_1').hide();
}
//================================================== End of code1 ===================================================
//=================================================== This is for code2 ============================================
function autocomplet_2() {
var min_length = 0; // min caracters to display the autocomplete
var keyword = $('#code2').val();
if (keyword.length >= min_length) {
$.ajax({
url: 'ajax_refresh_code2.php',
type: 'POST',
data: {keyword:keyword},
success:function(data){
$('#itemcode_list_id_2').show();
$('#itemcode_list_id_2').html(data);
}
});
} else {
$('#itemcode_list_id_2').hide();
}
}
// set_item : this function will be executed when we select an item
function set_item_2(item) {
// change input value
$('#code2').val(item);
// hide proposition list
$('#itemcode_list_id_2').hide();
}
//================================================== End of code2 ===================================================
//=================================================== This is for code3 ============================================
function autocomplet_3() {
var min_length = 0; // min caracters to display the autocomplete
var keyword = $('#code3').val();
if (keyword.length >= min_length) {
$.ajax({
url: 'ajax_refresh_code3.php',
type: 'POST',
data: {keyword:keyword},
success:function(data){
$('#itemcode_list_id_3').show();
$('#itemcode_list_id_3').html(data);
}
});
} else {
$('#itemcode_list_id_3').hide();
}
}
// set_item : this function will be executed when we select an item
function set_item_3(item) {
// change input value
$('#code3').val(item);
// hide proposition list
$('#itemcode_list_id_3').hide();
}
//================================================== End of code3 ===================================================
//=================================================== This is for code4 ============================================
function autocomplet_4() {
var min_length = 0; // min caracters to display the autocomplete
var keyword = $('#code4').val();
if (keyword.length >= min_length) {
$.ajax({
url: 'ajax_refresh_code4.php',
type: 'POST',
data: {keyword:keyword},
success:function(data){
$('#itemcode_list_id_4').show();
$('#itemcode_list_id_4').html(data);
}
});
} else {
$('#itemcode_list_id_4').hide();
}
}
// set_item : this function will be executed when we select an item
function set_item_4(item) {
// change input value
$('#code4').val(item);
// hide proposition list
$('#itemcode_list_id_4').hide();
}
//================================================== End of code4 ===================================================
//=================================================== This is for code5 ============================================
function autocomplet_5() {
var min_length = 0; // min caracters to display the autocomplete
var keyword = $('#code5').val();
if (keyword.length >= min_length) {
$.ajax({
url: 'ajax_refresh_code5.php',
type: 'POST',
data: {keyword:keyword},
success:function(data){
$('#itemcode_list_id_5').show();
$('#itemcode_list_id_5').html(data);
}
});
} else {
$('#itemcode_list_id_5').hide();
}
}
// set_item : this function will be executed when we select an item
function set_item_5(item) {
// change input value
$('#code5').val(item);
// hide proposition list
$('#itemcode_list_id_5').hide();
}
//================================================== End of code5 ===================================================
//=================================================== This is for code6 ============================================
function autocomplet_6() {
var min_length = 0; // min caracters to display the autocomplete
var keyword = $('#code6').val();
if (keyword.length >= min_length) {
$.ajax({
url: 'ajax_refresh_code6.php',
type: 'POST',
data: {keyword:keyword},
success:function(data){
$('#itemcode_list_id_6').show();
$('#itemcode_list_id_6').html(data);
}
});
} else {
$('#itemcode_list_id_6').hide();
}
}
// set_item : this function will be executed when we select an item
function set_item_6(item) {
// change input value
$('#code6').val(item);
// hide proposition list
$('#itemcode_list_id_6').hide();
}
//================================================== End of code6 ===================================================
//=================================================== This is for code7 ============================================
function autocomplet_7() {
var min_length = 0; // min caracters to display the autocomplete
var keyword = $('#code7').val();
if (keyword.length >= min_length) {
$.ajax({
url: 'ajax_refresh_code7.php',
type: 'POST',
data: {keyword:keyword},
success:function(data){
$('#itemcode_list_id_7').show();
$('#itemcode_list_id_7').html(data);
}
});
} else {
$('#itemcode_list_id_7').hide();
}
}
// set_item : this function will be executed when we select an item
function set_item_7(item) {
// change input value
$('#code7').val(item);
// hide proposition list
$('#itemcode_list_id_7').hide();
}
//================================================== End of code7 ===================================================
//=================================================== This is for code8 ============================================
function autocomplet_8() {
var min_length = 0; // min caracters to display the autocomplete
var keyword = $('#code8').val();
if (keyword.length >= min_length) {
$.ajax({
url: 'ajax_refresh_code8.php',
type: 'POST',
data: {keyword:keyword},
success:function(data){
$('#itemcode_list_id_8').show();
$('#itemcode_list_id_8').html(data);
}
});
} else {
$('#itemcode_list_id_8').hide();
}
}
// set_item : this function will be executed when we select an item
function set_item_8(item) {
// change input value
$('#code8').val(item);
// hide proposition list
$('#itemcode_list_id_8').hide();
}
//================================================== End of code8 ===================================================
//=================================================== This is for code9 ============================================
function autocomplet_9() {
var min_length = 0; // min caracters to display the autocomplete
var keyword = $('#code9').val();
if (keyword.length >= min_length) {
$.ajax({
url: 'ajax_refresh_code9.php',
type: 'POST',
data: {keyword:keyword},
success:function(data){
$('#itemcode_list_id_9').show();
$('#itemcode_list_id_9').html(data);
}
});
} else {
$('#itemcode_list_id_9').hide();
}
}
// set_item : this function will be executed when we select an item
function set_item_9(item) {
// change input value
$('#code9').val(item);
// hide proposition list
$('#itemcode_list_id_9').hide();
}
//================================================== End of code9 ===================================================
//=================================================== This is for code10 ============================================
function autocomplet_10() {
var min_length = 0; // min caracters to display the autocomplete
var keyword = $('#code10').val();
if (keyword.length >= min_length) {
$.ajax({
url: 'ajax_refresh_code10.php',
type: 'POST',
data: {keyword:keyword},
success:function(data){
$('#itemcode_list_id_10').show();
$('#itemcode_list_id_10').html(data);
}
});
} else {
$('#itemcode_list_id_10').hide();
}
}
// set_item : this function will be executed when we select an item
function set_item_10(item) {
// change input value
$('#code10').val(item);
// hide proposition list
$('#itemcode_list_id_10').hide();
}
//================================================== End of code10 ===================================================
//=================================================== This is for code11 ============================================
function autocomplet_11() {
var min_length = 0; // min caracters to display the autocomplete
var keyword = $('#code11').val();
if (keyword.length >= min_length) {
$.ajax({
url: 'ajax_refresh_code11.php',
type: 'POST',
data: {keyword:keyword},
success:function(data){
$('#itemcode_list_id_11').show();
$('#itemcode_list_id_11').html(data);
}
});
} else {
$('#itemcode_list_id_11').hide();
}
}
// set_item : this function will be executed when we select an item
function set_item_11(item) {
// change input value
$('#code11').val(item);
// hide proposition list
$('#itemcode_list_id_11').hide();
}
//================================================== End of code11 ===================================================
//=================================================== This is for code12 ============================================
function autocomplet_12() {
var min_length = 0; // min caracters to display the autocomplete
var keyword = $('#code12').val();
if (keyword.length >= min_length) {
$.ajax({
url: 'ajax_refresh_code12.php',
type: 'POST',
data: {keyword:keyword},
success:function(data){
$('#itemcode_list_id_12').show();
$('#itemcode_list_id_12').html(data);
}
});
} else {
$('#itemcode_list_id_12').hide();
}
}
// set_item : this function will be executed when we select an item
function set_item_12(item) {
// change input value
$('#code12').val(item);
// hide proposition list
$('#itemcode_list_id_12').hide();
}
//================================================== End of code12 ===================================================
//=================================================== This is for code13 ============================================
function autocomplet_13() {
var min_length = 0; // min caracters to display the autocomplete
var keyword = $('#code13').val();
if (keyword.length >= min_length) {
$.ajax({
url: 'ajax_refresh_code13.php',
type: 'POST',
data: {keyword:keyword},
success:function(data){
$('#itemcode_list_id_13').show();
$('#itemcode_list_id_13').html(data);
}
});
} else {
$('#itemcode_list_id_13').hide();
}
}
// set_item : this function will be executed when we select an item
function set_item_13(item) {
// change input value
$('#code13').val(item);
// hide proposition list
$('#itemcode_list_id_13').hide();
}
//================================================== End of code13 ===================================================
//=================================================== This is for code14 ============================================
function autocomplet_14() {
var min_length = 0; // min caracters to display the autocomplete
var keyword = $('#code14').val();
if (keyword.length >= min_length) {
$.ajax({
url: 'ajax_refresh_code14.php',
type: 'POST',
data: {keyword:keyword},
success:function(data){
$('#itemcode_list_id_14').show();
$('#itemcode_list_id_14').html(data);
}
});
} else {
$('#itemcode_list_id_14').hide();
}
}
// set_item : this function will be executed when we select an item
function set_item_14(item) {
// change input value
$('#code14').val(item);
// hide proposition list
$('#itemcode_list_id_14').hide();
}
//================================================== End of code14 ===================================================
//=================================================== This is for code15 ============================================
function autocomplet_15() {
var min_length = 0; // min caracters to display the autocomplete
var keyword = $('#code15').val();
if (keyword.length >= min_length) {
$.ajax({
url: 'ajax_refresh_code15.php',
type: 'POST',
data: {keyword:keyword},
success:function(data){
$('#itemcode_list_id_15').show();
$('#itemcode_list_id_15').html(data);
}
});
} else {
$('#itemcode_list_id_15').hide();
}
}
// set_item : this function will be executed when we select an item
function set_item_15(item) {
// change input value
$('#code15').val(item);
// hide proposition list
$('#itemcode_list_id_15').hide();
}
//================================================== End of code15 ===================================================
//=================================================== This is for code16 ============================================
function autocomplet_16() {
var min_length = 0; // min caracters to display the autocomplete
var keyword = $('#code16').val();
if (keyword.length >= min_length) {
$.ajax({
url: 'ajax_refresh_code16.php',
type: 'POST',
data: {keyword:keyword},
success:function(data){
$('#itemcode_list_id_16').show();
$('#itemcode_list_id_16').html(data);
}
});
} else {
$('#itemcode_list_id_16').hide();
}
}
// set_item : this function will be executed when we select an item
function set_item_16(item) {
// change input value
$('#code16').val(item);
// hide proposition list
$('#itemcode_list_id_16').hide();
}
//================================================== End of code16 ===================================================
//=================================================== This is for code17 ============================================
function autocomplet_17() {
var min_length = 0; // min caracters to display the autocomplete
var keyword = $('#code17').val();
if (keyword.length >= min_length) {
$.ajax({
url: 'ajax_refresh_code17.php',
type: 'POST',
data: {keyword:keyword},
success:function(data){
$('#itemcode_list_id_17').show();
$('#itemcode_list_id_17').html(data);
}
});
} else {
$('#itemcode_list_id_17').hide();
}
}
// set_item : this function will be executed when we select an item
function set_item_17(item) {
// change input value
$('#code17').val(item);
// hide proposition list
$('#itemcode_list_id_17').hide();
}
//================================================== End of code17 ===================================================
//=================================================== This is for code18 ============================================
function autocomplet_18() {
var min_length = 0; // min caracters to display the autocomplete
var keyword = $('#code18').val();
if (keyword.length >= min_length) {
$.ajax({
url: 'ajax_refresh_code18.php',
type: 'POST',
data: {keyword:keyword},
success:function(data){
$('#itemcode_list_id_18').show();
$('#itemcode_list_id_18').html(data);
}
});
} else {
$('#itemcode_list_id_18').hide();
}
}
// set_item : this function will be executed when we select an item
function set_item_18(item) {
// change input value
$('#code18').val(item);
// hide proposition list
$('#itemcode_list_id_18').hide();
}
//================================================== End of code18 ===================================================
//=================================================== This is for code19 ============================================
function autocomplet_19() {
var min_length = 0; // min caracters to display the autocomplete
var keyword = $('#code19').val();
if (keyword.length >= min_length) {
$.ajax({
url: 'ajax_refresh_code19.php',
type: 'POST',
data: {keyword:keyword},
success:function(data){
$('#itemcode_list_id_19').show();
$('#itemcode_list_id_19').html(data);
}
});
} else {
$('#itemcode_list_id_19').hide();
}
}
// set_item : this function will be executed when we select an item
function set_item_19(item) {
// change input value
$('#code19').val(item);
// hide proposition list
$('#itemcode_list_id_19').hide();
}
//================================================== End of code19 ===================================================
//=================================================== This is for code20 ============================================
function autocomplet_20() {
var min_length = 0; // min caracters to display the autocomplete
var keyword = $('#code20').val();
if (keyword.length >= min_length) {
$.ajax({
url: 'ajax_refresh_code20.php',
type: 'POST',
data: {keyword:keyword},
success:function(data){
$('#itemcode_list_id_20').show();
$('#itemcode_list_id_20').html(data);
}
});
} else {
$('#itemcode_list_id_20').hide();
}
}
// set_item : this function will be executed when we select an item
function set_item_20(item) {
// change input value
$('#code20').val(item);
// hide proposition list
$('#itemcode_list_id_20').hide();
}
//================================================== End of code20 ===================================================
//================================================== Satrt of desc0 ======================================================
function autocomplet2() {
var min_length = 0; // min caracters to display the autocomplete
var keyword = $('#desc0').val();
if (keyword.length >= min_length) {
$.ajax({
url: 'ajax_refresh_item_desc.php',
type: 'POST',
data: {keyword:keyword},
success:function(data){
$('#itemdesc_list_id').show();
$('#itemdesc_list_id').html(data);
}
});
} else {
$('#itemdesc_list_id').hide();
}
}
function set_item2(item) {
// change input value
$('#desc0').val(item);
// hide proposition list
$('#itemdesc_list_id').hide();
}
//================================================== End of desc0 ======================================================
//================================================== Satrt of desc1 ======================================================
function autocomplet2_1() {
var min_length = 0; // min caracters to display the autocomplete
var keyword = $('#desc1').val();
if (keyword.length >= min_length) {
$.ajax({
url: 'ajax_refresh_item_desc_1.php',
type: 'POST',
data: {keyword:keyword},
success:function(data){
$('#itemdesc_list_id_1').show();
$('#itemdesc_list_id_1').html(data);
}
});
} else {
$('#itemdesc_list_id_1').hide();
}
}
function set_item2_1(item) {
// change input value
$('#desc1').val(item);
// hide proposition list
$('#itemdesc_list_id_1').hide();
}
//================================================== End of desc1 ======================================================
//================================================== Satrt of desc2 ======================================================
function autocomplet2_2() {
var min_length = 0; // min caracters to display the autocomplete
var keyword = $('#desc2').val();
if (keyword.length >= min_length) {
$.ajax({
url: 'ajax_refresh_item_desc_2.php',
type: 'POST',
data: {keyword:keyword},
success:function(data){
$('#itemdesc_list_id_2').show();
$('#itemdesc_list_id_2').html(data);
}
});
} else {
$('#itemdesc_list_id_2').hide();
}
}
function set_item2_2(item) {
// change input value
$('#desc2').val(item);
// hide proposition list
$('#itemdesc_list_id_2').hide();
}
//================================================== End of desc2 ======================================================
//================================================== Satrt of desc3 ======================================================
function autocomplet2_3() {
var min_length = 0; // min caracters to display the autocomplete
var keyword = $('#desc3').val();
if (keyword.length >= min_length) {
$.ajax({
url: 'ajax_refresh_item_desc_3.php',
type: 'POST',
data: {keyword:keyword},
success:function(data){
$('#itemdesc_list_id_3').show();
$('#itemdesc_list_id_3').html(data);
}
});
} else {
$('#itemdesc_list_id_3').hide();
}
}
function set_item2_3(item) {
// change input value
$('#desc3').val(item);
// hide proposition list
$('#itemdesc_list_id_3').hide();
}
//================================================== End of desc3 ======================================================
//================================================== Satrt of desc4 ======================================================
function autocomplet2_4() {
var min_length = 0; // min caracters to display the autocomplete
var keyword = $('#desc4').val();
if (keyword.length >= min_length) {
$.ajax({
url: 'ajax_refresh_item_desc_4.php',
type: 'POST',
data: {keyword:keyword},
success:function(data){
$('#itemdesc_list_id_4').show();
$('#itemdesc_list_id_4').html(data);
}
});
} else {
$('#itemdesc_list_id_4').hide();
}
}
function set_item2_4(item) {
// change input value
$('#desc4').val(item);
// hide proposition list
$('#itemdesc_list_id_4').hide();
}
//================================================== End of desc4 ======================================================
//================================================== Satrt of desc5 ======================================================
function autocomplet2_5() {
var min_length = 0; // min caracters to display the autocomplete
var keyword = $('#desc5').val();
if (keyword.length >= min_length) {
$.ajax({
url: 'ajax_refresh_item_desc_5.php',
type: 'POST',
data: {keyword:keyword},
success:function(data){
$('#itemdesc_list_id_5').show();
$('#itemdesc_list_id_5').html(data);
}
});
} else {
$('#itemdesc_list_id_5').hide();
}
}
function set_item2_5(item) {
// change input value
$('#desc5').val(item);
// hide proposition list
$('#itemdesc_list_id_5').hide();
}
//================================================== End of desc5 ======================================================
//================================================== Satrt of desc6 ======================================================
function autocomplet2_6() {
var min_length = 0; // min caracters to display the autocomplete
var keyword = $('#desc6').val();
if (keyword.length >= min_length) {
$.ajax({
url: 'ajax_refresh_item_desc_6.php',
type: 'POST',
data: {keyword:keyword},
success:function(data){
$('#itemdesc_list_id_6').show();
$('#itemdesc_list_id_6').html(data);
}
});
} else {
$('#itemdesc_list_id_6').hide();
}
}
function set_item2_6(item) {
// change input value
$('#desc6').val(item);
// hide proposition list
$('#itemdesc_list_id_6').hide();
}
//================================================== End of desc6 ======================================================
//================================================== Satrt of desc7 ======================================================
function autocomplet2_7() {
var min_length = 0; // min caracters to display the autocomplete
var keyword = $('#desc7').val();
if (keyword.length >= min_length) {
$.ajax({
url: 'ajax_refresh_item_desc_7.php',
type: 'POST',
data: {keyword:keyword},
success:function(data){
$('#itemdesc_list_id_7').show();
$('#itemdesc_list_id_7').html(data);
}
});
} else {
$('#itemdesc_list_id_7').hide();
}
}
function set_item2_7(item) {
// change input value
$('#desc7').val(item);
// hide proposition list
$('#itemdesc_list_id_7').hide();
}
//================================================== End of desc7 ======================================================
//================================================== Satrt of desc8 ======================================================
function autocomplet2_8() {
var min_length = 0; // min caracters to display the autocomplete
var keyword = $('#desc8').val();
if (keyword.length >= min_length) {
$.ajax({
url: 'ajax_refresh_item_desc_8.php',
type: 'POST',
data: {keyword:keyword},
success:function(data){
$('#itemdesc_list_id_8').show();
$('#itemdesc_list_id_8').html(data);
}
});
} else {
$('#itemdesc_list_id_8').hide();
}
}
function set_item2_8(item) {
// change input value
$('#desc8').val(item);
// hide proposition list
$('#itemdesc_list_id_8').hide();
}
//================================================== End of desc8 ======================================================
//================================================== Satrt of desc9 ======================================================
function autocomplet2_9() {
var min_length = 0; // min caracters to display the autocomplete
var keyword = $('#desc9').val();
if (keyword.length >= min_length) {
$.ajax({
url: 'ajax_refresh_item_desc_9.php',
type: 'POST',
data: {keyword:keyword},
success:function(data){
$('#itemdesc_list_id_9').show();
$('#itemdesc_list_id_9').html(data);
}
});
} else {
$('#itemdesc_list_id_9').hide();
}
}
function set_item2_9(item) {
// change input value
$('#desc9').val(item);
// hide proposition list
$('#itemdesc_list_id_9').hide();
}
//================================================== End of desc9 ======================================================
//================================================== Satrt of desc10 ======================================================
function autocomplet2_10() {
var min_length = 0; // min caracters to display the autocomplete
var keyword = $('#desc10').val();
if (keyword.length >= min_length) {
$.ajax({
url: 'ajax_refresh_item_desc_10.php',
type: 'POST',
data: {keyword:keyword},
success:function(data){
$('#itemdesc_list_id_10').show();
$('#itemdesc_list_id_10').html(data);
}
});
} else {
$('#itemdesc_list_id_10').hide();
}
}
function set_item2_10(item) {
// change input value
$('#desc10').val(item);
// hide proposition list
$('#itemdesc_list_id_10').hide();
}
//================================================== End of desc10 ======================================================
//================================================== Satrt of desc11 ======================================================
function autocomplet2_11() {
var min_length = 0; // min caracters to display the autocomplete
var keyword = $('#desc11').val();
if (keyword.length >= min_length) {
$.ajax({
url: 'ajax_refresh_item_desc_11.php',
type: 'POST',
data: {keyword:keyword},
success:function(data){
$('#itemdesc_list_id_11').show();
$('#itemdesc_list_id_11').html(data);
}
});
} else {
$('#itemdesc_list_id_11').hide();
}
}
function set_item2_11(item) {
// change input value
$('#desc11').val(item);
// hide proposition list
$('#itemdesc_list_id_11').hide();
}
//================================================== End of desc11 ======================================================
//================================================== Satrt of desc12 ======================================================
function autocomplet2_12() {
var min_length = 0; // min caracters to display the autocomplete
var keyword = $('#desc12').val();
if (keyword.length >= min_length) {
$.ajax({
url: 'ajax_refresh_item_desc_12.php',
type: 'POST',
data: {keyword:keyword},
success:function(data){
$('#itemdesc_list_id_12').show();
$('#itemdesc_list_id_12').html(data);
}
});
} else {
$('#itemdesc_list_id_12').hide();
}
}
function set_item2_12(item) {
// change input value
$('#desc12').val(item);
// hide proposition list
$('#itemdesc_list_id_12').hide();
}
//================================================== End of desc12 ======================================================
//================================================== Satrt of desc13 ======================================================
function autocomplet2_13() {
var min_length = 0; // min caracters to display the autocomplete
var keyword = $('#desc13').val();
if (keyword.length >= min_length) {
$.ajax({
url: 'ajax_refresh_item_desc_13.php',
type: 'POST',
data: {keyword:keyword},
success:function(data){
$('#itemdesc_list_id_13').show();
$('#itemdesc_list_id_13').html(data);
}
});
} else {
$('#itemdesc_list_id_13').hide();
}
}
function set_item2_13(item) {
// change input value
$('#desc13').val(item);
// hide proposition list
$('#itemdesc_list_id_13').hide();
}
//================================================== End of desc13 ======================================================
//================================================== Satrt of desc14 ======================================================
function autocomplet2_14() {
var min_length = 0; // min caracters to display the autocomplete
var keyword = $('#desc14').val();
if (keyword.length >= min_length) {
$.ajax({
url: 'ajax_refresh_item_desc_14.php',
type: 'POST',
data: {keyword:keyword},
success:function(data){
$('#itemdesc_list_id_14').show();
$('#itemdesc_list_id_14').html(data);
}
});
} else {
$('#itemdesc_list_id_14').hide();
}
}
function set_item2_14(item) {
// change input value
$('#desc14').val(item);
// hide proposition list
$('#itemdesc_list_id_14').hide();
}
//================================================== End of desc14 ======================================================
//================================================== Satrt of desc15 ======================================================
function autocomplet2_15() {
var min_length = 0; // min caracters to display the autocomplete
var keyword = $('#desc15').val();
if (keyword.length >= min_length) {
$.ajax({
url: 'ajax_refresh_item_desc_15.php',
type: 'POST',
data: {keyword:keyword},
success:function(data){
$('#itemdesc_list_id_15').show();
$('#itemdesc_list_id_15').html(data);
}
});
} else {
$('#itemdesc_list_id_15').hide();
}
}
function set_item2_15(item) {
// change input value
$('#desc15').val(item);
// hide proposition list
$('#itemdesc_list_id_15').hide();
}
//================================================== End of desc15 ======================================================
//================================================== Satrt of desc16 ======================================================
function autocomplet2_16() {
var min_length = 0; // min caracters to display the autocomplete
var keyword = $('#desc16').val();
if (keyword.length >= min_length) {
$.ajax({
url: 'ajax_refresh_item_desc_16.php',
type: 'POST',
data: {keyword:keyword},
success:function(data){
$('#itemdesc_list_id_16').show();
$('#itemdesc_list_id_16').html(data);
}
});
} else {
$('#itemdesc_list_id_16').hide();
}
}
function set_item2_16(item) {
// change input value
$('#desc16').val(item);
// hide proposition list
$('#itemdesc_list_id_16').hide();
}
//================================================== End of desc16 ======================================================
//================================================== Satrt of desc17 ======================================================
function autocomplet2_17() {
var min_length = 0; // min caracters to display the autocomplete
var keyword = $('#desc17').val();
if (keyword.length >= min_length) {
$.ajax({
url: 'ajax_refresh_item_desc_17.php',
type: 'POST',
data: {keyword:keyword},
success:function(data){
$('#itemdesc_list_id_17').show();
$('#itemdesc_list_id_17').html(data);
}
});
} else {
$('#itemdesc_list_id_17').hide();
}
}
function set_item2_17(item) {
// change input value
$('#desc17').val(item);
// hide proposition list
$('#itemdesc_list_id_17').hide();
}
//================================================== End of desc17 ======================================================
//================================================== Satrt of desc18 ======================================================
function autocomplet2_18() {
var min_length = 0; // min caracters to display the autocomplete
var keyword = $('#desc18').val();
if (keyword.length >= min_length) {
$.ajax({
url: 'ajax_refresh_item_desc_18.php',
type: 'POST',
data: {keyword:keyword},
success:function(data){
$('#itemdesc_list_id_18').show();
$('#itemdesc_list_id_18').html(data);
}
});
} else {
$('#itemdesc_list_id_18').hide();
}
}
function set_item2_18(item) {
// change input value
$('#desc18').val(item);
// hide proposition list
$('#itemdesc_list_id_18').hide();
}
//================================================== End of desc18 ======================================================
//================================================== Satrt of desc19 ======================================================
function autocomplet2_19() {
var min_length = 0; // min caracters to display the autocomplete
var keyword = $('#desc19').val();
if (keyword.length >= min_length) {
$.ajax({
url: 'ajax_refresh_item_desc_19.php',
type: 'POST',
data: {keyword:keyword},
success:function(data){
$('#itemdesc_list_id_19').show();
$('#itemdesc_list_id_19').html(data);
}
});
} else {
$('#itemdesc_list_id_19').hide();
}
}
function set_item2_19(item) {
// change input value
$('#desc19').val(item);
// hide proposition list
$('#itemdesc_list_id_19').hide();
}
//================================================== End of desc19 ======================================================
//================================================== Satrt of desc120 ======================================================
function autocomplet2_20() {
var min_length = 0; // min caracters to display the autocomplete
var keyword = $('#desc20').val();
if (keyword.length >= min_length) {
$.ajax({
url: 'ajax_refresh_item_desc_20.php',
type: 'POST',
data: {keyword:keyword},
success:function(data){
$('#itemdesc_list_id_20').show();
$('#itemdesc_list_id_20').html(data);
}
});
} else {
$('#itemdesc_list_id_20').hide();
}
}
function set_item2_20(item) {
// change input value
$('#desc20').val(item);
// hide proposition list
$('#itemdesc_list_id_20').hide();
}
//================================================== End of desc20 ======================================================
| DeenHaaziq/latestsoft | Sales/js/script.js | JavaScript | mit | 35,187 |
'use strict';
angular.module('core').controller('HomeController', ['$scope', 'Authentication',
function($scope, Authentication) {
// This provides Authentication context.
$scope.authentication = Authentication;
$scope.alerts = [
{
icon:'glyphicon-user',
color:'btn-success',
total:'20,408',
description:'TOTAL CUSTOMERS'
},
{
icon:'glyphicon-calendar',
color:'btn-primary',
total:'8,382',
description:'UPCOMING EVENTS'
},
{
icon:'glyphicon-edit',
color:'btn-success',
total:'527',
description:'NEW CUSTOMERS IN 24H'
},
{
icon:'glyphicon-record',
color:'btn-info',
total:'85,000',
description:'EMAILS SENT'
},
{
icon:'glyphicon-eye-open',
color:'btn-warning',
total:'20,408',
description:'FOLLOW UPS REQUIRED'
},
{
icon:'glyphicon-flag',
color:'btn-danger',
total:'348',
description:'REFERRALS TO MODERATE'
}
];
}
]); | mtyiska/test-repo2 | public/modules/core/controllers/home.client.controller.js | JavaScript | mit | 961 |
"use strict";
let keyMirror = require('react/lib/keyMirror');
module.exports = keyMirror({
INITIALIZE: null,
CREATE_AUTHOR: null,
UPDATE_AUTHOR: null,
DELETE_AUTHOR: null
}); | milianoo/miladrk.com-website | src/constants/actionTypes.js | JavaScript | mit | 189 |
module.exports = function(grunt) {
'use strict';
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-contrib-jasmine');
grunt.loadNpmTasks('grunt-contrib-less');
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-gh-pages');
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
meta: {
project: 'bootstrap-timepicker',
version: '0.2.3'
},
'gh-pages': {
options: {
add: true,
push: false
},
src: [
'css/bootstrap-timepicker.min.css',
'js/bootstrap-timepicker.min.js'
]
},
jasmine: {
build: {
src : ['spec/js/libs/jquery/jquery.min.js', 'spec/js/libs/bootstrap/js/bootstrap.min.js', 'spec/js/libs/autotype/index.js', 'js/bootstrap-timepicker.js'],
options: {
specs : 'spec/js/*Spec.js',
helpers : 'spec/js/helpers/*.js',
timeout : 100
}
}
},
jshint: {
options: {
browser: true,
camelcase: true,
curly: true,
eqeqeq: true,
eqnull: true,
immed: true,
indent: 2,
latedef: true,
newcap: true,
noarg: true,
quotmark: true,
sub: true,
strict: true,
trailing: true,
undef: true,
unused: true,
white: false,
globals: {
jQuery: true,
$: true,
expect: true,
it: true,
beforeEach: true,
afterEach: true,
describe: true,
loadFixtures: true,
console: true,
module: true
}
},
files: ['js/bootstrap-timepicker.js', 'Gruntfile.js', 'package.json', 'spec/js/*Spec.js']
},
less: {
dev: {
options: {
paths: ['css']
},
files: {
'css/bootstrap-timepicker.css': ['less/*.less']
}
},
prod: {
options: {
paths: ['css'],
yuicompress: true
},
files: {
'css/bootstrap-timepicker.min.css': ['less/*.less']
}
}
},
uglify: {
options: {
banner: '/*! <%= meta.project %> v<%= meta.version %> \n' +
'* http://jdewit.github.com/bootstrap-timepicker \n' +
'* Copyright (c) <%= grunt.template.today("yyyy") %> Joris de Wit \n' +
'* MIT License \n' +
'*/'
},
build: {
src: ['<banner:meta.banner>','js/<%= pkg.name %>.js'],
dest: 'js/<%= pkg.name %>.min.js'
}
},
watch: {
js: {
files: ['js/bootstrap-timepicker.js', 'spec/js/*Spec.js'],
tasks: ['jshint', 'jasmine'],
options: {
livereload: true
}
},
less: {
files: ['less/timepicker.less'],
tasks: ['less:dev'],
options: {
livereload: true
}
}
}
});
grunt.registerTask('default', ['jshint', 'jasmine', 'less:dev']);
grunt.registerTask('test', ['jasmine', 'jshint']);
grunt.registerTask('compile', ['jshint', 'jasmine', 'uglify', 'less:prod']);
};
| agoraproject/miel_de_village | web/bootstrap/timepicker/Gruntfile.js | JavaScript | mit | 3,170 |
var Encore = require('@symfony/webpack-encore');
// Manually configure the runtime environment if not already configured yet by the "encore" command.
// It's useful when you use tools that rely on webpack.config.js file.
if (!Encore.isRuntimeEnvironmentConfigured()) {
Encore.configureRuntimeEnvironment(process.env.NODE_ENV || 'dev');
}
Encore
// directory where compiled assets will be stored
.setOutputPath('public/build/')
// public path used by the web server to access the output path
.setPublicPath('/build')
// only needed for CDN's or sub-directory deploy
//.setManifestKeyPrefix('build/')
/*
* ENTRY CONFIG
*
* Add 1 entry for each "page" of your app
* (including one that's included on every page - e.g. "app")
*
* Each entry will result in one JavaScript file (e.g. app.js)
* and one CSS file (e.g. app.css) if your JavaScript imports CSS.
*/
.addEntry('app', './assets/js/app.js')
//.addEntry('page1', './assets/js/page1.js')
//.addEntry('page2', './assets/js/page2.js')
// When enabled, Webpack "splits" your files into smaller pieces for greater optimization.
.splitEntryChunks()
// will require an extra script tag for runtime.js
// but, you probably want this, unless you're building a single-page app
.enableSingleRuntimeChunk()
/*
* FEATURE CONFIG
*
* Enable & configure other features below. For a full
* list of features, see:
* https://symfony.com/doc/current/frontend.html#adding-more-features
*/
.cleanupOutputBeforeBuild()
.enableBuildNotifications()
.enableSourceMaps(!Encore.isProduction())
// enables hashed filenames (e.g. app.abc123.css)
.enableVersioning(Encore.isProduction())
// enables @babel/preset-env polyfills
.configureBabelPresetEnv((config) => {
config.useBuiltIns = 'usage';
config.corejs = 3;
})
// enables Sass/SCSS support
//.enableSassLoader()
// uncomment if you use TypeScript
//.enableTypeScriptLoader()
// uncomment to get integrity="..." attributes on your script & link tags
// requires WebpackEncoreBundle 1.4 or higher
//.enableIntegrityHashes(Encore.isProduction())
// uncomment if you're having problems with a jQuery plugin
//.autoProvidejQuery()
// uncomment if you use API Platform Admin (composer req api-admin)
//.enableReactPreset()
//.addEntry('admin', './assets/js/admin.js')
;
module.exports = Encore.getWebpackConfig();
| Rajajanakiram/myproject | webpack.config.js | JavaScript | mit | 2,533 |
const Assigner = require('assign.js')
let assigner = new Assigner()
const fp = require('fastify-plugin')
const WebSocket = require('ws')
const url = require('url')
module.exports = {
addWSServer: function (paths, wsOptions = {}) {
return fp((fastify, opts, next) => {
const lib = opts.library || 'ws'
if (lib !== 'ws' && lib !== 'uws') return next(new Error('Invalid "library" option'))
let wssServers = []
for (let path in paths)
wssServers[path] = new WebSocket.Server( assigner.assign( {}, wsOptions, {
noServer: true
}) )
fastify.server.on('upgrade', (request, socket, head) => {
const pathname = url.parse(request.url).pathname
if ( wssServers[pathname] ) {
wssServers[pathname].handleUpgrade(request, socket, head, (ws) => {
wssServers[pathname].emit('connection', ws)
})
} else {
socket.destroy()
}
})
fastify.decorate('ws', {
broadcast: async function broadcast (data, identifySockets, target) {
for (let path in wssServers)
await wssServers[ path ].broadcast( data, identifySockets, target )
}
})
for (let path in wssServers) {
let wss = wssServers[ path ]
wss.broadcast = async function broadcast (data, identifySockets, target) {
let sockets = await identifySockets( wss.clients, target )
sockets.forEach(function each (client) {
if (client.readyState === WebSocket.OPEN) {
client.send(data)
}
})
}
wss.on('connection', (socket) => {
console.log('Client connected.')
socket.on('message', (msg) => {
paths[path](socket, msg).catch(console.error)
})
socket.on('close', () => {})
})
fastify.addHook('onClose', (fastify, done) => {
return wss.close(done)
})
}
next()
}, {
fastify: '>=2.x',
name: 'fastify-ws'
})
}
}
| imrefazekas/harcon-radiation | util/WsPlugin.js | JavaScript | mit | 1,845 |
var _ = require('underscore');
var keystone = require('../../');
var utils = keystone.utils;
/**
* Content Class
*
* Accessed via `Keystone.content`
*
* @api public
*/
var Content = function () {};
/**
* Loads page content by page key (optional).
*
* If page key is not provided, returns a hash of all page contents in the database.
*
* ####Example:
*
* keystone.content.fetch('home', function(err, content) { ... });
*
* @param {String} key (optional)
* @param {Function} callback
* @api public
*/
Content.prototype.fetch = function (page, callback) {
if (utils.isFunction(page)) {
callback = page;
page = null;
}
var content = this;
if (!this.AppContent) {
return callback({ error: 'invalid page', message: 'No pages have been registered.' });
}
if (page) {
if (!this.pages[page]) {
return callback({ error: 'invalid page', message: 'The page ' + page + ' does not exist.' });
}
this.AppContent.findOne({ key: page }, function (err, result) {
if (err) return callback(err);
return callback(null, content.pages[page].populate(result ? result.content.data : {}));
});
} else {
this.AppContent.find(function (err, results) {
if (err) return callback(err);
var data = {};
results.forEach(function (i) {
if (content.pages[i.key]) {
data[i.key] = content.pages[i.key].populate(i.content.data);
}
});
_.each(content.pages, function (i) {
if (!data[i.key]) {
data[i.key] = i.populate();
}
});
return data;
});
}
};
/**
* Sets page content by page key.
*
* Merges content with existing content.
*
* ####Example:
*
* keystone.content.store('home', { title: 'Welcome' }, function(err) { ... });
*
* @param {String} key
* @param {Object} content
* @param {Function} callback
* @api public
*/
Content.prototype.store = function (page, content, callback) {
if (!this.pages[page]) {
return callback({ error: 'invalid page', message: 'The page ' + page + ' does not exist.' });
}
content = this.pages[page].validate(content);
// TODO: Handle validation errors
this.AppContent.findOne({ key: page }, function (err, doc) {
if (err) return callback(err);
if (doc) {
if (doc.content) {
doc.history.push(doc.content);
}
_.defaults(content, doc.content);
} else {
doc = new content.AppContent({ key: page });
}
doc.content = { data: this.pages[page].clean(content) };
doc.lastChangeDate = Date.now();
doc.save(callback);
});
};
/**
* Registers a page. Should not be called directly, use Page.register() instead.
*
* @param {Page} page
* @api private
*/
Content.prototype.page = function (key, page) {
if (!this.pages) {
this.pages = {};
}
if (arguments.length === 1) {
if (!this.pages[key]) {
throw new Error('keystone.content.page() Error: page ' + key + ' cannot be registered more than once.');
}
return this.pages[key];
}
this.initModel();
if (this.pages[key]) {
throw new Error('keystone.content.page() Error: page ' + key + ' cannot be registered more than once.');
}
this.pages[key] = page;
return page;
};
/**
* Ensures the Mongoose model for storing content is initialised.
*
* Called automatically when pages are added.
*
* @api private
*/
Content.prototype.initModel = function () {
if (this.AppContent) return;
var contentSchemaDef = {
createdAt: { type: Date, default: Date.now },
data: { type: keystone.mongoose.Schema.Types.Mixed },
};
var ContentSchema = new keystone.mongoose.Schema(contentSchemaDef);
var PageSchema = new keystone.mongoose.Schema({
page: { type: String, index: true },
lastChangeDate: { type: Date, index: true },
content: contentSchemaDef,
history: [ContentSchema],
}, { collection: 'app_content' });
this.AppContent = keystone.mongoose.model('App_Content', PageSchema);
};
/**
* Outputs client-side editable data for content management
*
* Called automatically when pages are added.
*
* @api private
*/
Content.prototype.editable = function (user, options) {
if (!user || !user.canAccessKeystone) {
return undefined;
}
if (options.list) {
var list = keystone.list(options.list);
if (!list) {
return JSON.stringify({ type: 'error', err: 'list not found' });
}
var data = {
type: 'list',
path: list.path,
singular: list.singular,
plural: list.plural,
};
if (options.id) {
data.id = options.id;
}
return JSON.stringify(data);
}
};
/**
* The exports object is an instance of Content.
*
* @api public
*/
module.exports = new Content();
// Expose Classes
exports.Page = require('./page');
exports.Types = require('./types');
| nickhsine/keystone | lib/content/index.js | JavaScript | mit | 4,667 |
var winston = require('winston');
var fs = require('fs');
var presets = {};
function presetsAction(player, values, callback) {
var value = decodeURIComponent(values[0]);
if (value.startsWith('{'))
var preset = JSON.parse(value);
else
var preset = presets[value];
if (preset) {
winston.info("Preset found: ", preset);
player.discovery.applyPreset(preset, function (err, result) {
if (err) {
winston.error("Error loading preset: ", err);
} else {
winston.info("Playing ", preset);
}
});
} else {
winston.error("No preset found...");
var simplePresets = [];
for (var key in presets) {
if (presets.hasOwnProperty(key)) {
simplePresets.push(key);
}
}
callback(simplePresets);
}
}
function initPresets(api) {
var presetsFilename = __dirname + '/../../presets.json';
fs.exists(presetsFilename, function (exists) {
if (exists) {
presets = require(presetsFilename);
winston.info('loaded presets', presets);
} else {
winston.info('no preset file, ignoring...');
}
api.registerAction('preset', presetsAction);
});
}
module.exports = function (api) {
initPresets(api);
} | donholly/alexa-at-home | node_modules/sonos-http-api/lib/actions/preset.js | JavaScript | mit | 1,207 |
export const UPDATE_TREE_FILTER = 'SIMPR_UPDATE_TREE_FILTER';
export const fireUpdateTreeFilter = (filter) => ({
type: UPDATE_TREE_FILTER,
payload: {
filter
},
});
| surbina/simpr | src/store/tree-filter/actions.js | JavaScript | mit | 185 |
function MetricConfiguationDataView(metricConfiguration)
{
var DynamicPropertyType = {
Boolean : 1,
Int : 2,
Double : 3,
String : 4,
Color : 5,
Percent : 6
};
var _items = [];
var _rows = [];
var _currentColumnId = 0;
var enabledColumnId = -1;
var _propertyNameColumnId = -1;
var _metricConfiguration = metricConfiguration;
var _breaks = metricConfiguration.breaks;
var _propertyRowLabels = _buildPropertyNameRows();
var _columns = _buildColumns();
var data = buildData();
var _propertyNameColumn = undefined;
var onRowsChanged = new Slick.Event();
function destroy()
{
_propertyNameColumn = null;
_columns.length = 0;
_propertyRowLabels.length = 0;
}
function getColumns()
{
return _columns;
}
function getPropertyNameColumn()
{
if (!_propertyNameColumn)
{
var columnId = _getNextColumnId();
_propertyNameColumn = {
id : columnId,
name : 'Property',
field : 'property',
focusable : false,
minWidth : 150,
sortable : false,
resizable : true,
editor : null,
metricBreak : null,
cssClass : 'breakPropertyNames'
};
_propertyNameColumnId = columnId;
}
return _propertyNameColumn;
}
function _buildColumns()
{
var column;
var columnsArray = [];
columnsArray.push(getPropertyNameColumn());
var breaks = _buildBreakColumns();
var allColumns = _.union(columnsArray, breaks);
return allColumns;
}
function _buildBreakColumns()
{
var columnsArray = [];
var breaks = _metricConfiguration.breaks;
for (var i = 0; i < breaks.length; i++)
{
//start off withe break columnnumber equal to 1, so the breaks names are one based. break1, break2 etc
var breakColumnNumber = i + 1;
var column = {
id : _getNextColumnId(),
name : 'Break ' + breakColumnNumber,
field : 'break' + i,
minWidth : 100,
sortable : false,
resizable : true,
metricBreak : breaks[i], /* editor : Slick.Editors.TransposedEditor,
formatter : Slick.Formatters.TransposedFormatter,*/
/* headerCssClass : 'breakHeaderName',
cssClass : 'breakPropertyValues'*/
};
columnsArray.push(column);
}
return columnsArray;
}
function _buildPropertyNameRows()
{
var metricConfiguration = _metricConfiguration;
var fields = _getAllPropertyFields(metricConfiguration);
var propertyFields = [];
var rowId = 0;
_.forEach(fields, function(field)
{
//var editorFormatter = getEditorAndFormatter(field.propertyType);
var breakField = {
name : field.propertyName,
row : rowId,
propertyType : field.propertyType,
display : field.displayName,
visible : field.hidden,
fromStyle : true,
readOnly : field.readonly, // enabled : field.enabled,
/* editor : editorFormatter.editor,
formatter : editorFormatter.formatter*/
};
propertyFields.push(breakField);
rowId++;
});
return propertyFields;
}
function _getAllPropertyFields(metricConfiguration)
{
/* var markerKey = metricConfiguration.getMarkerStylingClientKey();
var breakKey = metricConfiguration.getBreakCalculationClientKey();
var markerFields = MetricStylingService.getMarkerFields(markerKey);
var breakCalcFields = MetricStylingService.getBreakCalcFields(breakKey);*/
var markerFields = markerStylingOptions.properties;
var breakCalcFields = breakCalculation.properties;
var allFields = _.union(breakCalcFields, markerFields);
return allFields;
}
function buildData(metricConfiguration)
{
for (var i = _propertyRowLabels.length - 1; i >= 0; i--)
{
//noinspection AssignmentResultUsedJS
var rowNode = ( _rows[i] = {});
var field = _propertyRowLabels[i];
rowNode.field = field;
for (var x = 0; x < _columns.length; x++)
{
var column = _columns[x];
if (column.id === _propertyNameColumnId)
{
rowNode[column.field] = field.display;
continue;
}
if (column.id === enabledColumnId)
{
rowNode[column.field] = field.enabled;
continue;
}
var breakId = column.metricBreak ? column.metricBreak.id : -1;
rowNode[column.field] = getPropertyValue(field.name, breakId);
}
}
}
function getPropertyValue(propertyName, breakId)
{
//-1 indicates the property is not part of a break, but part of the property set.
var propBreak = _breaks[breakId];
if (propBreak.breakValidationValues[propertyName] !== undefined)
{
return propBreak.breakValidationValues[propertyName];
}
if (propBreak.markerConfigurationValues[propertyName])
{
return propBreak.markerConfigurationValues[propertyName];
}
return null;
}
function _getNextColumnId()
{
var result = _currentColumnId;
_currentColumnId++;
return result;
}
function getEditorAndFormatter(propertyType)
{
var result = {
editor : undefined,
formatter : undefined
};
if (propertyType === DynamicPropertyType.String)
{
result.editor = Slick.Editors.TransposedText;
result.formatter = null;
return result;
}
if (propertyType === DynamicPropertyType.Double)
{
result.editor = Slick.Editors.TransposedFloat;
result.formatter = null;
return result;
}
if (propertyType === DynamicPropertyType.Percent)
{
result.editor = Slick.Editors.TransposedPercent;
result.formatter = Slick.Formatters.TransposedPercent;
return result;
}
if (propertyType === DynamicPropertyType.Int)
{
result.editor = Slick.Editors.TransposedInteger;
result.formatter = null;
return result;
}
if (propertyType === DynamicPropertyType.Color)
{
result.editor = Slick.Editors.TransposedColor;
result.formatter = Slick.Formatters.TransposedColor;
return result;
}
if (propertyType === DynamicPropertyType.Boolean)
{
result.editor = Slick.Editors.TransposedCheckbox;
result.formatter = Slick.Formatters.TransposedCheckbox;
return result;
}
return Slick.Editors.TransposedText;
}
function getLength()
{
return _rows.length - 1;
}
/**
* Return a item at row index `i`.
* When `i` is out of range, return `null`.
* @public
* @param {Number} i index
* @param {String} colId column ID
* @returns {Object|null} item
*/
function getItem(_x4, _x5)
{
var _again = true;
_function: while (_again)
{
var i = _x4, colId = _x5;
item = v = key = nested = undefined;
_again = false;
if (colId != null)
{
// `i` can be passed item `Object` type internally.
var item = typeof i === 'number' ? getItem(i) : i, v = item && item[colId];
if (v == null)
{
for (var key in item)
{
if (item.hasOwnProperty(key))
{
var nested = item[key];
if (typeof nested === 'object')
{
_x4 = nested;
_x5 = colId;
_again = true;
continue _function;
}
}
}
return null;
}
return item;
}
return _rows[i] || null;
}
}
function getValue(i, columnDef)
{
return getItem(i, columnDef.id) != null ? getItem(i, columnDef.id)[columnDef.field] : '';
}
/**
* Notify changed.
*/
function _refresh()
{
_rows = _genRowsFromItems(_items);
onRowsChanged.notify();
}
function getItemMetadata(row, cell)
{
if(cell === _propertyNameColumnId){
return {};
}
var rowData = row;
var rowField = _rows[row].field;
var editorFormatter = getEditorAndFormatter(rowField.propertyType);
var columnsResult = {};
columnsResult[cell] = {
editor : editorFormatter.editor,
formatter: editorFormatter.formatter,
};
var rowMetaData = {
columns : columnsResult
};
return rowMetaData;
}
$.extend(this, {
// methods
"getColumns" : getColumns,
"getPropertyNameColumn" : getPropertyNameColumn,
"buildData" : buildData,
"getPropertyValue" : getPropertyValue,
"getLength" : getLength,
"getItem" : getItem,
"getValue" : getValue,
"getItemMetadata" : getItemMetadata,
"destroy" : destroy,
"onRowsChanged" : onRowsChanged
});
}
| FactLook/SlickGrid | Discovery/MetricConfigurationEditior - Copy/metricConfigurationDataView.js | JavaScript | mit | 10,402 |
module.exports = {
livereload: {
options: {
livereload: '<%= express.options.livereload %>'
},
files: [
'<%= yeoman.currentDir %>',
'<%= yeoman.demo %>/**/*.html',
'<%= yeoman.demo %>/**/*.js',
'<%= yeoman.styles %>/{,*/}*.css',
'<%= yeoman.src %>/**/*.html',
'<%= yeoman.src %>/{,*/}*.js',
'<%= yeoman.src %>/{,*/}*.css',
'<%= yeoman.src %>/images/{,*/}*.{png,jpg,jpeg,gif,webp,svg}'
]
},
test: {
options: {
livereload: {
port: 35728
}
},
files: [
'<%= yeoman.src %>/{,*/}*.html',
'{<%= yeoman.build %>,<%= yeoman.src %>}/app/{,*/}*.js'
],
tasks: ['test']
}
};
| l-lin/generator-linangular-module | app/templates/grunt/watch.js | JavaScript | mit | 822 |
import { createStore } from 'redux'
import { combineReducers } from 'redux';
import { todoReducer } from '../todo-reducer';
import { appReducer } from '../app-reducer';
const todoApp = combineReducers({
todos: todoReducer,
app: appReducer
})
export const store = createStore(todoApp);
store.getState()
// outputs ->
// {
// todos: {
// todos: []
// },
// app: {
// settingsVisible: false,
// ...
// }
// }
| lemieux/smooch-react-talk | presentation/examples/store/composed.js | JavaScript | mit | 434 |
version https://git-lfs.github.com/spec/v1
oid sha256:dd32b7eaa7daed7371af2e06195ec013df98eb5920727aaf459d9419ef607ff9
size 21785
| yogeshsaroya/new-cdnjs | ajax/libs/jade/0.13.0/jade.min.js | JavaScript | mit | 130 |
version https://git-lfs.github.com/spec/v1
oid sha256:2624aaed17536733cabbaeeac1e3b7c75455924c253869c12a812940c3e1241f
size 1195
| yogeshsaroya/new-cdnjs | ajax/libs/cldrjs/0.3.10/cldr/supplemental.min.js | JavaScript | mit | 129 |
if (Meteor.isClient) {
// counter starts at 0
Template.main.helpers({
});
Template.main.events({
});
}
if (Meteor.isServer) {
Meteor.startup(function () {
// code to run on server at startup
});
}
| MxMcG/smartreverse | client/main.js | JavaScript | mit | 220 |
/* global fetch */
import React from 'react';
import { render } from 'react-dom';
import { Link } from 'react-router';
function Home() {
return (
<div className="container">
<h2>Who are you?</h2>
<Link to="/caseHandler">A Case Handler</Link>
{' or '}
<Link to="/adjudicator">An Adjudicator</Link>
</div>
);
}
export default Home;
| dgretho/adjudication | src/home.js | JavaScript | mit | 406 |
var __extends = (this && this.__extends) || (function () {
var extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var UseOfAllTypeScriptObjectsBinder = (function (_super) {
__extends(UseOfAllTypeScriptObjectsBinder, _super);
function UseOfAllTypeScriptObjectsBinder() {
return _super.call(this, ['ID'], null, true, MaceTestObject) || this;
}
return UseOfAllTypeScriptObjectsBinder;
}(Binder));
//# sourceMappingURL=UseOfAllTypeScriptObjectsBinder.js.map | DNCarroll/mace | mace/TestScripts/UseOfAllTypeScriptObjectsBinder.js | JavaScript | mit | 856 |
import AppDispatcher from '../dispatcher/AppDispatcher';
import AppConstants from '../constants/AppConstants';
const ActionTypes = AppConstants.ActionTypes;
export function showMenu() {
AppDispatcher.dispatchViewAction(ActionTypes.SHOW_MENU);
}
export function hideMenu() {
AppDispatcher.dispatchViewAction(ActionTypes.HIDE_MENU);
}
export function showModal() {
AppDispatcher.dispatchViewAction(ActionTypes.SHOW_MODAL);
}
export function toggleHeaderNotificationMenu() {
AppDispatcher.dispatchViewAction(ActionTypes.TOGGLE_HEADER_NOTIFICATION_MENU);
}
export function toggleHeaderMessageMenu() {
AppDispatcher.dispatchViewAction(ActionTypes.TOGGLE_HEADER_MESSAGE_MENU);
} | pavlin-policar/SocialNetwork-Client | src/actions/AppActionCreators.js | JavaScript | mit | 688 |
/**
* Created by suman on 09/05/16.
*/
var core = require('chanakya'),
http = require('http'),
Q = require('q');
core.validator('isPhoneno', function (message) {
var deferred = Q.defer();
http.get('http://apilayer.net/api/validate?access_key=eba101687da317945a45f798464256da&number=' + message + '&country_code=&format=1', function (res) {
res.setEncoding('utf8');
res.on('data', function (d) {
d = JSON.parse(d);
deferred.resolve(d.valid);
});
}).on('error', function (e) {
deferred.reject(new Error(e));
});
return deferred.promise;
});
core.validator('isOTP', function (message) {
return Q.fcall(function () {
return message == 1234;
});
});
core.validator('isStatement', function (message) {
// var deferred = Q.defer();
//
// http.get('http://demo1036853.mockable.io/wit', function (res) {
// res.setEncoding('utf8');
// res.on('data', function (d) {
// d = JSON.parse(d);
// deferred.resolve(d.intent);
// });
// }).on('error', function (e) {
// deferred.reject(new Error(e));
// });
// return deferred.promise;
return Q.fcall(function () {
return (message == 'hi' || message == 'Hi');
});
});
core.validator('isOffer', function (message) {
return Q.fcall(function () {
return (message == 'offer' || message == 'Offer');
});
});
| skeep/FooTelecom | app/validators.js | JavaScript | mit | 1,349 |
import {FileSelect} from 'widget/fileSelect'
import {Form, form} from 'widget/form/form'
import {FormCombo} from 'widget/form/combo'
import {Layout} from 'widget/layout'
import {Panel} from 'widget/panel/panel'
import {activatable} from 'widget/activation/activatable'
import {compose} from 'compose'
import {msg} from 'translate'
import {parseCsvFile$} from 'csv'
import {withRecipe} from '../body/process/recipeContext'
import Color from 'color'
import Icon from 'widget/icon'
import Label from 'widget/label'
import React from 'react'
import _ from 'lodash'
import guid from 'guid'
import styles from './legendImport.module.css'
const fields = {
rows: new Form.Field()
.notEmpty(),
name: new Form.Field()
.notBlank(),
valueColumn: new Form.Field()
.notBlank(),
labelColumn: new Form.Field()
.notBlank(),
colorColumnType: new Form.Field()
.notBlank(),
colorColumn: new Form.Field()
.skip((v, {colorColumnType}) => colorColumnType !== 'single')
.notBlank(),
redColumn: new Form.Field()
.skip((v, {colorColumnType}) => colorColumnType !== 'multiple')
.notBlank(),
greenColumn: new Form.Field()
.skip((v, {colorColumnType}) => colorColumnType !== 'multiple')
.notBlank(),
blueColumn: new Form.Field()
.skip((v, {colorColumnType}) => colorColumnType !== 'multiple')
.notBlank()
}
class _LegendImport extends React.Component {
state = {
columns: undefined,
rows: undefined,
validMappings: undefined
}
render() {
const {activatable: {deactivate}, form} = this.props
const invalid = form.isInvalid()
return (
<Panel type='modal' className={styles.panel}>
<Panel.Header
icon='file-import'
title={msg('map.legendBuilder.import.title')}
/>
<Panel.Content>
{this.renderContent()}
</Panel.Content>
<Panel.Buttons onEscape={deactivate} onEnter={() => invalid || this.save()}>
<Panel.Buttons.Main>
<Panel.Buttons.Cancel onClick={deactivate}/>
<Panel.Buttons.Apply
disabled={invalid}
onClick={() => this.save()}
/>
</Panel.Buttons.Main>
</Panel.Buttons>
</Panel>
)
}
renderContent() {
const {validMappings} = this.state
return (
<Layout>
{this.renderFileSelect()}
{validMappings ? this.renderForm() : null}
</Layout>
)
}
renderForm() {
const {inputs: {colorColumnType}} = this.props
return (
<React.Fragment>
{this.renderColorColumnType()}
{colorColumnType.value === 'single'
? this.renderMapping('colorColumn')
: (
<Layout type='horizontal-nowrap'>
{this.renderMapping('redColumn')}
{this.renderMapping('greenColumn')}
{this.renderMapping('blueColumn')}
</Layout>
)}
<Layout type='horizontal'>
{this.renderMapping('valueColumn')}
{this.renderMapping('labelColumn')}
</Layout>
</React.Fragment>
)
}
renderColorColumnType() {
const {inputs: {colorColumnType}} = this.props
return (
<Form.Buttons
label={msg('map.legendBuilder.import.colorColumnType.label')}
tooltip={msg('map.legendBuilder.import.colorColumnType.tooltip')}
input={colorColumnType}
options={[
{value: 'single', label: msg('map.legendBuilder.import.colorColumnType.single')},
{value: 'multiple', label: msg('map.legendBuilder.import.colorColumnType.multiple')},
]}
/>
)
}
renderMapping(name) {
const {inputs} = this.props
const {validMappings} = this.state
const options = (validMappings[name] || []).map(column => ({value: column, label: column}))
return (
<FormCombo
className={styles.field}
input={inputs[name]}
options={options}
label={msg(['map.legendBuilder.import.column', name, 'label'])}
placeholder={msg(['map.legendBuilder.import.column', name, 'placeholder'])}
tooltip={msg(['map.legendBuilder.import.column', name, 'tooltip'])}
onChange={({value}) => this.selectedColumn(name, value)}
/>
)
}
renderFileSelect() {
const {stream, inputs: {name}} = this.props
return (
<Layout spacing={'compact'}>
<Label>{msg('map.legendBuilder.import.file.label')}</Label>
<FileSelect
single
onSelect={file => this.onSelectFile(file)}>
{name.value
? <div>
{stream('LOAD_CSV_ROWS').active
? <Icon name={'spinner'} className={styles.spinner}/>
: null}
{name.value}
</div>
: null
}
</FileSelect>
</Layout>
)
}
componentDidUpdate(prevProps, prevState) {
const {rows: prevRows} = prevState
const {rows} = this.state
if (rows !== prevRows) {
this.setDefaults()
}
}
selectedColumn(field, column) {
const {inputs} = this.props;
['valueColumn', 'labelColumn', 'colorColumn', 'redColumn', 'blueColumn', 'greenColumn']
.filter(f => f !== field)
.forEach(f => {
if (inputs[f].value === column) {
inputs[f].set(null) // TODO: This is not having any effect
}
})
}
setDefaults() {
const {inputs} = this.props
const {columns, rows} = this.state
const validMappings = getValidMappings(columns, rows)
this.setState({validMappings})
const defaults = getDefaults(columns, rows, validMappings)
Object.keys(defaults).forEach(field => inputs[field].set(defaults[field]))
}
onSelectFile(file) {
const {stream, inputs: {name, rows: rowsInput}} = this.props
name.set(file.name)
stream('LOAD_CSV_ROWS',
parseCsvFile$(file),
({columns, rows}) => {
rowsInput.set(rows)
this.setState({columns, rows})
}
)
}
save() {
const {inputs, recipeActionBuilder, activatable: {deactivate}} = this.props
const {
rows,
valueColumn,
labelColumn,
colorColumnType,
colorColumn,
redColumn,
greenColumn,
blueColumn
} = inputs
const entries = rows.value.map(row => ({
id: guid(),
color: colorColumnType.value === 'single'
? Color(trim(row[colorColumn.value])).hex()
: Color.rgb([
trim(row[redColumn.value]),
trim(row[greenColumn.value]),
trim(row[blueColumn.value])
]).hex(),
value: trim(row[valueColumn.value]),
label: trim(row[labelColumn.value])
}))
recipeActionBuilder('SET_IMPORTED_LEGEND_ENTRIES', {entries})
.set('ui.importedLegendEntries', entries)
.dispatch()
deactivate()
}
}
const policy = () => ({_: 'allow'})
const trim = value => _.isString(value) ? value.trim() : value
export const LegendImport = compose(
_LegendImport,
activatable({
id: 'legendImport',
policy,
alwaysAllow: true
}),
withRecipe(),
form({fields}),
)
export const getValidMappings = (columns, rows) => {
const toInts = column => {
return rows
.map(row => {
const value = row[column]
try {
return _.isInteger(value)
? value
: _.isInteger(parseInt(value))
? parseInt(value)
: null
} catch (_e) {
return false
}
})
.filter(i => _.isInteger(i))
}
const valueColumn = columns.filter(column =>
_.uniq(toInts(column)).length === rows.length
)
const labelColumn = columns.filter(column =>
_.uniq(rows
.map(row => _.isNaN(row[column])
? null
: _.isNil(row[column]) ? null : row[column].toString().trim()
)
.filter(value => value)
).length === rows.length
)
const colorColumn = columns.filter(column =>
_.uniq(rows
.map(row => {
try {
return Color(row[column].trim()).hex()
} catch(_e) {
return false
}
})
.filter(value => value)
).length === rows.length
)
const colorChannel = columns.filter(column =>
toInts(column).length === rows.length
)
return ({valueColumn, labelColumn, colorColumn, redColumn: colorChannel, greenColumn: colorChannel, blueColumn: colorChannel})
}
export const getDefaults = (columns, rows, validMappings) => {
const mappings = _.cloneDeep(validMappings)
const selectedColumn = column => {
if (!column) return
Object.keys(mappings).forEach(key =>
mappings[key] = mappings[key].filter(c => c !== column)
)
}
const firstContaining = (columns, strings) =>
columns.find(column => strings.find(s => column.toLowerCase().includes(s.toLowerCase())))
const colorColumnType = mappings.colorColumn.length
? 'single'
: (mappings.redColumn.length >= 4 &&
mappings.greenColumn.length >= 4 &&
mappings.blueColumn.length >= 4)
? 'multiple'
: null
const colorColumn = mappings.colorColumn.length
? mappings.colorColumn[0]
: null
selectedColumn(colorColumn)
const valueColumn = mappings.valueColumn.length
? colorColumnType === 'single'
? mappings.valueColumn[0]
: firstContaining(mappings.valueColumn, ['class', 'value', 'type'])
: null
selectedColumn(valueColumn)
const labelColumn = mappings.labelColumn.length
? firstContaining(mappings.labelColumn, ['desc', 'label', 'name'])
: null
selectedColumn(labelColumn)
const redColumn = mappings.redColumn.length
? firstContaining(mappings.redColumn, ['red'])
: null
selectedColumn(redColumn)
const greenColumn = mappings.greenColumn.length
? firstContaining(mappings.greenColumn, ['green'])
: null
selectedColumn(greenColumn)
const blueColumn = mappings.blueColumn.length
? firstContaining(mappings.blueColumn, ['blue'])
: null
selectedColumn(blueColumn)
return _.transform({
valueColumn,
labelColumn,
colorColumnType,
colorColumn,
redColumn,
greenColumn,
blueColumn
}, (defaults, value, key) => {
if (value) {
defaults[key] = value
}
return defaults
})
}
| openforis/sepal | modules/gui/src/app/home/map/legendImport.js | JavaScript | mit | 11,891 |
import * as ActionTypes from '../constants/constants';
const initialState = {
isAuthenticated: false,
isFetching: false,
loaded: false,
message: ''
};
const authReducer = (state = initialState, action) => {
switch (action.type) {
case ActionTypes.REQUEST_CHECK_TOKEN:
return {
...state,
isAuthenticated: action.isAuthenticated,
isFetching: action.isFetching,
loaded: false,
};
case ActionTypes.TOKEN_VALID:
return {
...state,
isAuthenticated: action.isAuthenticated,
isFetching: action.isFetching,
loaded: true,
};
case ActionTypes.TOKEN_INVALID:
return {
...state,
isAuthenticated: action.isAuthenticated,
isFetching: action.isFetching,
loaded: true,
};
case ActionTypes.REQUEST_LOGIN:
return {
...state,
isAuthenticated: action.isAuthenticated,
isFetching: action.isFetching,
user: action.creds,
message: '',
};
case ActionTypes.LOGIN_SUCCESS:
return {
...state,
isAuthenticated: true,
isFetching: false,
message: '',
};
case ActionTypes.LOGIN_FAILURE:
return {
...state,
isAuthenticated: false,
isFetching: false,
message: action.message,
};
default:
return state;
}
};
export default authReducer;
| kweestian/kwy | shared/redux/reducer/authReducer.js | JavaScript | mit | 1,482 |
function isString(value) {
if (typeof value !== 'string' || value === '' || value === null) {
return false;
}
return true;
}
function isNumber(value) {
if (typeof Number.parseInt(value, 10) !== 'number'
|| Number.isNaN(value) || value === null) {
return false;
}
return true;
}
function isInRange(value, start, end) {
if (value < start || value > end) {
return false;
}
return true;
}
function isEmail(value) {
const atIndex = value.indexOf('@');
if (atIndex < 1) {
return false;
}
if (value.substring(atIndex, value.length).indexOf('.') < 1) {
return false;
}
return true;
}
module.exports = {
isNumber,
isString,
isInRange,
isEmail,
};
| Team-Fade/teamwork-web-applications-with-node.js | utils/validator/utils/validator.utils.js | JavaScript | mit | 766 |
'use strict';
/*!
* Snakeskin
* https://github.com/SnakeskinTpl/Snakeskin
*
* Released under the MIT license
* https://github.com/SnakeskinTpl/Snakeskin/blob/master/LICENSE
*/
import Snakeskin from '../core';
Snakeskin.addDirective(
'op',
{
block: true,
group: 'op',
logic: true
}
);
| SnakeskinTpl/Snakeskin | src/directives/op.js | JavaScript | mit | 304 |
import mongoose from 'mongoose';
const friendSchema = mongoose.Schema({
"id": Number,
"gender": String,
"firstName": String,
"lastName": String,
"email": String,
"ipAddress": String,
"job": String,
"company": String,
"birthDate": Date,
"latitude": String,
"longitude": String,
});
const Friend = mongoose.model('Friend', friendSchema);
export default Friend;
| Rockncoder/mern-full | server/friend.js | JavaScript | mit | 384 |
import { isSticky } from '~/lib/utils/sticky';
describe('sticky', () => {
const el = {
offsetTop: 0,
classList: {},
};
beforeEach(() => {
el.offsetTop = 0;
el.classList.add = jasmine.createSpy('spy');
el.classList.remove = jasmine.createSpy('spy');
});
describe('classList.remove', () => {
it('does not call classList.remove when stuck', () => {
isSticky(el, 0, 0);
expect(
el.classList.remove,
).not.toHaveBeenCalled();
});
it('calls classList.remove when not stuck', () => {
el.offsetTop = 10;
isSticky(el, 0, 0);
expect(
el.classList.remove,
).toHaveBeenCalledWith('is-stuck');
});
});
describe('classList.add', () => {
it('calls classList.add when stuck', () => {
isSticky(el, 0, 0);
expect(
el.classList.add,
).toHaveBeenCalledWith('is-stuck');
});
it('does not call classList.add when not stuck', () => {
el.offsetTop = 10;
isSticky(el, 0, 0);
expect(
el.classList.add,
).not.toHaveBeenCalled();
});
});
});
| t-zuehlsdorff/gitlabhq | spec/javascripts/lib/utils/sticky_spec.js | JavaScript | mit | 1,108 |
import React from 'react';
import { assert } from 'chai';
import { createShallow, getClasses } from '../test-utils';
import CardContent from './CardContent';
describe('<CardContent />', () => {
let shallow;
let classes;
before(() => {
shallow = createShallow({ untilSelector: 'CardContent' });
classes = getClasses(<CardContent />);
});
it('should render a div with the root class', () => {
const wrapper = shallow(<CardContent />);
assert.strictEqual(wrapper.name(), 'div');
assert.strictEqual(wrapper.hasClass(classes.root), true);
});
});
| cherniavskii/material-ui | packages/material-ui/src/Card/CardContent.test.js | JavaScript | mit | 577 |
(function() {
"use strict";
var src$parser$$default = (function() {
"use strict";
/*
* Generated by PEG.js 0.9.0.
*
* http://pegjs.org/
*/
function peg$subclass(child, parent) {
function ctor() { this.constructor = child; }
ctor.prototype = parent.prototype;
child.prototype = new ctor();
}
function peg$SyntaxError(message, expected, found, location) {
this.message = message;
this.expected = expected;
this.found = found;
this.location = location;
this.name = "SyntaxError";
if (typeof Error.captureStackTrace === "function") {
Error.captureStackTrace(this, peg$SyntaxError);
}
}
peg$subclass(peg$SyntaxError, Error);
function peg$parse(input) {
var options = arguments.length > 1 ? arguments[1] : {},
parser = this,
peg$FAILED = {},
peg$startRuleFunctions = { start: peg$parsestart },
peg$startRuleFunction = peg$parsestart,
peg$c0 = function(elements) {
return {
type : 'messageFormatPattern',
elements: elements,
location: location()
};
},
peg$c1 = function(text) {
var string = '',
i, j, outerLen, inner, innerLen;
for (i = 0, outerLen = text.length; i < outerLen; i += 1) {
inner = text[i];
for (j = 0, innerLen = inner.length; j < innerLen; j += 1) {
string += inner[j];
}
}
return string;
},
peg$c2 = function(messageText) {
return {
type : 'messageTextElement',
value: messageText,
location: location()
};
},
peg$c3 = /^[^ \t\n\r,.+={}#]/,
peg$c4 = { type: "class", value: "[^ \\t\\n\\r,.+={}#]", description: "[^ \\t\\n\\r,.+={}#]" },
peg$c5 = "{",
peg$c6 = { type: "literal", value: "{", description: "\"{\"" },
peg$c7 = ",",
peg$c8 = { type: "literal", value: ",", description: "\",\"" },
peg$c9 = "}",
peg$c10 = { type: "literal", value: "}", description: "\"}\"" },
peg$c11 = function(id, format) {
return {
type : 'argumentElement',
id : id,
format: format && format[2],
location: location()
};
},
peg$c12 = "number",
peg$c13 = { type: "literal", value: "number", description: "\"number\"" },
peg$c14 = "date",
peg$c15 = { type: "literal", value: "date", description: "\"date\"" },
peg$c16 = "time",
peg$c17 = { type: "literal", value: "time", description: "\"time\"" },
peg$c18 = function(type, style) {
return {
type : type + 'Format',
style: style && style[2],
location: location()
};
},
peg$c19 = "plural",
peg$c20 = { type: "literal", value: "plural", description: "\"plural\"" },
peg$c21 = function(pluralStyle) {
return {
type : pluralStyle.type,
ordinal: false,
offset : pluralStyle.offset || 0,
options: pluralStyle.options,
location: location()
};
},
peg$c22 = "selectordinal",
peg$c23 = { type: "literal", value: "selectordinal", description: "\"selectordinal\"" },
peg$c24 = function(pluralStyle) {
return {
type : pluralStyle.type,
ordinal: true,
offset : pluralStyle.offset || 0,
options: pluralStyle.options,
location: location()
}
},
peg$c25 = "select",
peg$c26 = { type: "literal", value: "select", description: "\"select\"" },
peg$c27 = function(options) {
return {
type : 'selectFormat',
options: options,
location: location()
};
},
peg$c28 = "=",
peg$c29 = { type: "literal", value: "=", description: "\"=\"" },
peg$c30 = function(selector, pattern) {
return {
type : 'optionalFormatPattern',
selector: selector,
value : pattern,
location: location()
};
},
peg$c31 = "offset:",
peg$c32 = { type: "literal", value: "offset:", description: "\"offset:\"" },
peg$c33 = function(number) {
return number;
},
peg$c34 = function(offset, options) {
return {
type : 'pluralFormat',
offset : offset,
options: options,
location: location()
};
},
peg$c35 = { type: "other", description: "whitespace" },
peg$c36 = /^[ \t\n\r]/,
peg$c37 = { type: "class", value: "[ \\t\\n\\r]", description: "[ \\t\\n\\r]" },
peg$c38 = { type: "other", description: "optionalWhitespace" },
peg$c39 = /^[0-9]/,
peg$c40 = { type: "class", value: "[0-9]", description: "[0-9]" },
peg$c41 = /^[0-9a-f]/i,
peg$c42 = { type: "class", value: "[0-9a-f]i", description: "[0-9a-f]i" },
peg$c43 = "0",
peg$c44 = { type: "literal", value: "0", description: "\"0\"" },
peg$c45 = /^[1-9]/,
peg$c46 = { type: "class", value: "[1-9]", description: "[1-9]" },
peg$c47 = function(digits) {
return parseInt(digits, 10);
},
peg$c48 = /^[^{}\\\0-\x1F \t\n\r]/,
peg$c49 = { type: "class", value: "[^{}\\\\\\0-\\x1F\\x7f \\t\\n\\r]", description: "[^{}\\\\\\0-\\x1F\\x7f \\t\\n\\r]" },
peg$c50 = "\\\\",
peg$c51 = { type: "literal", value: "\\\\", description: "\"\\\\\\\\\"" },
peg$c52 = function() { return '\\'; },
peg$c53 = "\\#",
peg$c54 = { type: "literal", value: "\\#", description: "\"\\\\#\"" },
peg$c55 = function() { return '\\#'; },
peg$c56 = "\\{",
peg$c57 = { type: "literal", value: "\\{", description: "\"\\\\{\"" },
peg$c58 = function() { return '\u007B'; },
peg$c59 = "\\}",
peg$c60 = { type: "literal", value: "\\}", description: "\"\\\\}\"" },
peg$c61 = function() { return '\u007D'; },
peg$c62 = "\\u",
peg$c63 = { type: "literal", value: "\\u", description: "\"\\\\u\"" },
peg$c64 = function(digits) {
return String.fromCharCode(parseInt(digits, 16));
},
peg$c65 = function(chars) { return chars.join(''); },
peg$currPos = 0,
peg$savedPos = 0,
peg$posDetailsCache = [{ line: 1, column: 1, seenCR: false }],
peg$maxFailPos = 0,
peg$maxFailExpected = [],
peg$silentFails = 0,
peg$result;
if ("startRule" in options) {
if (!(options.startRule in peg$startRuleFunctions)) {
throw new Error("Can't start parsing from rule \"" + options.startRule + "\".");
}
peg$startRuleFunction = peg$startRuleFunctions[options.startRule];
}
function text() {
return input.substring(peg$savedPos, peg$currPos);
}
function location() {
return peg$computeLocation(peg$savedPos, peg$currPos);
}
function expected(description) {
throw peg$buildException(
null,
[{ type: "other", description: description }],
input.substring(peg$savedPos, peg$currPos),
peg$computeLocation(peg$savedPos, peg$currPos)
);
}
function error(message) {
throw peg$buildException(
message,
null,
input.substring(peg$savedPos, peg$currPos),
peg$computeLocation(peg$savedPos, peg$currPos)
);
}
function peg$computePosDetails(pos) {
var details = peg$posDetailsCache[pos],
p, ch;
if (details) {
return details;
} else {
p = pos - 1;
while (!peg$posDetailsCache[p]) {
p--;
}
details = peg$posDetailsCache[p];
details = {
line: details.line,
column: details.column,
seenCR: details.seenCR
};
while (p < pos) {
ch = input.charAt(p);
if (ch === "\n") {
if (!details.seenCR) { details.line++; }
details.column = 1;
details.seenCR = false;
} else if (ch === "\r" || ch === "\u2028" || ch === "\u2029") {
details.line++;
details.column = 1;
details.seenCR = true;
} else {
details.column++;
details.seenCR = false;
}
p++;
}
peg$posDetailsCache[pos] = details;
return details;
}
}
function peg$computeLocation(startPos, endPos) {
var startPosDetails = peg$computePosDetails(startPos),
endPosDetails = peg$computePosDetails(endPos);
return {
start: {
offset: startPos,
line: startPosDetails.line,
column: startPosDetails.column
},
end: {
offset: endPos,
line: endPosDetails.line,
column: endPosDetails.column
}
};
}
function peg$fail(expected) {
if (peg$currPos < peg$maxFailPos) { return; }
if (peg$currPos > peg$maxFailPos) {
peg$maxFailPos = peg$currPos;
peg$maxFailExpected = [];
}
peg$maxFailExpected.push(expected);
}
function peg$buildException(message, expected, found, location) {
function cleanupExpected(expected) {
var i = 1;
expected.sort(function(a, b) {
if (a.description < b.description) {
return -1;
} else if (a.description > b.description) {
return 1;
} else {
return 0;
}
});
while (i < expected.length) {
if (expected[i - 1] === expected[i]) {
expected.splice(i, 1);
} else {
i++;
}
}
}
function buildMessage(expected, found) {
function stringEscape(s) {
function hex(ch) { return ch.charCodeAt(0).toString(16).toUpperCase(); }
return s
.replace(/\\/g, '\\\\')
.replace(/"/g, '\\"')
.replace(/\x08/g, '\\b')
.replace(/\t/g, '\\t')
.replace(/\n/g, '\\n')
.replace(/\f/g, '\\f')
.replace(/\r/g, '\\r')
.replace(/[\x00-\x07\x0B\x0E\x0F]/g, function(ch) { return '\\x0' + hex(ch); })
.replace(/[\x10-\x1F\x80-\xFF]/g, function(ch) { return '\\x' + hex(ch); })
.replace(/[\u0100-\u0FFF]/g, function(ch) { return '\\u0' + hex(ch); })
.replace(/[\u1000-\uFFFF]/g, function(ch) { return '\\u' + hex(ch); });
}
var expectedDescs = new Array(expected.length),
expectedDesc, foundDesc, i;
for (i = 0; i < expected.length; i++) {
expectedDescs[i] = expected[i].description;
}
expectedDesc = expected.length > 1
? expectedDescs.slice(0, -1).join(", ")
+ " or "
+ expectedDescs[expected.length - 1]
: expectedDescs[0];
foundDesc = found ? "\"" + stringEscape(found) + "\"" : "end of input";
return "Expected " + expectedDesc + " but " + foundDesc + " found.";
}
if (expected !== null) {
cleanupExpected(expected);
}
return new peg$SyntaxError(
message !== null ? message : buildMessage(expected, found),
expected,
found,
location
);
}
function peg$parsestart() {
var s0;
s0 = peg$parsemessageFormatPattern();
return s0;
}
function peg$parsemessageFormatPattern() {
var s0, s1, s2;
s0 = peg$currPos;
s1 = [];
s2 = peg$parsemessageFormatElement();
while (s2 !== peg$FAILED) {
s1.push(s2);
s2 = peg$parsemessageFormatElement();
}
if (s1 !== peg$FAILED) {
peg$savedPos = s0;
s1 = peg$c0(s1);
}
s0 = s1;
return s0;
}
function peg$parsemessageFormatElement() {
var s0;
s0 = peg$parsemessageTextElement();
if (s0 === peg$FAILED) {
s0 = peg$parseargumentElement();
}
return s0;
}
function peg$parsemessageText() {
var s0, s1, s2, s3, s4, s5;
s0 = peg$currPos;
s1 = [];
s2 = peg$currPos;
s3 = peg$parse_();
if (s3 !== peg$FAILED) {
s4 = peg$parsechars();
if (s4 !== peg$FAILED) {
s5 = peg$parse_();
if (s5 !== peg$FAILED) {
s3 = [s3, s4, s5];
s2 = s3;
} else {
peg$currPos = s2;
s2 = peg$FAILED;
}
} else {
peg$currPos = s2;
s2 = peg$FAILED;
}
} else {
peg$currPos = s2;
s2 = peg$FAILED;
}
if (s2 !== peg$FAILED) {
while (s2 !== peg$FAILED) {
s1.push(s2);
s2 = peg$currPos;
s3 = peg$parse_();
if (s3 !== peg$FAILED) {
s4 = peg$parsechars();
if (s4 !== peg$FAILED) {
s5 = peg$parse_();
if (s5 !== peg$FAILED) {
s3 = [s3, s4, s5];
s2 = s3;
} else {
peg$currPos = s2;
s2 = peg$FAILED;
}
} else {
peg$currPos = s2;
s2 = peg$FAILED;
}
} else {
peg$currPos = s2;
s2 = peg$FAILED;
}
}
} else {
s1 = peg$FAILED;
}
if (s1 !== peg$FAILED) {
peg$savedPos = s0;
s1 = peg$c1(s1);
}
s0 = s1;
if (s0 === peg$FAILED) {
s0 = peg$currPos;
s1 = peg$parsews();
if (s1 !== peg$FAILED) {
s0 = input.substring(s0, peg$currPos);
} else {
s0 = s1;
}
}
return s0;
}
function peg$parsemessageTextElement() {
var s0, s1;
s0 = peg$currPos;
s1 = peg$parsemessageText();
if (s1 !== peg$FAILED) {
peg$savedPos = s0;
s1 = peg$c2(s1);
}
s0 = s1;
return s0;
}
function peg$parseargument() {
var s0, s1, s2;
s0 = peg$parsenumber();
if (s0 === peg$FAILED) {
s0 = peg$currPos;
s1 = [];
if (peg$c3.test(input.charAt(peg$currPos))) {
s2 = input.charAt(peg$currPos);
peg$currPos++;
} else {
s2 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c4); }
}
if (s2 !== peg$FAILED) {
while (s2 !== peg$FAILED) {
s1.push(s2);
if (peg$c3.test(input.charAt(peg$currPos))) {
s2 = input.charAt(peg$currPos);
peg$currPos++;
} else {
s2 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c4); }
}
}
} else {
s1 = peg$FAILED;
}
if (s1 !== peg$FAILED) {
s0 = input.substring(s0, peg$currPos);
} else {
s0 = s1;
}
}
return s0;
}
function peg$parseargumentElement() {
var s0, s1, s2, s3, s4, s5, s6, s7, s8;
s0 = peg$currPos;
if (input.charCodeAt(peg$currPos) === 123) {
s1 = peg$c5;
peg$currPos++;
} else {
s1 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c6); }
}
if (s1 !== peg$FAILED) {
s2 = peg$parse_();
if (s2 !== peg$FAILED) {
s3 = peg$parseargument();
if (s3 !== peg$FAILED) {
s4 = peg$parse_();
if (s4 !== peg$FAILED) {
s5 = peg$currPos;
if (input.charCodeAt(peg$currPos) === 44) {
s6 = peg$c7;
peg$currPos++;
} else {
s6 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c8); }
}
if (s6 !== peg$FAILED) {
s7 = peg$parse_();
if (s7 !== peg$FAILED) {
s8 = peg$parseelementFormat();
if (s8 !== peg$FAILED) {
s6 = [s6, s7, s8];
s5 = s6;
} else {
peg$currPos = s5;
s5 = peg$FAILED;
}
} else {
peg$currPos = s5;
s5 = peg$FAILED;
}
} else {
peg$currPos = s5;
s5 = peg$FAILED;
}
if (s5 === peg$FAILED) {
s5 = null;
}
if (s5 !== peg$FAILED) {
s6 = peg$parse_();
if (s6 !== peg$FAILED) {
if (input.charCodeAt(peg$currPos) === 125) {
s7 = peg$c9;
peg$currPos++;
} else {
s7 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c10); }
}
if (s7 !== peg$FAILED) {
peg$savedPos = s0;
s1 = peg$c11(s3, s5);
s0 = s1;
} else {
peg$currPos = s0;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$FAILED;
}
return s0;
}
function peg$parseelementFormat() {
var s0;
s0 = peg$parsesimpleFormat();
if (s0 === peg$FAILED) {
s0 = peg$parsepluralFormat();
if (s0 === peg$FAILED) {
s0 = peg$parseselectOrdinalFormat();
if (s0 === peg$FAILED) {
s0 = peg$parseselectFormat();
}
}
}
return s0;
}
function peg$parsesimpleFormat() {
var s0, s1, s2, s3, s4, s5, s6;
s0 = peg$currPos;
if (input.substr(peg$currPos, 6) === peg$c12) {
s1 = peg$c12;
peg$currPos += 6;
} else {
s1 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c13); }
}
if (s1 === peg$FAILED) {
if (input.substr(peg$currPos, 4) === peg$c14) {
s1 = peg$c14;
peg$currPos += 4;
} else {
s1 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c15); }
}
if (s1 === peg$FAILED) {
if (input.substr(peg$currPos, 4) === peg$c16) {
s1 = peg$c16;
peg$currPos += 4;
} else {
s1 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c17); }
}
}
}
if (s1 !== peg$FAILED) {
s2 = peg$parse_();
if (s2 !== peg$FAILED) {
s3 = peg$currPos;
if (input.charCodeAt(peg$currPos) === 44) {
s4 = peg$c7;
peg$currPos++;
} else {
s4 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c8); }
}
if (s4 !== peg$FAILED) {
s5 = peg$parse_();
if (s5 !== peg$FAILED) {
s6 = peg$parsechars();
if (s6 !== peg$FAILED) {
s4 = [s4, s5, s6];
s3 = s4;
} else {
peg$currPos = s3;
s3 = peg$FAILED;
}
} else {
peg$currPos = s3;
s3 = peg$FAILED;
}
} else {
peg$currPos = s3;
s3 = peg$FAILED;
}
if (s3 === peg$FAILED) {
s3 = null;
}
if (s3 !== peg$FAILED) {
peg$savedPos = s0;
s1 = peg$c18(s1, s3);
s0 = s1;
} else {
peg$currPos = s0;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$FAILED;
}
return s0;
}
function peg$parsepluralFormat() {
var s0, s1, s2, s3, s4, s5;
s0 = peg$currPos;
if (input.substr(peg$currPos, 6) === peg$c19) {
s1 = peg$c19;
peg$currPos += 6;
} else {
s1 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c20); }
}
if (s1 !== peg$FAILED) {
s2 = peg$parse_();
if (s2 !== peg$FAILED) {
if (input.charCodeAt(peg$currPos) === 44) {
s3 = peg$c7;
peg$currPos++;
} else {
s3 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c8); }
}
if (s3 !== peg$FAILED) {
s4 = peg$parse_();
if (s4 !== peg$FAILED) {
s5 = peg$parsepluralStyle();
if (s5 !== peg$FAILED) {
peg$savedPos = s0;
s1 = peg$c21(s5);
s0 = s1;
} else {
peg$currPos = s0;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$FAILED;
}
return s0;
}
function peg$parseselectOrdinalFormat() {
var s0, s1, s2, s3, s4, s5;
s0 = peg$currPos;
if (input.substr(peg$currPos, 13) === peg$c22) {
s1 = peg$c22;
peg$currPos += 13;
} else {
s1 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c23); }
}
if (s1 !== peg$FAILED) {
s2 = peg$parse_();
if (s2 !== peg$FAILED) {
if (input.charCodeAt(peg$currPos) === 44) {
s3 = peg$c7;
peg$currPos++;
} else {
s3 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c8); }
}
if (s3 !== peg$FAILED) {
s4 = peg$parse_();
if (s4 !== peg$FAILED) {
s5 = peg$parsepluralStyle();
if (s5 !== peg$FAILED) {
peg$savedPos = s0;
s1 = peg$c24(s5);
s0 = s1;
} else {
peg$currPos = s0;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$FAILED;
}
return s0;
}
function peg$parseselectFormat() {
var s0, s1, s2, s3, s4, s5, s6;
s0 = peg$currPos;
if (input.substr(peg$currPos, 6) === peg$c25) {
s1 = peg$c25;
peg$currPos += 6;
} else {
s1 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c26); }
}
if (s1 !== peg$FAILED) {
s2 = peg$parse_();
if (s2 !== peg$FAILED) {
if (input.charCodeAt(peg$currPos) === 44) {
s3 = peg$c7;
peg$currPos++;
} else {
s3 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c8); }
}
if (s3 !== peg$FAILED) {
s4 = peg$parse_();
if (s4 !== peg$FAILED) {
s5 = [];
s6 = peg$parseoptionalFormatPattern();
if (s6 !== peg$FAILED) {
while (s6 !== peg$FAILED) {
s5.push(s6);
s6 = peg$parseoptionalFormatPattern();
}
} else {
s5 = peg$FAILED;
}
if (s5 !== peg$FAILED) {
peg$savedPos = s0;
s1 = peg$c27(s5);
s0 = s1;
} else {
peg$currPos = s0;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$FAILED;
}
return s0;
}
function peg$parseselector() {
var s0, s1, s2, s3;
s0 = peg$currPos;
s1 = peg$currPos;
if (input.charCodeAt(peg$currPos) === 61) {
s2 = peg$c28;
peg$currPos++;
} else {
s2 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c29); }
}
if (s2 !== peg$FAILED) {
s3 = peg$parsenumber();
if (s3 !== peg$FAILED) {
s2 = [s2, s3];
s1 = s2;
} else {
peg$currPos = s1;
s1 = peg$FAILED;
}
} else {
peg$currPos = s1;
s1 = peg$FAILED;
}
if (s1 !== peg$FAILED) {
s0 = input.substring(s0, peg$currPos);
} else {
s0 = s1;
}
if (s0 === peg$FAILED) {
s0 = peg$parsechars();
}
return s0;
}
function peg$parseoptionalFormatPattern() {
var s0, s1, s2, s3, s4, s5, s6, s7, s8;
s0 = peg$currPos;
s1 = peg$parse_();
if (s1 !== peg$FAILED) {
s2 = peg$parseselector();
if (s2 !== peg$FAILED) {
s3 = peg$parse_();
if (s3 !== peg$FAILED) {
if (input.charCodeAt(peg$currPos) === 123) {
s4 = peg$c5;
peg$currPos++;
} else {
s4 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c6); }
}
if (s4 !== peg$FAILED) {
s5 = peg$parse_();
if (s5 !== peg$FAILED) {
s6 = peg$parsemessageFormatPattern();
if (s6 !== peg$FAILED) {
s7 = peg$parse_();
if (s7 !== peg$FAILED) {
if (input.charCodeAt(peg$currPos) === 125) {
s8 = peg$c9;
peg$currPos++;
} else {
s8 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c10); }
}
if (s8 !== peg$FAILED) {
peg$savedPos = s0;
s1 = peg$c30(s2, s6);
s0 = s1;
} else {
peg$currPos = s0;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$FAILED;
}
return s0;
}
function peg$parseoffset() {
var s0, s1, s2, s3;
s0 = peg$currPos;
if (input.substr(peg$currPos, 7) === peg$c31) {
s1 = peg$c31;
peg$currPos += 7;
} else {
s1 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c32); }
}
if (s1 !== peg$FAILED) {
s2 = peg$parse_();
if (s2 !== peg$FAILED) {
s3 = peg$parsenumber();
if (s3 !== peg$FAILED) {
peg$savedPos = s0;
s1 = peg$c33(s3);
s0 = s1;
} else {
peg$currPos = s0;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$FAILED;
}
return s0;
}
function peg$parsepluralStyle() {
var s0, s1, s2, s3, s4;
s0 = peg$currPos;
s1 = peg$parseoffset();
if (s1 === peg$FAILED) {
s1 = null;
}
if (s1 !== peg$FAILED) {
s2 = peg$parse_();
if (s2 !== peg$FAILED) {
s3 = [];
s4 = peg$parseoptionalFormatPattern();
if (s4 !== peg$FAILED) {
while (s4 !== peg$FAILED) {
s3.push(s4);
s4 = peg$parseoptionalFormatPattern();
}
} else {
s3 = peg$FAILED;
}
if (s3 !== peg$FAILED) {
peg$savedPos = s0;
s1 = peg$c34(s1, s3);
s0 = s1;
} else {
peg$currPos = s0;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$FAILED;
}
return s0;
}
function peg$parsews() {
var s0, s1;
peg$silentFails++;
s0 = [];
if (peg$c36.test(input.charAt(peg$currPos))) {
s1 = input.charAt(peg$currPos);
peg$currPos++;
} else {
s1 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c37); }
}
if (s1 !== peg$FAILED) {
while (s1 !== peg$FAILED) {
s0.push(s1);
if (peg$c36.test(input.charAt(peg$currPos))) {
s1 = input.charAt(peg$currPos);
peg$currPos++;
} else {
s1 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c37); }
}
}
} else {
s0 = peg$FAILED;
}
peg$silentFails--;
if (s0 === peg$FAILED) {
s1 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c35); }
}
return s0;
}
function peg$parse_() {
var s0, s1, s2;
peg$silentFails++;
s0 = peg$currPos;
s1 = [];
s2 = peg$parsews();
while (s2 !== peg$FAILED) {
s1.push(s2);
s2 = peg$parsews();
}
if (s1 !== peg$FAILED) {
s0 = input.substring(s0, peg$currPos);
} else {
s0 = s1;
}
peg$silentFails--;
if (s0 === peg$FAILED) {
s1 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c38); }
}
return s0;
}
function peg$parsedigit() {
var s0;
if (peg$c39.test(input.charAt(peg$currPos))) {
s0 = input.charAt(peg$currPos);
peg$currPos++;
} else {
s0 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c40); }
}
return s0;
}
function peg$parsehexDigit() {
var s0;
if (peg$c41.test(input.charAt(peg$currPos))) {
s0 = input.charAt(peg$currPos);
peg$currPos++;
} else {
s0 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c42); }
}
return s0;
}
function peg$parsenumber() {
var s0, s1, s2, s3, s4, s5;
s0 = peg$currPos;
if (input.charCodeAt(peg$currPos) === 48) {
s1 = peg$c43;
peg$currPos++;
} else {
s1 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c44); }
}
if (s1 === peg$FAILED) {
s1 = peg$currPos;
s2 = peg$currPos;
if (peg$c45.test(input.charAt(peg$currPos))) {
s3 = input.charAt(peg$currPos);
peg$currPos++;
} else {
s3 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c46); }
}
if (s3 !== peg$FAILED) {
s4 = [];
s5 = peg$parsedigit();
while (s5 !== peg$FAILED) {
s4.push(s5);
s5 = peg$parsedigit();
}
if (s4 !== peg$FAILED) {
s3 = [s3, s4];
s2 = s3;
} else {
peg$currPos = s2;
s2 = peg$FAILED;
}
} else {
peg$currPos = s2;
s2 = peg$FAILED;
}
if (s2 !== peg$FAILED) {
s1 = input.substring(s1, peg$currPos);
} else {
s1 = s2;
}
}
if (s1 !== peg$FAILED) {
peg$savedPos = s0;
s1 = peg$c47(s1);
}
s0 = s1;
return s0;
}
function peg$parsechar() {
var s0, s1, s2, s3, s4, s5, s6, s7;
if (peg$c48.test(input.charAt(peg$currPos))) {
s0 = input.charAt(peg$currPos);
peg$currPos++;
} else {
s0 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c49); }
}
if (s0 === peg$FAILED) {
s0 = peg$currPos;
if (input.substr(peg$currPos, 2) === peg$c50) {
s1 = peg$c50;
peg$currPos += 2;
} else {
s1 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c51); }
}
if (s1 !== peg$FAILED) {
peg$savedPos = s0;
s1 = peg$c52();
}
s0 = s1;
if (s0 === peg$FAILED) {
s0 = peg$currPos;
if (input.substr(peg$currPos, 2) === peg$c53) {
s1 = peg$c53;
peg$currPos += 2;
} else {
s1 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c54); }
}
if (s1 !== peg$FAILED) {
peg$savedPos = s0;
s1 = peg$c55();
}
s0 = s1;
if (s0 === peg$FAILED) {
s0 = peg$currPos;
if (input.substr(peg$currPos, 2) === peg$c56) {
s1 = peg$c56;
peg$currPos += 2;
} else {
s1 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c57); }
}
if (s1 !== peg$FAILED) {
peg$savedPos = s0;
s1 = peg$c58();
}
s0 = s1;
if (s0 === peg$FAILED) {
s0 = peg$currPos;
if (input.substr(peg$currPos, 2) === peg$c59) {
s1 = peg$c59;
peg$currPos += 2;
} else {
s1 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c60); }
}
if (s1 !== peg$FAILED) {
peg$savedPos = s0;
s1 = peg$c61();
}
s0 = s1;
if (s0 === peg$FAILED) {
s0 = peg$currPos;
if (input.substr(peg$currPos, 2) === peg$c62) {
s1 = peg$c62;
peg$currPos += 2;
} else {
s1 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c63); }
}
if (s1 !== peg$FAILED) {
s2 = peg$currPos;
s3 = peg$currPos;
s4 = peg$parsehexDigit();
if (s4 !== peg$FAILED) {
s5 = peg$parsehexDigit();
if (s5 !== peg$FAILED) {
s6 = peg$parsehexDigit();
if (s6 !== peg$FAILED) {
s7 = peg$parsehexDigit();
if (s7 !== peg$FAILED) {
s4 = [s4, s5, s6, s7];
s3 = s4;
} else {
peg$currPos = s3;
s3 = peg$FAILED;
}
} else {
peg$currPos = s3;
s3 = peg$FAILED;
}
} else {
peg$currPos = s3;
s3 = peg$FAILED;
}
} else {
peg$currPos = s3;
s3 = peg$FAILED;
}
if (s3 !== peg$FAILED) {
s2 = input.substring(s2, peg$currPos);
} else {
s2 = s3;
}
if (s2 !== peg$FAILED) {
peg$savedPos = s0;
s1 = peg$c64(s2);
s0 = s1;
} else {
peg$currPos = s0;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$FAILED;
}
}
}
}
}
}
return s0;
}
function peg$parsechars() {
var s0, s1, s2;
s0 = peg$currPos;
s1 = [];
s2 = peg$parsechar();
if (s2 !== peg$FAILED) {
while (s2 !== peg$FAILED) {
s1.push(s2);
s2 = peg$parsechar();
}
} else {
s1 = peg$FAILED;
}
if (s1 !== peg$FAILED) {
peg$savedPos = s0;
s1 = peg$c65(s1);
}
s0 = s1;
return s0;
}
peg$result = peg$startRuleFunction();
if (peg$result !== peg$FAILED && peg$currPos === input.length) {
return peg$result;
} else {
if (peg$result !== peg$FAILED && peg$currPos < input.length) {
peg$fail({ type: "end", description: "end of input" });
}
throw peg$buildException(
null,
peg$maxFailExpected,
peg$maxFailPos < input.length ? input.charAt(peg$maxFailPos) : null,
peg$maxFailPos < input.length
? peg$computeLocation(peg$maxFailPos, peg$maxFailPos + 1)
: peg$computeLocation(peg$maxFailPos, peg$maxFailPos)
);
}
}
return {
SyntaxError: peg$SyntaxError,
parse: peg$parse
};
})();
this['IntlMessageFormatParser'] = src$parser$$default;
}).call(this);
//# sourceMappingURL=parser.js.map | aggiedefenders/aggiedefenders.github.io | node_modules/intl-messageformat-parser/dist/parser.js | JavaScript | mit | 44,213 |
require('dotenv').config({silent:true});
var feathers = require('feathers');
var bodyParser = require('body-parser');
var rest = require('feathers-rest');
var socketio = require('feathers-socketio');
var fms = require('../lib');
var AutoService = fms.AutoService;
const hooks = require('feathers-hooks');
const errorHandler = require('feathers-errors/handler');
const connection = {
host : process.env.FILEMAKER_SERVER_ADDRESS,
db : 'Test',
user: process.env.FILEMAKER_USER,
pass: process.env.FILEMAKER_PASS
};
const model = {
layout : 'Todos',
idField : 'id'
};
// Create a feathers instance.
const app = feathers()
.configure(hooks())
// Enable REST services
.configure(rest())
// Enable REST services
.configure(socketio())
// Turn on JSON parser for REST services
.use(bodyParser.json())
// Turn on URL-encoded parser for REST services
.use(bodyParser.urlencoded({ extended: true }))
.configure( AutoService({
connection,
prefix : 'auto'
}))
.use(errorHandler());
// Create a service with a default page size of 2 items
// and a maximum size of 4
app.use('/todos', fms({
connection, model,
paginate: {
default: 2,
max: 4
}
}));
// Start the server
module.exports = app.listen(3030);
console.log('Feathers Todo Filemaker service running on 127.0.0.1:3030');
| geistinteractive/feathers-filemaker | test/test-app.js | JavaScript | mit | 1,334 |
// Math.extend v0.5.0
// Copyright (c) 2008-2009 Laurent Fortin
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Object.extend(Math, {
sum: function(list) {
var sum = 0;
for(var i = 0, len = list.length; i < len; i++)
sum += list[i];
return sum;
},
mean: function(list) {
return list.length ? this.sum(list) / list.length : false;
},
median: function(list) {
if(!list.length) return false;
list = this.sort(list);
if(list.length.isEven()) {
return this.mean([list[list.length / 2 - 1], list[list.length / 2]]);
} else {
return list[(list.length / 2).floor()];
}
},
variance: function(list) {
if(!list.length) return false;
var mean = this.mean(list);
var dev = [];
for(var i = 0, len = list.length; i < len; i++)
dev.push(this.pow(list[i] - mean, 2));
return this.mean(dev);
},
stdDev: function(list) {
return this.sqrt(this.variance(list));
},
sort: function(list, desc) {
// we output a clone of the original array
return list.clone().sort(function(a, b) { return desc ? b - a : a - b });
},
baseLog: function(n, base) {
return this.log(n) / this.log(base || 10);
},
factorize: function(n) {
if(!n.isNatural(true) || n == 1) return false;
if(n.isPrime()) return [n];
var sqrtOfN = this.sqrt(n);
for(var i = 2; i <= sqrtOfN; i++)
if((n % i).isNull() && i.isPrime())
return [i, this.factorize(n / i)].flatten();
},
sinh: function(n) {
return (this.exp(n) - this.exp(-n)) / 2;
},
cosh: function(n) {
return (this.exp(n) + this.exp(-n)) / 2;
},
tanh: function(n) {
return this.sinh(n) / this.cosh(n);
}
});
Object.extend(Number.prototype, {
isNaN: function() {
return isNaN(this);
},
isNull: function() {
return this == 0;
},
isEven: function() {
if(!this.isInteger()) return false;
return(this % 2 ? false : true);
},
isOdd: function() {
if(!this.isInteger()) return false;
return(this % 2 ? true : false);
},
isInteger: function(excludeZero) {
// if this == NaN ...
if(this.isNaN()) return false;
if(excludeZero && this.isNull()) return false;
return (this - this.floor()) ? false : true;
},
isNatural: function(excludeZero) {
return(this.isInteger(excludeZero) && this >= 0);
},
isPrime: function() {
var sqrtOfThis = Math.sqrt(this);
var somePrimes = [2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101];
if(!this.isNatural(true) || sqrtOfThis.isInteger()) {
return false;
}
if(somePrimes.include(this)) return true;
for(var i = 0, len = somePrimes.length; i < len; i++) {
if(somePrimes[i] > sqrtOfThis) {
return true;
}
if((this % somePrimes[i]).isNull()) {
return false;
}
}
for(var i = 103; i <= sqrtOfThis; i += 2) {
if((this % i).isNull()) {
return false;
}
}
return true;
},
compute: function(fn) {
return fn(this);
}
});
Object.extend(Array.prototype, {
swap: function(index1, index2) {
var swap = this[index1];
this[index1] = this[index2];
this[index2] = swap;
return this;
},
shuffle: function(inline, times) {
var list = (inline != false ? this : this.clone());
for(var i = 0, len = list.length * (times || 4); i < len; i++) {
list.swap(
(Math.random() * list.length).floor(),
(Math.random() * list.length).floor()
);
}
return list;
},
randomDraw: function(items) {
items = Number(items) || 1;
var list = this.shuffle(false);
if (items >= list.length) {
return list;
}
var sample = [];
for(var i = 1; i <= items; i++) {
if(list.length > 0) {
sample.push(list.shift());
} else {
return sample;
}
}
return sample;
}
});
Object.extend(Object, {
numericValues: function(object) {
return Object.values(object).select(Object.isNumber);
}
});
| dapangchi/stampcircles | js/numbers.js | JavaScript | mit | 5,313 |
module.exports = {
dimension: 'overworld',
config: {
robotName: 'rob',
accountName: 'admin',
serverIP: '127.0.0.1',
serverPort: 8080,
tcpPort: 3001,
posX: 4,
posY: 4,
posZ: 4,
orient: 0,
raw: true,
},
internalInventory: {
meta: {
'size': 64,
'side': -1,
'selected': 1
},
slots: [
{
side: -1,
slotNum: 1,
contents: {
'damage': 0,
'hasTag': false,
'label': "Dirt",
'maxDamage': 0,
'maxSize': 64,
'name': "minecraft:dirt",
'size': 64
}
},
{
side: -1,
slotNum: 2,
contents: {
'damage': 0,
'hasTag': false,
'label': "Dirt",
'maxDamage': 0,
'maxSize': 64,
'name': "minecraft:dirt",
'size': 37
}
},
{
side: -1,
slotNum: 5,
contents: {
'damage': 0,
'hasTag': false,
'label': "Stone",
'maxDamage': 0,
'maxSize': 64,
'name': "minecraft:stone",
'size': 3
}
},
{
side: -1,
slotNum: 7,
contents: {
'damage': 0,
'hasTag': false,
'label': "Wooden Sword?",
'maxDamage': 100,
'maxSize': 1,
'name': "minecraft:wooden_sword?",
'size': 1
}
},
{
side: -1,
slotNum: 9,
contents: {
'damage': 0,
'hasTag': false,
'label': "Netherrack",
'maxDamage': 0,
'maxSize': 64,
'name': "minecraft:netherrack",
'size': 23
}
}
],
},
externalInventory: {
meta: {
'size': 27,
'side': 3
},
slots: [
{
side: 3,
slotNum: 1,
contents: {
'damage': 0,
'hasTag': false,
'label': "Dirt",
'maxDamage': 0,
'maxSize': 64,
'name': "minecraft:dirt",
'size': 4
}
},
{
side: 3,
slotNum: 2,
contents: {
'damage': 0,
'hasTag': false,
'label': "Dirt",
'maxDamage': 0,
'maxSize': 64,
'name': "minecraft:dirt",
'size': 7
}
},
{
side: 3,
slotNum: 5,
contents: {
'damage': 0,
'hasTag': false,
'label': "Stone",
'maxDamage': 0,
'maxSize': 64,
'name': "minecraft:stone",
'size': 25
}
}
],
},
map: {
[-2]: {
0: {
[-2]: {
"hardness": .5,
"name": "minecraft:dirt",
},
}
},
[-1]: {
0: {
[-1]: {
"hardness": .5,
"name": "minecraft:dirt",
},
}
},
0: {
0: {
0: {
"hardness": .5,
"name": "minecraft:dirt",
},
1: {
"hardness": .5,
"name": "minecraft:dirt",
},
2: {
"hardness": .5,
"name": "minecraft:dirt",
},
},
1: {
0: {
"hardness": .5,
"name": "minecraft:dirt",
},
1: {
"hardness": .5,
"name": "minecraft:dirt",
},
2: {
"hardness": .5,
"name": "minecraft:dirt",
},
},
2: {
0: {
"hardness": .5,
"name": "minecraft:dirt",
},
1: {
"hardness": .5,
"name": "minecraft:dirt",
},
2: {
"hardness": .5,
"name": "minecraft:dirt",
},
},
},
1: {
0: {
0: {
"hardness": .5,
"name": "minecraft:dirt",
},
1: {
"hardness": .5,
"name": "minecraft:dirt",
},
2: {
"hardness": .5,
"name": "minecraft:dirt",
},
},
1: {
0: {
"hardness": .5,
"name": "minecraft:dirt",
},
1: {
"hardness": 2.5,
"name": "minecraft:chest",
},
2: {
"hardness": .5,
"name": "minecraft:dirt",
},
},
2: {
0: {
"hardness": .5,
"name": "minecraft:dirt",
},
2: {
"hardness": .5,
"name": "minecraft:dirt",
},
},
},
2: {
0: {
0: {
"hardness": .5,
"name": "minecraft:dirt",
},
1: {
"hardness": .5,
"name": "minecraft:dirt",
},
2: {
"hardness": .5,
"name": "minecraft:dirt",
},
},
1: {
0: {
"hardness": .5,
"name": "minecraft:dirt",
},
1: {
"hardness": .5,
"name": "minecraft:dirt",
},
2: {
"hardness": .5,
"name": "minecraft:dirt",
},
},
2: {
0: {
"hardness": .5,
"name": "minecraft:dirt",
},
1: {
"hardness": .5,
"name": "minecraft:dirt",
},
2: {
"hardness": .5,
"name": "minecraft:dirt",
},
},
},
3: {
0: {
3: {
"hardness": .5,
"name": "minecraft:dirt",
},
}
},
4: {
0: {
4: {
"hardness": .5,
"name": "minecraft:dirt",
},
}
},
5: {
0: {
5: {
"hardness": .5,
"name": "minecraft:dirt",
},
}
},
},
components: {
'0c9a47e1-d211-4d73-ad9d-f3f88a6d0ee9': 'keyboard',
'25945f78-9f94-4bd5-9211-cb37b352ebf7': 'filesystem',
'2a2da751-3baa-4feb-9fa1-df76016ff390': 'inventory_controller',
'5d48c968-e6f5-474e-865f-524e803678a7': 'filesystem',
'5f6a65bd-98c1-4cf5-bbe5-3e0b8b23662d': 'internet',
'5fffe6b3-e619-4f4f-bc9f-3ddb028afe02': 'filesystem',
'73aedc53-517d-4844-9cb2-645c8d7667fc': 'screen',
'8be5872b-9a01-4403-b853-d88fe6f17fc3': 'eeprom',
'9d40d271-718e-45cc-9522-dc562320a78b': 'crafting',
'c8181ac9-9cc2-408e-b214-3acbce9fe1c6': 'chunkloader',
'c8fe2fde-acb0-4188-86ef-4340de011e25': 'robot',
'ce229fd1-d63d-4778-9579-33f05fd6af9a': 'gpu',
'fdc85abb-316d-4aca-a1be-b7f947016ba1': 'computer',
'ff1699a6-ae72-4f74-bf1c-88ac6901d56e': 'geolyzer'
},
}; | dunstad/roboserver | public/js/server/robotTestData.js | JavaScript | mit | 6,578 |
/**
* general purpose formatters
*
* @author Tim Golen 2014-02-12
*/
define(['rivets'], function(rivets) {
/**
* casts a value to a number
*
* @author Tim Golen 2013-10-22
*
* @param {mixed} value
*
* @return {number}
*/
rivets.formatters.number = function (value) {
return +value;
};
/**
* subtract values
*
* @author Tim Golen 2014-02-10
*
* @param {integer} val1
* @param {integer} val2
*
* @return {integer}
*/
rivets.formatters.minus = function(val1, val2) {
return parseInt(val1, 10) - parseInt(val2, 10);
};
/**
* returns the ith item of an array of items
*
* @author Tim Golen 2014-02-10
*
* @param {Array} arr
* @param {String} i index of the item to get
*
* @return {mixed}
*/
rivets.formatters.at = function(arr, i) {
if (!_.isArray(arr)) {
return null;
}
return arr[parseInt(i, 10)];
};
/**
* returns the length of an array
*
* @author Tim Golen 2014-02-10
*
* @param {Array} array
*
* @return {integer}
*/
rivets.formatters.length = function (array) {
if (!array) {
return 0;
}
return array.length;
};
/**
* formats the number like a big number eg. 24k
*
* @author Tim Golen 2013-11-27
*
* @param {number} value
*
* @return {string}
*/
rivets.formatters.bignumber = function(value) {
return formatter.formatBigNumber(value);
};
/**
* formats a number with commas and such
*
* @author Tim Golen 2013-11-27
*
* @param {number} value
*
* @return {string}
*/
rivets.formatters.formattednumber = function(value) {
return formatter.formatNumber(value);
};
/**
* formats a number as a pretty display of bytes
*
* @author Tim Golen 2014-02-12
*
* @param {integer} value
*
* @return {string}
*/
rivets.formatters.bytes = function(value) {
var bytes = parseInt(value, 10);
var aKB = 1024,
aMB = aKB * 1024,
aGB = aMB * 1024,
aTB = aGB * 1024;
if (bytes > aTB)
return _addDecimalToSingleDigit(bytes / aTB) + ' TB';
if (bytes > aGB)
return _addDecimalToSingleDigit(bytes / aGB) + ' GB';
if (bytes > aMB)
return _addDecimalToSingleDigit(bytes / aMB) + ' MB';
if (bytes > aKB)
return _addDecimalToSingleDigit(bytes / aKB) + ' KB';
return (bytes | 0) + ' B';
};
function _addDecimalToSingleDigit(num){
var ret = num | 0;
var split = num.toFixed(1).split('.');
if (Math.abs(ret) < 10 && split.length > 1 && split[1] != '0')
{
return ret + '.' + split[1];
}
return ret;
}
/**
* checks if a value is greater than a number
*
* @author Tim Golen 2013-11-11
*
* @param {number} value
* @param {number} num
*
* @return {boolean}
*/
rivets.formatters.gt = function(value, num) {
return value > num;
}
/**
* casts a value to a boolean
*
* @author Tim Golen 2013-11-02
*
* @param {mixed} value
*/
rivets.formatters.boolean = function (value) {
if (value == false || value == 'false' || value == 0) {
return false;
}
return value == true || value == 'true' || value;
};
/**
* tests if two values are equal
* example usage:
* rv-hide="rows.length | number | eq 0"
*
* @author Tim Golen 2013-10-22
*
* @param {mixed} value
* @param {string} args
*
* @return {boolean}
*/
rivets.formatters.eq = function(value, args) {
if (value === true && args === 'true') {
return true;
}
if (value === false && args === 'false') {
return true;
}
return value === args;
};
/**
* tests if two values are not equal
* example usage:
* rv-show="rows.length | number | neq 0"
*
* @author Tim Golen 2013-10-22
*
* @param {mixed} value
* @param {string} args
*
* @return {boolean}
*/
rivets.formatters.neq = function(value, args) {
return value !== args;
};
/**
* returns true or false if the value exists
* in a comma separated string
*
* @author Tim Golen 2014-01-29
*
* @param {string} value
* @param {string} commaString
*
* @return {boolean}
*/
rivets.formatters.in = function(value, commaString) {
var array = commaString.split(',');
return array.indexOf(value) > -1;
}
/**
* returns true or false if the value is blank
* or doesn't exist
*
* @author Tim Golen 2014-01-29
*
* @param {mixed} value
*
* @return {boolean}
*/
rivets.formatters.isblank = function(value) {
if (!value) {
return true;
}
return value === '';
};
/**
* returns a formatted date
*
* @author Tim Golen 2013-10-23
*
* @param {mixed} value
* @param {string} format of the date
*
* @return {string}
*/
rivets.formatters.date = function(value, format) {
if (!value) {
return '---';
}
return __m.utc(value.toString()).format( (format) ? format : 'lll' );
};
/**
* converts some date formats
*
* @author Tim Golen 2014-01-18
*
* @param {string} value in the format of YYYYWW
*
* @return {string} example: 'Week of Dec 13 2014'
*/
rivets.formatters.weekToDate = function(value) {
var now = __m.utc(value, 'YYYYWW');
return 'Week of '+now.format('ll');
};
/**
* converts an array into a comma separated list
*
* @author Tim Golen 2014-01-18
*
* @param {string} value that will be converted to an array
*
* @return {string}
*/
rivets.formatters.comma = function(value) {
return value.join(',');
}
/**
* tacks some json, and returns a formatted string
*
* @author Tim Golen 2013-11-07
*
* @param {object} obj
*
* @return {string}
*/
rivets.formatters.json = function(obj) {
if (_.isString(obj) && _.startsWith(obj, '{') && _.endsWith(obj, '}')) {
return JSON.stringify(JSON.parse(obj), null, 2);
}
return JSON.stringify(obj, null, 2);
};
/**
* removes certain fields from an acs log params object
*
* @author Tim Golen 2013-11-04
*
* @param {object} obj the params attribute of an acs log
* @param {string} separator what to do the join with
* @param {string} addSpace between the items if === "true"
*
* @return {object}
*/
rivets.formatters.separatedList = function(array, separator, addSpace) {
if (_.isArray(array) && !_.isEmpty(array)) {
return (addSpace === 'true') ? array.join(separator + ' ') : array.join(separator);
}
return '---';
};
/**
* when used with the HTML formatter, this will
* display a physical space for a blank value
*
* @author Tim Golen 2013-11-07
*
* @param {mixed} value
*
* @return {mixed}
*/
rivets.formatters.showBlankSpace = function(value) {
return (value)? value: ' ';
};
/**
* shows dashes instead of a blank field
*
* @author Tim Golen 2013-11-11
*
* @param {mixed} value
*
* @return {mixed}
*/
rivets.formatters.showBlankDashes = function(value) {
return (value)? value: '---';
};
/**
* it's just like showBlankSpace except the non-html version
*
* @author Tim Golen 2013-11-07
*
* @param {mixed} value
*
* @return {mixed}
*/
rivets.formatters.empty = function(value) {
return (value)? value: '';
};
/**
* checks to see if the object is empty or not
*
* @author Tim Golen 2014-02-13
*
* @param {object} object
*
* @return {boolean}
*/
rivets.formatters.notempty = function(object) {
return !_.isEmpty(object);
};
/**
* formats an array as a list
*
* @author Tim Golen 2013-11-11
*
* @param {array} array
*
* @return {string}
*/
rivets.formatters.list = function(array) {
var result = '<ul>';
_.each(array, function(item) {
result+= '<li>'+item+'</li>';
});
result += '</ul>'
return result;
};
/**
* formats an array as a linked list
*
* @author Tim Golen 2013-11-11
*
* @param {array} array
*
* @return {string}
*/
rivets.formatters.linklist = function(array, urlPattern) {
var result = '<ul>';
_.each(array, function(item) {
result+= '<li><a href="'+_.sprintf(urlPattern, item)+'">'+item+'</a></li>';
});
result += '</ul>'
return result;
};
/**
* allows for string substitution
*
* @author Tim Golen 2013-11-12
*
* @param {string} val
* @param {string} urlPattern
*
* @return {string}
*/
rivets.formatters.sprintf = function(val, pattern) {
return _.sprintf(pattern, val);
};
/**
* truncats a string to a certain length
*
* @author Tim Golen 2014-02-12
*
* @param {string} val to truncate
* @param {integer} length of string before truncating
* @param {string} truncateString the string to truncate with
* @param {string} addSpecial a special truncate text for ACS
*
* @return {string}
*/
rivets.formatters.truncate = function(val, length, truncateString, addSpecial) {
return _.truncate(val, parseInt(length, 10), (addSpecial)? '... Click for full text.': truncateString || '...');
};
/**
* returns the minimum value of two numbers
*
* example usage:
* rv-percentwidth="event.percentage | number | min 5"
*
* @author Tim Golen 2013-11-26
*
* @param {number} val from our model
* @param {string} min argument passed to formatter
* the absolute minimum
*
* @return {number}
*/
rivets.formatters.min = function(val, min) {
return Math.max(val, +min);
};
/**
* returns an escaped string that is safe to display
*
* @author Tim Golen 2013-12-04
*
* @param {string} val
*
* @return {string}
*/
rivets.formatters.escape = function(val) {
return _.escape(val);
};
return rivets;
}); | tgolen/garden | public/web/js/lib/rivets/formatters.js | JavaScript | mit | 9,410 |
(function() {
'use strict';
/**
* Get the main module (shared for Workout).
*/
angular.module(appName)
/**
* Login Controller.
*/
.controller('ConfirmBookingController', ConfirmBooking);
ConfirmBooking.$inject = ['$state', '$filter', '$http', 'config', '$location','CommonService','BookingDataService'];
function ConfirmBooking($state, $filter, $http, config, $location, CommonService, BookingDataService) {
var BookingVm = this;
BookingVm.finalBalance = 0;
BookingVm.currentUserDetails = {};
BookingVm.successMessagePopup = false;
BookingVm.initialBalance = 0;
BookingVm.paymentDetails = {};
// Variable declarations
// Function declarations
BookingVm.decreaseOpacity = decreaseOpacity;
BookingVm.increaseOpacity = increaseOpacity;
BookingVm.bookingPayment = bookingPayment;
BookingVm.goToLive = goToLive;
activate();
function activate() {
BookingVm.bookingAmount = (CommonService.getBookingDetails().bookingCount * 157);
BookingVm.currentUserDetails = CommonService.getUserDetails();
BookingVm.initialBalance = CommonService.getUserDetails().scutops_money;
BookingVm.paymentDetails.order_id = CommonService.getBookingDetails().order_id;
BookingVm.paymentDetails.cust_id = CommonService.getUserDetails().id;
// To initialize anything before the project starts
}
function decreaseOpacity(){
document.getElementsByClassName("main-content2")[0].style.opacity="0.5";
}
function increaseOpacity(){
document.getElementsByClassName("main-content2")[0].style.opacity="1";
}
function bookingPayment(){
var balance = BookingVm.initialBalance - BookingVm.bookingAmount;
if(balance >= 0){
BookingVm.currentUserDetails.scutops_money = balance; //updating the user details
BookingVm.paymentDetails.newBalance = balance;
var paymentDetails = JSON.stringify(BookingVm.paymentDetails);// preparing for passing to the php file
//console.log(paymentDetails);
BookingDataService.makePayment(paymentDetails).then(function(response){
CommonService.setUserDetails(BookingVm.currentUserDetails);//updating user details in common service
BookingVm.finalBalance = balance;
decreaseOpacity();
BookingVm.successMessagePopup = true;
});
}
else
alert("Insufficient balance");
}
function goToLive(){
$state.go("liveUpdate");
}
}
})(); | madhumitamohan/scutops-madhu | app/confirm-booking/controller/controller.js | JavaScript | mit | 2,835 |
"use strict";
var dns = require('dns'),
os = require('os');
// Because localtunnel doesn't work reliably enough,
// hack the config to point at the local ip.
module.exports = function(ctx, done){
if(ctx.environment !== 'development'){
// Only run this hack in dev for real.
return done();
}
dns.lookup(os.hostname(), function (err, add, fam){
ctx.url = 'http://' + add + ':8080';
done();
});
}; | imlucas/mott | lib/steps/localip.js | JavaScript | mit | 449 |
var Message = require('../models/message');
exports.create = function(req, res) {
new Message({
senderID: req.body.senderID,
senderAlias: req.body.senderAlias,
acceptorID: req.body.acceptorID,
acceptorAlias: req.body.acceptorAlias,
subject: req.body.subject,
content: req.body.content
}).save(function(err, message) {
if (err) {
return res.send(400, err);
}
res.send(message);
});
};
exports.list = function(req, res) {
Message.find({}, function(err, messages) {
if (err) {
res.send(500, err);
}
res.send(messages || []);
});
};
exports.remove = function(req, res) {
var delFlag = false;
var saveFlag = false;
Message.findOne({_id: req.params.id}, function(err, doc){
if(doc.senderID == req.user._id){
if(doc.delFromAcceptor == 'true'){
delFlag=true;
}else{
doc.delFromSender = true;
saveFlag = true;
}
}
if(doc.acceptorID == req.user._id){
if(doc.delFromSender == 'true'){
delFlag = true;
}else{
doc.delFromAcceptor = true;
saveFlag = true;
}
}
if(saveFlag){
doc.save(function(err, doc){
err ? res.send(500, err) : res.send('');
})
}
if(delFlag){
doc.remove(function(err, doc) {
err ? res.send(500, err) : res.send('');
});
}
});
};
| markusblasek/lets.go | src/routes/messages.js | JavaScript | mit | 1,541 |
import { createAction, createThunkAction } from 'redux/actions';
import { getShortenUrl } from 'services/bitly';
import { saveAreaOfInterest } from 'components/forms/area-of-interest/actions';
export const setShareData = createAction('setShareData');
export const setShareUrl = createAction('setShareUrl');
export const setShareSelected = createAction('setShareSelected');
export const setShareOpen = createAction('setShareOpen');
export const setShareCopied = createAction('setShareCopied');
export const setShareLoading = createAction('setShareLoading');
export const setShareModal = createThunkAction(
'setShareModal',
(params) => (dispatch) => {
const { shareUrl } = params;
dispatch(
setShareData({
...params,
})
);
getShortenUrl(shareUrl)
.then((response) => {
let shortShareUrl = '';
if (response.status < 400) {
shortShareUrl = response.data.link;
dispatch(setShareUrl(shortShareUrl));
} else {
dispatch(setShareLoading(false));
}
})
.catch(() => {
dispatch(setShareLoading(false));
});
}
);
export const setShareAoi = createThunkAction('shareModalSaveAoi', (params) => (dispatch) => {
dispatch(saveAreaOfInterest({ ...params }))
});
| Vizzuality/gfw | components/modals/share/actions.js | JavaScript | mit | 1,287 |
import React from 'react'
const DefaultLayout = ({ children }) => {
return (
<div className="layout" style={{ width: '100%', height: '100%' }}>
{children}
</div>
)
}
export default DefaultLayout
| imuntil/React | dva/porsche-e3/src/components/Layouts/DefaultLayout.js | JavaScript | mit | 215 |
var connect = require('..');
var assert = require('assert');
var app = connect();
app.use(connect.bodyParser());
app.use(function(req, res){
res.end(JSON.stringify(req.body));
});
describe('connect.bodyParser()', function(){
it('should default to {}', function(done){
app.request()
.post('/')
.end(function(res){
res.body.should.equal('{}');
done();
})
})
it('should parse JSON', function(done){
app.request()
.post('/')
.set('Content-Type', 'application/json')
.write('{"user":"tobi"}')
.end(function(res){
res.body.should.equal('{"user":"tobi"}');
done();
});
})
it('should parse x-www-form-urlencoded', function(done){
app.request()
.post('/')
.set('Content-Type', 'application/x-www-form-urlencoded')
.write('user=tobi')
.end(function(res){
res.body.should.equal('{"user":"tobi"}');
done();
});
})
describe('with multipart/form-data', function(){
it('should populate req.body', function(done){
app.request()
.post('/')
.set('Content-Type', 'multipart/form-data; boundary=foo')
.write('--foo\r\n')
.write('Content-Disposition: form-data; name="user"\r\n')
.write('\r\n')
.write('Tobi')
.write('\r\n--foo--')
.end(function(res){
res.body.should.equal('{"user":"Tobi"}');
done();
});
})
it('should support files', function(done){
var app = connect();
app.use(connect.bodyParser());
app.use(function(req, res){
assert('Tobi' == req.body.user.name);
req.files.text.originalFilename.should.equal('foo.txt');
req.files.text.path.should.include('.txt');
res.end(req.files.text.originalFilename);
});
app.request()
.post('/')
.set('Content-Type', 'multipart/form-data; boundary=foo')
.write('--foo\r\n')
.write('Content-Disposition: form-data; name="user[name]"\r\n')
.write('\r\n')
.write('Tobi')
.write('\r\n--foo\r\n')
.write('Content-Disposition: form-data; name="text"; filename="foo.txt"\r\n')
.write('\r\n')
.write('some text here')
.write('\r\n--foo--')
.end(function(res){
res.body.should.equal('foo.txt');
done();
});
})
it('should expose options to multiparty', function(done){
var app = connect();
app.use(connect.bodyParser({
keepExtensions: true
}));
app.use(function(req, res){
assert('Tobi' == req.body.user.name);
assert(~req.files.text.path.indexOf('.txt'));
res.end(req.files.text.originalFilename);
});
app.request()
.post('/')
.set('Content-Type', 'multipart/form-data; boundary=foo')
.write('--foo\r\n')
.write('Content-Disposition: form-data; name="user[name]"\r\n')
.write('\r\n')
.write('Tobi')
.write('\r\n--foo\r\n')
.write('Content-Disposition: form-data; name="text"; filename="foo.txt"\r\n')
.write('\r\n')
.write('some text here')
.write('\r\n--foo--')
.end(function(res){
res.body.should.equal('foo.txt');
done();
});
})
it('should work with multiple fields', function(done){
app.request()
.post('/')
.set('Content-Type', 'multipart/form-data; boundary=foo')
.write('--foo\r\n')
.write('Content-Disposition: form-data; name="user"\r\n')
.write('\r\n')
.write('Tobi')
.write('\r\n--foo\r\n')
.write('Content-Disposition: form-data; name="age"\r\n')
.write('\r\n')
.write('1')
.write('\r\n--foo--')
.end(function(res){
res.body.should.equal('{"user":"Tobi","age":"1"}');
done();
});
})
it('should support nesting', function(done){
app.request()
.post('/')
.set('Content-Type', 'multipart/form-data; boundary=foo')
.write('--foo\r\n')
.write('Content-Disposition: form-data; name="user[name][first]"\r\n')
.write('\r\n')
.write('tobi')
.write('\r\n--foo\r\n')
.write('Content-Disposition: form-data; name="user[name][last]"\r\n')
.write('\r\n')
.write('holowaychuk')
.write('\r\n--foo\r\n')
.write('Content-Disposition: form-data; name="user[age]"\r\n')
.write('\r\n')
.write('1')
.write('\r\n--foo\r\n')
.write('Content-Disposition: form-data; name="species"\r\n')
.write('\r\n')
.write('ferret')
.write('\r\n--foo--')
.end(function(res){
var obj = JSON.parse(res.body);
obj.user.age.should.equal('1');
obj.user.name.should.eql({ first: 'tobi', last: 'holowaychuk' });
obj.species.should.equal('ferret');
done();
});
})
it('should support multiple files of the same name', function(done){
var app = connect();
app.use(connect.bodyParser());
app.use(function(req, res){
req.files.text.should.have.length(2);
assert(req.files.text[0]);
assert(req.files.text[1]);
res.end();
});
app.request()
.post('/')
.set('Content-Type', 'multipart/form-data; boundary=foo')
.write('--foo\r\n')
.write('Content-Disposition: form-data; name="text"; filename="foo.txt"\r\n')
.write('\r\n')
.write('some text here')
.write('\r\n--foo\r\n')
.write('Content-Disposition: form-data; name="text"; filename="bar.txt"\r\n')
.write('\r\n')
.write('some more text stuff')
.write('\r\n--foo--')
.end(function(res){
res.statusCode.should.equal(200);
done();
});
})
it('should support nested files', function(done){
var app = connect();
app.use(connect.bodyParser());
app.use(function(req, res){
Object.keys(req.files.docs).should.have.length(2);
req.files.docs.foo.originalFilename.should.equal('foo.txt');
req.files.docs.bar.originalFilename.should.equal('bar.txt');
res.end();
});
app.request()
.post('/')
.set('Content-Type', 'multipart/form-data; boundary=foo')
.write('--foo\r\n')
.write('Content-Disposition: form-data; name="docs[foo]"; filename="foo.txt"\r\n')
.write('\r\n')
.write('some text here')
.write('\r\n--foo\r\n')
.write('Content-Disposition: form-data; name="docs[bar]"; filename="bar.txt"\r\n')
.write('\r\n')
.write('some more text stuff')
.write('\r\n--foo--')
.end(function(res){
res.statusCode.should.equal(200);
done();
});
})
it('should next(err) on multipart failure', function(done){
var app = connect();
app.use(connect.bodyParser());
app.use(function(req, res){
res.end('whoop');
});
app.use(function(err, req, res, next){
err.message.should.equal('parser error, 16 of 28 bytes parsed');
res.statusCode = 500;
res.end();
});
app.request()
.post('/')
.set('Content-Type', 'multipart/form-data; boundary=foo')
.write('--foo\r\n')
.write('Content-filename="foo.txt"\r\n')
.write('\r\n')
.write('some text here')
.write('Content-Disposition: form-data; name="text"; filename="bar.txt"\r\n')
.write('\r\n')
.write('some more text stuff')
.write('\r\n--foo--')
.end(function(res){
res.statusCode.should.equal(500);
done();
});
})
})
// I'm too lazy to test this in both `.json()` and `.urlencoded()`
describe('verify', function () {
it('should throw 403 if verification fails', function (done) {
var app = connect();
app.use(connect.bodyParser({
verify: function () {
throw new Error();
}
}))
app.request()
.post('/')
.set('Content-Type', 'application/json')
.write('{"user":"tobi"}')
.expect(403, done);
})
it('should not throw if verification does not throw', function (done) {
var app = connect();
app.use(connect.bodyParser({
verify: function () {}
}))
app.use(function (req, res, next) {
res.statusCode = 204;
res.end();
})
app.request()
.post('/')
.set('Content-Type', 'application/json')
.write('{"user":"tobi"}')
.expect(204, done);
})
})
})
| krahman/connect | test/bodyParser.js | JavaScript | mit | 8,411 |
module.exports = exports = require('./lib/rhetorical'); | thorning/rhetorical | index.js | JavaScript | mit | 55 |
(function() {var implementors = {};
implementors["tokio_fs"] = [{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/std/sys/unix/ext/fs/trait.DirEntryExt.html\" title=\"trait std::sys::unix::ext::fs::DirEntryExt\">DirEntryExt</a> for <a class=\"struct\" href=\"tokio_fs/struct.DirEntry.html\" title=\"struct tokio_fs::DirEntry\">DirEntry</a>","synthetic":false,"types":["tokio_fs::read_dir::DirEntry"]}];
if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() | malept/guardhaus | main/implementors/std/sys/unix/ext/fs/trait.DirEntryExt.js | JavaScript | mit | 561 |
'use strict';
import { Schema } from 'mongoose';
import shortid from 'shortid';
const EntrySchema = new Schema({
_id: { type: String, unique: true, default: shortid.generate },
stepRef: { type: String, ref: 'Step' },
name: String,
value: String,
dateCreated: { type: Date, default: Date.now },
dateUpdated: { type: Date }
});
const Entry = mongoose.model('Entry', EntrySchema);
export default Entry;
| derek-duncan/challenge | src/models/Entry.js | JavaScript | mit | 418 |
import { strToEl } from '../utils';
export default class Ripple {
constructor() {
this.container = strToEl('<div class="ripple"></div>');
}
animate() {
this.container.classList.remove('animate');
this.container.offsetLeft;
this.container.classList.add('animate');
}
}
| joshlevi/svgomg | src/js/page/ui/ripple.js | JavaScript | mit | 294 |
import React from 'react';
import PropTypes from 'prop-types';
import Button from 'components/Button';
Main.propTypes = {
showLoginForm: PropTypes.func.isRequired,
showSignUpForm: PropTypes.func.isRequired
};
export default function Main({ showLoginForm, showSignUpForm }) {
return (
<main>
<Button
color="logoBlue"
style={{ display: 'block', fontSize: '2.5rem', padding: '1rem' }}
onClick={showLoginForm}
>
Yes, I have an account
</Button>
<Button
color="pink"
style={{ marginTop: '1.5rem', fontSize: '2rem', padding: '1rem' }}
onClick={showSignUpForm}
>
{"No, I'm a new user. Make me a new account, please!"}
</Button>
</main>
);
}
| mikey1384/twin-kle | source/containers/Signin/Main.js | JavaScript | mit | 752 |
import Reflux from 'Reflux';
import cartActions from '../actions/cartActions.js';
import _ from 'lodash';
// Items to fill onFillCart action
let items = [
{
title: 'Iphone 12',
price: '129',
id: 1
},
{
title: 'Galaxy S14',
price: '119',
id: 2
},
{
title: 'Siemens A52',
price: '197',
id: 3
},
{
title: 'Nokia 3310',
price: '329',
id: 4
}
];
// Storage keys to use when stroing
let localStorageKeys = ['cart', 'toggles'];
// Constructor for toggles object on init
let Toggles = () => {
let obj = {
title: false,
price: false,
quantity: false
}
return obj;
};
let cartStore = Reflux.createStore ({
// Assign actions
listenables: [cartActions],
// Initial state
getInitialState() {
// Load from local Storage or empty array
this.data = JSON.parse(localStorage.getItem(localStorageKeys[0])) || new Array;
// Load from local Storage or new Toggles object
this.toggles = JSON.parse(localStorage.getItem(localStorageKeys[1])) || new Toggles;
// return to component state
return {items: this.data};
},
// onAdd action
onAdd(item) {
// Update cart with item
this.updateCart(this.addItem(item));
},
//onDelete action
onDelete(item) {
// delete item from cart
this.updateCart(this.deleteItem(item));
},
onFillCart() {
// Add each item to cart then pass to anAdd so it updates cart
_.map(items, (item) => {this.onAdd(item)})
},
onSortTitle() {
// Set other toggles states
this.toggles.price = false;
this.toggles.quantity = false;
// Toggle this state
this.toggles.title = !this.toggles.title;
// Assign
let toggle = this.toggles.title;
// Update cart through sortBy()
this.updateCart(this.sortBy(toggle, 'title'));
},
onSortPrice() {
// Set other toggles states
this.toggles.title = false;
this.toggles.quantity = false;
// Toggle this state
this.toggles.price = !this.toggles.price;
// Assign
let toggle = this.toggles.price;
// Update cart through sortBy()
this.updateCart(this.sortBy(toggle, 'price'));
},
onSortQuantity() {
// Set other toggles states
this.toggles.title = false;
this.toggles.price = false;
// Toggle this state
this.toggles.quantity = !this.toggles.quantity;
// Assign
let toggle = this.toggles.quantity;
// Update cart through sortBy()
this.updateCart(this.sortBy(toggle, 'quantity'));
// ABOVE NEEDS INCAPSULATION
},
onSubmit() {
// Dummy ajax post to emulate success
$.ajax({
url: 'http://jsonplaceholder.typicode.com/posts',
dataType: 'json',
type: 'POST',
data: {data: this.data},
success: function(data) {
UIkit.notify({
message : 'Success!',
status : 'success',
timeout : 5000,
pos : 'top-center'
});
this.clearCart();
}.bind(this),
error: function(xhr, status, err) {
UIkit.notify({
message : 'Error! </br>' + err.toString(),
status : 'danger',
timeout : 5000,
pos : 'top-center'
});
console.error(xhr, status, err.toString());
}
});
},
sortBy(toggle, key) {
let items;
// if not sorted
if (toggle) {
items = _.orderBy(this.data, key, 'asc');
}
// if sorted -> reverse
if (!toggle) {
items = _.orderBy(this.data, key, 'desc');
}
// store state of toggles
localStorage.setItem(localStorageKeys[1], JSON.stringify(this.toggles));
return items;
},
updateCart(items) {
// save items to local storage
localStorage.setItem(localStorageKeys[0], JSON.stringify(items));
// assign to this object
this.data = items;
// trigger component state change
this.trigger({items});
},
addItem (item) {
let found, i;
found = false;
i = 0;
let items = this.data.concat();
// loop through items
while (i < items.length) {
// if find item with the same id
if (item.id === items[i].id) {
// increment quantity
items[i].quantity++;
found = true;
break;
}
i++;
}
// if not found
if (!found) {
// add new item with quantity 1
Object.assign(item, {quantity: 1});
items.push(item);
}
return items;
},
deleteItem (item) {
let items = this.data.concat();
let i = items.length;
// loop through items in reverse
while (i--) {
// if found item with the same id and quantity more than 1 -> decrement
if (item.id === items[i].id && items[i].quantity > 1) {
items[i].quantity--;
break;
};
// if found item with the same id and quantity equals 1 -> remove;
if (item.id === items[i].id && items[i].quantity === 1) {
items.splice(i, 1);
break;
};
}
return items;
},
// clearing cart on successfull submit
clearCart() {
// clear local Storage
_.map(localStorageKeys, (key) => {
localStorage.removeItem(key);
})
let empty = new Array;
// update cart with empty Array
this.updateCart(empty);
}
});
export default cartStore;
| Mottoweb/exness-test | app/scripts/stores/cartStore.js | JavaScript | mit | 5,222 |
/*! Select2 4.0.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
(function () {
if (jQuery && jQuery.fn && jQuery.fn.select2 && jQuery.fn.select2.amd)var e = jQuery.fn.select2.amd;
return e.define("select2/i18n/nb", [], function () {
return {
inputTooLong: function (e) {
var t = e.input.length - e.maximum;
return "Vennligst fjern " + t + " tegn"
}, inputTooShort: function (e) {
var t = e.minimum - e.input.length, n = "Vennligst skriv inn ";
return t > 1 ? n += " flere tegn" : n += " tegn til", n
}, loadingMore: function () {
return "Laster flere resultater…"
}, maximumSelected: function (e) {
return "Du kan velge maks " + e.maximum + " elementer"
}, noResults: function () {
return "Ingen treff"
}, searching: function () {
return "Søker…"
}
}
}), {define: e.define, require: e.require}
})();
| Azollas/org.azolla.p.roc | src/main/webapp/3th/select2/js/i18n/nb.js | JavaScript | mit | 943 |
var detector = (function () {
function foodCollision(snake, food, ui) {
var snakeHeadX = snake.parts[0].getPosition().x;
var snakeHeadY = snake.parts[0].getPosition().y;
var foodX = food.getPosition().x;
var foodY = food.getPosition().y;
if(snakeHeadX === foodX && snakeHeadY === foodY){
return true;
}
}
function playFieldCollision(selector, snake, ui) {
if(selector instanceof HTMLCanvasElement){
this.canvas = selector;
} else if(typeof selector === 'String' || typeof selector === 'string'){
this.canvas = document.querySelector(selector);
}
var w = this.canvas.width;
var h = this.canvas.height;
if(snake.parts[0].x >= w){
snake.parts[0].x = 0;
ui.updateCollision('Playfield');
; }
if(snake.parts[0].y >= h){
snake.parts[0].y = 0;
ui.updateCollision('Playfield');
}
if(snake.parts[0].x < 0){
snake.parts[0].x = w - 20;
ui.updateCollision('Playfield');
}
if(snake.parts[0].y < 0){
snake.parts[0].y = h - 20;
ui.updateCollision('Playfield');
}
}
function tailCollision (snake, ui) {
for (var i = 1; i < snake.parts.length; i++) {
if(snake.parts[0].x === snake.parts[i].x
&& snake.parts[0].y === snake.parts[i].y){
snake.parts = snake.parts.slice(0,2);
snake.parts[0].x = 0;
snake.parts[0].y = 0;
snake.direction = 1;
ui.scoreValue = 0;
ui.updateScore(0);
ui.updateCollision('Tail');
console.log('Self Tail Collision')
}
}
}
function wallCollision(wallArray, snake, ui) {
for (var i = 1; i < wallArray.length; i++) {
if(snake.parts[0].x === wallArray[i].x
&& snake.parts[0].y === wallArray[i].y){
snake.parts = snake.parts.slice(0,2);
snake.parts[0].x = 0;
snake.parts[0].y = 0;
snake.direction = 1;
ui.updateCollision('Wall');
ui.scoreValue = 0;
ui.updateScore(0);
console.log('Wall Collision')
}
}
}
return {
isFoodCollision: foodCollision,
playFieldCollision: playFieldCollision,
tailCollision: tailCollision,
wallCollision: wallCollision
}
}()); | kaizer04/Telerik-Academy-2013-2014 | JS OOP/JS-OOP-Modules-and-Patterns-Homework/01-Snake/scripts/detector.js | JavaScript | mit | 2,580 |
'use strict';
var ANONYMOUS_USER_ID = "55268521fb9a901e442172f8";
var mongoose = require('mongoose');
//var Promise = require("bluebird");
var dbService = require('@colabo-knalledge/b-storage-mongo');
var mockup = { fb: { authenticate: false }, db: { data: false } };
var accessId = 0;
function resSendJsonProtected(res, data) {
// http://tobyho.com/2011/01/28/checking-types-in-javascript/
if (data !== null && typeof data === 'object') { // http://stackoverflow.com/questions/8511281/check-if-a-variable-is-an-object-in-javascript
res.set('Content-Type', 'application/json');
// JSON Vulnerability Protection
// http://haacked.com/archive/2008/11/20/anatomy-of-a-subtle-json-vulnerability.aspx/
// https://docs.angularjs.org/api/ng/service/$http#description_security-considerations_cross-site-request-forgery-protection
res.send(")]}',\n" + JSON.stringify(data));
} else if (typeof data === 'string') { // http://stackoverflow.com/questions/4059147/check-if-a-variable-is-a-string
res.send(data);
} else {
res.send(data);
}
};
var dbConnection = dbService.DBConnect();
var KEdgeModel = dbConnection.model('kEdge', global.db.kEdge.Schema);
//reguired for requests that return results populated with target or ource nodes:
var KNodeModel = dbConnection.model('KNode', global.db.kNode.Schema);
// module.exports = KEdgeModel; //then we can use it by: var User = require('./app/models/KEdgeModel');
// curl -v -H "Content-Type: application/json" -X GET http://127.0.0.1:8888/kedges/one/5524344b498be1070ccca4f6
// curl -v -H "Content-Type: application/json" -X GET http://127.0.0.1:8888/kedges/one/5524344b498be1070ccca4f6
// curl -v -H "Content-Type: application/json" -X GET http://127.0.0.1:8888/kedges/one/5524344b498be1070ccca4f6
//curl -v -H "Content-Type: application/json" -X GET http://127.0.0.1:8888/kedges/between/551b4366fd64e5552ed19364/551bb2c68f6e4cfc35654f37
//curl -v -H "Content-Type: application/json" -X GET http://127.0.0.1:8888/kedges/in_map/552678e69ad190a642ad461c
exports.index = function(req, res) {
var id = req.params.searchParam;
var id2 = req.params.searchParam2;
var id3 = req.params.searchParam3;
var id4 = req.params.searchParam4;
var type = req.params.type;
var found = function(err, kEdges) {
//console.log("[modules/kEdge.js:index] in found; req.params.type: %s: ", req.params.type);
//console.log("kEdges:"+kEdges);
if (err) {
throw err;
var msg = JSON.stringify(err);
resSendJsonProtected(res, { data: kEdges, accessId: accessId, message: msg, success: false });
} else {
resSendJsonProtected(res, { data: kEdges, accessId: accessId, success: true });
}
}
console.log("[modules/kEdge.js:index] req.params.searchParam: %s. req.params.searchParam2: %s", req.params.searchParam, req.params.searchParam2);
if (mockup && mockup.db && mockup.db.data) {
var datas_json = [];
//TODO: change data here:
datas_json.push({ id: 1, name: "Sun" });
datas_json.push({ id: 2, name: "Earth" });
datas_json.push({ id: 3, name: "Pluto" });
datas_json.push({ id: 4, name: "Venera" });
resSendJsonProtected(res, { data: datas_json, accessId: accessId });
}
//TODO: remove (testing)
KEdgeModel.find(function(err, kEdges) {
//console.log("all data:\n length: %d.\n", kEdges.length);
//console.log(kEdges);
//resSendJsonProtected(res, {data: {, accessId : accessId, success: true});
});
switch (type) {
case 'one': //by edge id:
KEdgeModel.findById(req.params.searchParam, found);
break;
case 'between': //all edges between specific nodes:
KEdgeModel.find({ $and: [{ 'sourceId': req.params.searchParam }, { 'targetId': req.params.searchParam2 }] }, found);
break;
case 'connected': //all edges connected to knode.id
KEdgeModel.find({ $or: [{ 'sourceId': req.params.searchParam }, { 'targetId': req.params.searchParam }] }, found);
break;
case 'in_map': //all edges in specific map
KEdgeModel.find({ 'mapId': req.params.searchParam }, found);
break;
case 'for_map_type_user_w_target_nodes':
console.log("for_map_type_user_w_target_nodes: mapId: %s, type: %s", id, id2);
var queryObj = { 'mapId': id, 'type': id2};
if(id3 !== null && id3 !== undefined && id3 !== 'null') {
console.log('iAmId: ', id3);
queryObj['iAmId'] = id3;
}
else{
console.log('iAmId: is not set as a paremeter - so for all users');
}
KEdgeModel.find(queryObj).populate('targetId', '_id name dataContent.humanID').exec(found);
break;
default:
console.log("[modules/kEdge.js:index] unsuported req.params.type: %s", type);
resSendJsonProtected(res, { data: [], accessId: accessId, message: 'unsuported req type \'' + req.params.type + '\'', success: false });
}
}
// curl -v -H "Content-Type: application/json" -X POST -d '{"name":"Hello Edge", "iAmId":5, "type":"contains", "sourceId":"551b4366fd64e5552ed19364", "targetId": "551bb2c68f6e4cfc35654f37", "ideaId":0}' http://127.0.0.1:8888/kedges
// curl -v -H "Content-Type: application/json" -X POST -d '{"name":"Hello Edge 3", "iAmId":6, "type":"contains", "ideaId":0}' http://127.0.0.1:8888/kedges
exports.create = function(req, res) {
console.log("[modules/kEdge.js:create] req.body: %s", JSON.stringify(req.body));
var data = req.body;
if (!("iAmId" in data) || data.iAmId == null || data.iAmId == 0) data.iAmId = mongoose.Types.ObjectId(ANONYMOUS_USER_ID);
var kEdge = new KEdgeModel(data);
//TODO: Should we force existence of node ids?
if (data.sourceId) {
kEdge.sourceId = mongoose.Types.ObjectId(data.sourceId);
}
if (data.targetId) {
kEdge.targetId = mongoose.Types.ObjectId(data.targetId);
}
kEdge.save(function(err) {
if (err) throw err;
console.log("[modules/kEdge.js:create] data (id:%s) created data: %s", kEdge.id, JSON.stringify(kEdge));
resSendJsonProtected(res, { success: true, data: kEdge, accessId: accessId });
});
}
//curl -v -H "Content-Type: application/json" -X PUT -d '{"name": "Hello World E1"}' http://127.0.0.1:8888/kedges/one/551bb2c68f6e4cfc35654f37
//curl -v -H "Content-Type: application/json" -X PUT -d '{"mapId": "552678e69ad190a642ad461c", "sourceId": "55268521fb9a901e442172f9", "targetId": "5526855ac4f4db29446bd183"}' http://127.0.0.1:8888/kedges/one/552475525034f70c166bf89c
exports.update = function(req, res) {
//console.log("[modules/KEdge.js:update] req.body: %s", JSON.stringify(req.body));
var data = req.body;
var id = req.params.searchParam;
console.log("[modules/KEdge.js:update] id : %s", id);
console.log("[modules/KEdge.js:update] data, : %s", JSON.stringify(data));
delete data._id;
//TODO: check this: multi (boolean) whether multiple documents should be updated (false)
//TODO: fix: numberAffected vraca 0, a raw vraca undefined. pitanje je da li su ispravni parametri callback f-je
// KEdgeModel.findByIdAndUpdate(id , data, { /* multi: true */ }, function (err, numberAffected, raw) {
// if (err) throw err;
// console.log('The number of updated documents was %d', numberAffected);
// console.log('The raw response from Mongo was ', raw);
// resSendJsonProtected(res, {success: true, data: data, accessId : accessId});
// });
data.updatedAt = new Date(); //TODO: workaround for hook "schema.pre('update',...)" not working
KEdgeModel.update({ _id: id }, data, function(err, raw) {
if (err) throw err;
console.log('The raw response from Mongo was ', raw);
data._id = id;
resSendJsonProtected(res, { success: true, data: data, accessId: accessId });
});
}
exports.destroy = function(req, res) {
var type = req.params.type;
var dataId = req.params.searchParam;
var dataId2 = req.params.searchParam2;
console.log("[modules/kEdge.js::destroy] dataId:%s, type:%s, req.body: %s", dataId, type, JSON.stringify(req.body));
switch (type) {
case 'one': //by edge id:
console.log("[modules/kEdge.js:destroy] deleting 'one' edge with id = %d", dataId);
KEdgeModel.findByIdAndRemove(dataId, function(err) {
if (err) throw err;
var data = { id: dataId };
resSendJsonProtected(res, { success: true, data: data, accessId: accessId });
});
break;
case 'connected': //all edges connected to knode.id
console.log("[modules/kEdge.js:destroy] deleting 'connected' to %s", dataId);
KEdgeModel.remove({ $or: [{ 'sourceId': dataId }, { 'targetId': dataId }] }, function(err) {
if (err) {
console.log("[modules/kEdge.js:destroy] error:" + err);
throw err;
}
var data = { id: dataId };
console.log("[modules/kEdge.js:destroy] data:" + JSON.stringify(data));
resSendJsonProtected(res, { success: true, data: data, accessId: accessId });
});
break;
case 'in-map': //all edges in the map
console.log("[modules/kEdge.js:destroy] deleting edges in map %s", dataId);
KEdgeModel.remove({ 'mapId': dataId }, function(err) {
if (err) {
console.log("[modules/kEdge.js:destroy] error:" + err);
throw err;
}
var data = { id: dataId };
console.log("[modules/kEdge.js:destroy] data:" + JSON.stringify(data));
resSendJsonProtected(res, { success: true, data: data, accessId: accessId });
});
break;
// TODO: this currently delete all edges that belongs to the provided mapId
case 'by-modification-source': // by source (manual/computer) of modification
console.log("[modules/kEdge.js:destroy] deleting edges in map %s", dataId);
KEdgeModel.remove({ 'mapId': dataId }, function(err) {
if (err) {
console.log("[modules/kEdge.js:destroy] error:" + err);
throw err;
}
var data = { id: dataId };
console.log("[modules/kEdge.js:destroy] data:" + JSON.stringify(data));
resSendJsonProtected(res, { success: true, data: data, accessId: accessId });
});
break;
case 'by-type-n-user': // by type and user
//TODO: we must also filter by `mapId` but so far we are sending only 2 parameters!
console.log("[modules/kEdge.js:destroy] deleting all edges of type %s by user %s", dataId, dataId2);
KEdgeModel.remove({ $and: [{ 'type': dataId }, { 'iAmId': dataId2 }] }, function(err) {
if (err) {
console.log("[modules/kEdge.js:destroy] error:" + err);
throw err;
}
var data = { id: dataId };
console.log("[modules/kEdge.js:destroy] data:" + JSON.stringify(data));
resSendJsonProtected(res, { success: true, data: data, accessId: accessId });
});
break;
case 'edges-to-child': // by type and user
console.log("[modules/kEdge.js:destroy] deleting all edges with specific tagetId %s", dataId);
KEdgeModel.remove({ 'targetId': dataId }, function(err) {
if (err) {
console.log("[modules/kEdge.js:destroy] error:" + err);
throw err;
}
var data = { id: dataId };
console.log("[modules/kEdge.js:destroy] data:" + JSON.stringify(data));
resSendJsonProtected(res, { success: true, data: data, accessId: accessId });
});
break;
default:
console.log("[modules/kEdge.js:index] unsuported req.params.type: %s", type);
resSendJsonProtected(res, { data: [], accessId: accessId, message: 'unsuported req type \'' + type + '\'', success: false });
}
}; | mprinc/KnAllEdge | src/backend/dev_puzzles/knalledge/core_old/lib/modules/kEdge.js | JavaScript | mit | 12,463 |
function transformPath(decisionPath) {
var path = []
for (var i=1; i<decisionPath.length; i++) {
var node = {
feature: decisionPath[i-1].feature,
side: decisionPath[i].side == 'left' ? "<=" : ">",
threshold: decisionPath[i-1].threshold.toPrecision(5),
featureIdx: decisionPath[i-1].featureIdx,
level: i
}
//copy all properties of decisionPath[i] to node if they won't overide a property
for (var attrname in decisionPath[i]) {
if (node[attrname] == null)
node[attrname] = decisionPath[i][attrname];
}
path.push(node)
}
return path;
}
var tip_features = {
feature: function(d) { return 'Feature: ' + d.feature },
count: function(d) { return d.count + ' samples' },
dataPercentage: function(d) { return d.dataPercentage + '% of the data'},
impurity: function(d) { return 'Impurity: ' + d.impurity}
} | dan-silver/machine-learning-visualizer | static/js/tree_graph.js | JavaScript | mit | 846 |
/**
* @depends {nrs.js}
*/
var NRS = (function(NRS, $, undefined) {
var _password;
NRS.multiQueue = null;
NRS.setServerPassword = function(password) {
_password = password;
}
NRS.sendOutsideRequest = function(url, data, callback, async) {
if ($.isFunction(data)) {
async = callback;
callback = data;
data = {};
} else {
data = data || {};
}
$.support.cors = true;
$.ajax({
url: url,
crossDomain: true,
dataType: "json",
type: "GET",
timeout: 30000,
async: (async === undefined ? true : async),
data: data
}).done(function(json) {
//why is this necessary??..
if (json.errorCode && !json.errorDescription) {
json.errorDescription = (json.errorMessage ? json.errorMessage : $.t("server_error_unknown"));
}
if (callback) {
callback(json, data);
}
}).fail(function(xhr, textStatus, error) {
if (callback) {
callback({
"errorCode": -1,
"errorDescription": error
}, {});
}
});
}
NRS.sendRequest = function(requestType, data, callback, async) {
if (requestType == undefined) {
return;
}
if ($.isFunction(data)) {
async = callback;
callback = data;
data = {};
} else {
data = data || {};
}
$.each(data, function(key, val) {
if (key != "secretPhrase") {
if (typeof val == "string") {
data[key] = $.trim(val);
}
}
});
//convert NXT to NQT...
try {
var nxtFields = ["feeNXT", "amountNXT", "priceNXT", "refundNXT", "discountNXT"];
for (var i = 0; i < nxtFields.length; i++) {
var nxtField = nxtFields[i];
var field = nxtField.replace("NXT", "");
if (nxtField in data) {
data[field + "NQT"] = NRS.convertToNQT(data[nxtField]);
delete data[nxtField];
}
}
} catch (err) {
if (callback) {
callback({
"errorCode": 1,
"errorDescription": err + " (Field: " + field + ")"
});
}
return;
}
if (!data.recipientPublicKey) {
delete data.recipientPublicKey;
}
if (!data.referencedTransactionFullHash) {
delete data.referencedTransactionFullHash;
}
//gets account id from passphrase client side, used only for login.
if (requestType == "getAccountId") {
var accountId = NRS.getAccountId(data.secretPhrase);
if (callback) {
callback({
"accountId": accountId
});
}
return;
}
//check to see if secretPhrase supplied matches logged in account, if not - show error.
if ("secretPhrase" in data) {
var accountId = NRS.getAccountId(NRS.rememberPassword ? _password : data.secretPhrase);
if (accountId != NRS.account) {
if (callback) {
callback({
"errorCode": 1,
"errorDescription": $.t("error_passphrase_incorrect")
});
}
return;
} else {
//ok, accountId matches..continue with the real request.
NRS.processAjaxRequest(requestType, data, callback, async);
}
} else {
NRS.processAjaxRequest(requestType, data, callback, async);
}
}
NRS.processAjaxRequest = function(requestType, data, callback, async) {
if (!NRS.multiQueue) {
NRS.multiQueue = $.ajaxMultiQueue(8);
}
if (data["_extra"]) {
var extra = data["_extra"];
delete data["_extra"];
} else {
var extra = null;
}
var currentPage = null;
var currentSubPage = null;
//means it is a page request, not a global request.. Page requests can be aborted.
if (requestType.slice(-1) == "+") {
requestType = requestType.slice(0, -1);
currentPage = NRS.currentPage;
} else {
//not really necessary... we can just use the above code..
var plusCharacter = requestType.indexOf("+");
if (plusCharacter > 0) {
var subType = requestType.substr(plusCharacter);
requestType = requestType.substr(0, plusCharacter);
currentPage = NRS.currentPage;
}
}
if (currentPage && NRS.currentSubPage) {
currentSubPage = NRS.currentSubPage;
}
var type = ("secretPhrase" in data ? "POST" : "GET");
var url = NRS.server + "/nxt?requestType=" + requestType;
if (type == "GET") {
if (typeof data == "string") {
data += "&random=" + Math.random();
} else {
data.random = Math.random();
}
}
var secretPhrase = "";
//unknown account..
if (type == "POST" && (NRS.accountInfo.errorCode && NRS.accountInfo.errorCode == 5)) {
if (callback) {
callback({
"errorCode": 2,
"errorDescription": $.t("error_new_account")
}, data);
} else {
$.growl($.t("error_new_account"), {
"type": "danger"
});
}
return;
}
if (data.referencedTransactionFullHash) {
if (!/^[a-z0-9]{64}$/.test(data.referencedTransactionFullHash)) {
if (callback) {
callback({
"errorCode": -1,
"errorDescription": $.t("error_invalid_referenced_transaction_hash")
}, data);
} else {
$.growl($.t("error_invalid_referenced_transaction_hash"), {
"type": "danger"
});
}
return;
}
}
if (!NRS.isLocalHost && type == "POST" && requestType != "startForging" && requestType != "stopForging") {
if (NRS.rememberPassword) {
secretPhrase = _password;
} else {
secretPhrase = data.secretPhrase;
}
delete data.secretPhrase;
if (NRS.accountInfo && NRS.accountInfo.publicKey) {
data.publicKey = NRS.accountInfo.publicKey;
} else {
data.publicKey = NRS.generatePublicKey(secretPhrase);
NRS.accountInfo.publicKey = data.publicKey;
}
} else if (type == "POST" && NRS.rememberPassword) {
data.secretPhrase = _password;
}
$.support.cors = true;
if (type == "GET") {
var ajaxCall = NRS.multiQueue.queue;
} else {
var ajaxCall = $.ajax;
}
//workaround for 1 specific case.. ugly
if (data.querystring) {
data = data.querystring;
type = "POST";
}
if (requestType == "broadcastTransaction") {
type = "POST";
}
ajaxCall({
url: url,
crossDomain: true,
dataType: "json",
type: type,
timeout: 30000,
async: (async === undefined ? true : async),
currentPage: currentPage,
currentSubPage: currentSubPage,
shouldRetry: (type == "GET" ? 2 : undefined),
data: data
}).done(function(response, status, xhr) {
if (NRS.console) {
NRS.addToConsole(this.url, this.type, this.data, response);
}
if (typeof data == "object" && "recipient" in data) {
if (/^NXT\-/i.test(data.recipient)) {
data.recipientRS = data.recipient;
var address = new NxtAddress();
if (address.set(data.recipient)) {
data.recipient = address.account_id();
}
} else {
var address = new NxtAddress();
if (address.set(data.recipient)) {
data.recipientRS = address.toString();
}
}
}
if (secretPhrase && response.unsignedTransactionBytes && !response.errorCode && !response.error) {
var publicKey = NRS.generatePublicKey(secretPhrase);
var signature = NRS.signBytes(response.unsignedTransactionBytes, converters.stringToHexString(secretPhrase));
if (!NRS.verifyBytes(signature, response.unsignedTransactionBytes, publicKey)) {
if (callback) {
callback({
"errorCode": 1,
"errorDescription": $.t("error_signature_verification_client")
}, data);
} else {
$.growl($.t("error_signature_verification_client"), {
"type": "danger"
});
}
return;
} else {
var payload = NRS.verifyAndSignTransactionBytes(response.unsignedTransactionBytes, signature, requestType, data);
if (!payload) {
if (callback) {
callback({
"errorCode": 1,
"errorDescription": $.t("error_signature_verification_server")
}, data);
} else {
$.growl($.t("error_signature_verification_server"), {
"type": "danger"
});
}
return;
} else {
if (data.broadcast == "false") {
response.transactionBytes = payload;
NRS.showRawTransactionModal(response);
} else {
if (callback) {
if (extra) {
data["_extra"] = extra;
}
NRS.broadcastTransactionBytes(payload, callback, response, data);
} else {
NRS.broadcastTransactionBytes(payload, null, response, data);
}
}
}
}
} else {
if (response.errorCode || response.errorDescription || response.errorMessage || response.error) {
response.errorDescription = NRS.translateServerError(response);
delete response.fullHash;
if (!response.errorCode) {
response.errorCode = -1;
}
}
/*
if (response.errorCode && !response.errorDescription) {
response.errorDescription = (response.errorMessage ? response.errorMessage : $.t("error_unknown"));
} else if (response.error && !response.errorDescription) {
response.errorDescription = (typeof response.error == "string" ? response.error : $.t("error_unknown"));
if (!response.errorCode) {
response.errorCode = 1;
}
}
*/
if (response.broadcasted == false) {
NRS.showRawTransactionModal(response);
} else {
if (callback) {
if (extra) {
data["_extra"] = extra;
}
callback(response, data);
}
if (data.referencedTransactionFullHash && !response.errorCode) {
$.growl($.t("info_referenced_transaction_hash"), {
"type": "info"
});
}
}
}
}).fail(function(xhr, textStatus, error) {
if (NRS.console) {
NRS.addToConsole(this.url, this.type, this.data, error, true);
}
if ((error == "error" || textStatus == "error") && (xhr.status == 404 || xhr.status == 0)) {
if (type == "POST") {
$.growl($.t("error_server_connect"), {
"type": "danger",
"offset": 10
});
}
}
if (error == "abort") {
return;
} else if (callback) {
if (error == "timeout") {
error = $.t("error_request_timeout");
}
callback({
"errorCode": -1,
"errorDescription": error
}, {});
}
});
}
NRS.verifyAndSignTransactionBytes = function(transactionBytes, signature, requestType, data) {
var transaction = {};
var byteArray = converters.hexStringToByteArray(transactionBytes);
transaction.type = byteArray[0];
if (NRS.dgsBlockPassed) {
transaction.version = (byteArray[1] & 0xF0) >> 4;
transaction.subtype = byteArray[1] & 0x0F;
} else {
transaction.subtype = byteArray[1];
}
transaction.timestamp = String(converters.byteArrayToSignedInt32(byteArray, 2));
transaction.deadline = String(converters.byteArrayToSignedShort(byteArray, 6));
transaction.publicKey = converters.byteArrayToHexString(byteArray.slice(8, 40));
transaction.recipient = String(converters.byteArrayToBigInteger(byteArray, 40));
transaction.amountNQT = String(converters.byteArrayToBigInteger(byteArray, 48));
transaction.feeNQT = String(converters.byteArrayToBigInteger(byteArray, 56));
var refHash = byteArray.slice(64, 96);
transaction.referencedTransactionFullHash = converters.byteArrayToHexString(refHash);
if (transaction.referencedTransactionFullHash == "0000000000000000000000000000000000000000000000000000000000000000") {
transaction.referencedTransactionFullHash = "";
}
//transaction.referencedTransactionId = converters.byteArrayToBigInteger([refHash[7], refHash[6], refHash[5], refHash[4], refHash[3], refHash[2], refHash[1], refHash[0]], 0);
transaction.flags = 0;
if (transaction.version > 0) {
transaction.flags = converters.byteArrayToSignedInt32(byteArray, 160);
transaction.ecBlockHeight = String(converters.byteArrayToSignedInt32(byteArray, 164));
transaction.ecBlockId = String(converters.byteArrayToBigInteger(byteArray, 168));
}
if (!("amountNQT" in data)) {
data.amountNQT = "0";
}
if (!("recipient" in data)) {
//recipient == genesis
data.recipient = "1739068987193023818";
data.recipientRS = "NXT-MRCC-2YLS-8M54-3CMAJ";
}
if (transaction.publicKey != NRS.accountInfo.publicKey) {
return false;
}
if (transaction.deadline !== data.deadline) {
return false;
}
if (transaction.recipient !== data.recipient) {
if (data.recipient == "1739068987193023818" && transaction.recipient == "0") {
//ok
} else {
return false;
}
}
if (transaction.amountNQT !== data.amountNQT || transaction.feeNQT !== data.feeNQT) {
return false;
}
if ("referencedTransactionFullHash" in data) {
if (transaction.referencedTransactionFullHash !== data.referencedTransactionFullHash) {
return false;
}
} else if (transaction.referencedTransactionFullHash !== "") {
return false;
}
if (transaction.version > 0) {
//has empty attachment, so no attachmentVersion byte...
if (requestType == "sendMoney" || requestType == "sendMessage") {
var pos = 176;
} else {
var pos = 177;
}
} else {
var pos = 160;
}
switch (requestType) {
case "sendMoney":
if (transaction.type !== 0 || transaction.subtype !== 0) {
return false;
}
break;
case "sendMessage":
if (transaction.type !== 1 || transaction.subtype !== 0) {
return false;
}
if (!NRS.dgsBlockPassed) {
var messageLength = String(converters.byteArrayToSignedInt32(byteArray, pos));
pos += 4;
var slice = byteArray.slice(pos, pos + messageLength);
transaction.message = converters.byteArrayToHexString(slice);
if (transaction.message !== data.message) {
return false;
}
}
break;
case "setAlias":
if (transaction.type !== 1 || transaction.subtype !== 1) {
return false;
}
var aliasLength = parseInt(byteArray[pos], 10);
pos++;
transaction.aliasName = converters.byteArrayToString(byteArray, pos, aliasLength);
pos += aliasLength;
var uriLength = converters.byteArrayToSignedShort(byteArray, pos);
pos += 2;
transaction.aliasURI = converters.byteArrayToString(byteArray, pos, uriLength);
pos += uriLength;
if (transaction.aliasName !== data.aliasName || transaction.aliasURI !== data.aliasURI) {
return false;
}
break;
case "createPoll":
if (transaction.type !== 1 || transaction.subtype !== 2) {
return false;
}
var nameLength = converters.byteArrayToSignedShort(byteArray, pos);
pos += 2;
transaction.name = converters.byteArrayToString(byteArray, pos, nameLength);
pos += nameLength;
var descriptionLength = converters.byteArrayToSignedShort(byteArray, pos);
pos += 2;
transaction.description = converters.byteArrayToString(byteArray, pos, descriptionLength);
pos += descriptionLength;
var nr_options = byteArray[pos];
pos++;
for (var i = 0; i < nr_options; i++) {
var optionLength = converters.byteArrayToSignedShort(byteArray, pos);
pos += 2;
transaction["option" + i] = converters.byteArrayToString(byteArray, pos, optionLength);
pos += optionLength;
}
transaction.minNumberOfOptions = String(byteArray[pos]);
pos++;
transaction.maxNumberOfOptions = String(byteArray[pos]);
pos++;
transaction.optionsAreBinary = String(byteArray[pos]);
pos++;
if (transaction.name !== data.name || transaction.description !== data.description || transaction.minNumberOfOptions !== data.minNumberOfOptions || transaction.maxNumberOfOptions !== data.maxNumberOfOptions || transaction.optionsAreBinary !== data.optionsAreBinary) {
return false;
}
for (var i = 0; i < nr_options; i++) {
if (transaction["option" + i] !== data["option" + i]) {
return false;
}
}
if (("option" + i) in data) {
return false;
}
break;
case "castVote":
if (transaction.type !== 1 || transaction.subtype !== 3) {
return false;
}
transaction.poll = String(converters.byteArrayToBigInteger(byteArray, pos));
pos += 8;
var voteLength = byteArray[pos];
pos++;
transaction.votes = [];
for (var i = 0; i < voteLength; i++) {
transaction.votes.push(byteArray[pos]);
pos++;
}
return false;
break;
case "hubAnnouncement":
if (transaction.type !== 1 || transaction.subtype != 4) {
return false;
}
var minFeePerByte = String(converters.byteArrayToBigInteger(byteArray, pos));
pos += 8;
var numberOfUris = parseInt(byteArray[pos], 10);
pos++;
var uris = [];
for (var i = 0; i < numberOfUris; i++) {
var uriLength = parseInt(byteArray[pos], 10);
pos++;
uris[i] = converters.byteArrayToString(byteArray, pos, uriLength);
pos += uriLength;
}
//do validation
return false;
break;
case "setAccountInfo":
if (transaction.type !== 1 || transaction.subtype != 5) {
return false;
}
var nameLength = parseInt(byteArray[pos], 10);
pos++;
transaction.name = converters.byteArrayToString(byteArray, pos, nameLength);
pos += nameLength;
var descriptionLength = converters.byteArrayToSignedShort(byteArray, pos);
pos += 2;
transaction.description = converters.byteArrayToString(byteArray, pos, descriptionLength);
pos += descriptionLength;
if (transaction.name !== data.name || transaction.description !== data.description) {
return false;
}
break;
case "sellAlias":
if (transaction.type !== 1 || transaction.subtype !== 6) {
return false;
}
var aliasLength = parseInt(byteArray[pos], 10);
pos++;
transaction.alias = converters.byteArrayToString(byteArray, pos, aliasLength);
pos += aliasLength;
transaction.priceNQT = String(converters.byteArrayToBigInteger(byteArray, pos));
pos += 8;
if (transaction.alias !== data.aliasName || transaction.priceNQT !== data.priceNQT) {
return false;
}
break;
case "buyAlias":
if (transaction.type !== 1 && transaction.subtype !== 7) {
return false;
}
var aliasLength = parseInt(byteArray[pos], 10);
pos++;
transaction.alias = converters.byteArrayToString(byteArray, pos, aliasLength);
pos += aliasLength;
if (transaction.alias !== data.aliasName) {
return false;
}
break;
case "issueAsset":
if (transaction.type !== 2 || transaction.subtype !== 0) {
return false;
}
var nameLength = byteArray[pos];
pos++;
transaction.name = converters.byteArrayToString(byteArray, pos, nameLength);
pos += nameLength;
var descriptionLength = converters.byteArrayToSignedShort(byteArray, pos);
pos += 2;
transaction.description = converters.byteArrayToString(byteArray, pos, descriptionLength);
pos += descriptionLength;
transaction.quantityQNT = String(converters.byteArrayToBigInteger(byteArray, pos));
pos += 8;
transaction.decimals = byteArray[pos];
pos++;
if (transaction.name !== data.name || transaction.description !== data.description || transaction.quantityQNT !== data.quantityQNT || transaction.decimals !== data.decimals) {
return false;
}
break;
case "transferAsset":
if (transaction.type !== 2 || transaction.subtype !== 1) {
return false;
}
transaction.asset = String(converters.byteArrayToBigInteger(byteArray, pos));
pos += 8;
transaction.quantityQNT = String(converters.byteArrayToBigInteger(byteArray, pos));
pos += 8;
if (!NRS.dgsBlockPassed) {
var commentLength = converters.byteArrayToSignedShort(byteArray, pos);
pos += 2;
transaction.comment = converters.byteArrayToString(byteArray, pos, commentLength);
if (transaction.comment !== data.comment) {
return false;
}
}
if (transaction.asset !== data.asset || transaction.quantityQNT !== data.quantityQNT) {
return false;
}
break;
case "placeAskOrder":
case "placeBidOrder":
if (transaction.type !== 2) {
return false;
} else if (requestType == "placeAskOrder" && transaction.subtype !== 2) {
return false;
} else if (requestType == "placeBidOrder" && transaction.subtype !== 3) {
return false;
}
transaction.asset = String(converters.byteArrayToBigInteger(byteArray, pos));
pos += 8;
transaction.quantityQNT = String(converters.byteArrayToBigInteger(byteArray, pos));
pos += 8;
transaction.priceNQT = String(converters.byteArrayToBigInteger(byteArray, pos));
pos += 8;
if (transaction.asset !== data.asset || transaction.quantityQNT !== data.quantityQNT || transaction.priceNQT !== data.priceNQT) {
return false;
}
break;
case "cancelAskOrder":
case "cancelBidOrder":
if (transaction.type !== 2) {
return false;
} else if (requestType == "cancelAskOrder" && transaction.subtype !== 4) {
return false;
} else if (requestType == "cancelBidOrder" && transaction.subtype !== 5) {
return false;
}
transaction.order = String(converters.byteArrayToBigInteger(byteArray, pos));
pos += 8;
if (transaction.order !== data.order) {
return false;
}
break;
case "dgsListing":
if (transaction.type !== 3 && transaction.subtype != 0) {
return false;
}
var nameLength = converters.byteArrayToSignedShort(byteArray, pos);
pos += 2;
transaction.name = converters.byteArrayToString(byteArray, pos, nameLength);
pos += nameLength;
var descriptionLength = converters.byteArrayToSignedShort(byteArray, pos);
pos += 2;
transaction.description = converters.byteArrayToString(byteArray, pos, descriptionLength);
pos += descriptionLength;
var tagsLength = converters.byteArrayToSignedShort(byteArray, pos);
pos += 2;
transaction.tags = converters.byteArrayToString(byteArray, pos, tagsLength);
pos += tagsLength;
transaction.quantity = String(converters.byteArrayToSignedInt32(byteArray, pos));
pos += 4;
transaction.priceNQT = String(converters.byteArrayToBigInteger(byteArray, pos));
pos += 8;
if (transaction.name !== data.name || transaction.description !== data.description || transaction.tags !== data.tags || transaction.quantity !== data.quantity || transaction.priceNQT !== data.priceNQT) {
return false;
}
break;
case "dgsDelisting":
if (transaction.type !== 3 && transaction.subtype !== 1) {
return false;
}
transaction.goods = String(converters.byteArrayToBigInteger(byteArray, pos));
pos += 8;
if (transaction.goods !== data.goods) {
return false;
}
break;
case "dgsPriceChange":
if (transaction.type !== 3 && transaction.subtype !== 2) {
return false;
}
transaction.goods = String(converters.byteArrayToBigInteger(byteArray, pos));
pos += 8;
transaction.priceNQT = String(converters.byteArrayToBigInteger(byteArray, pos));
pos += 8;
if (transaction.goods !== data.goods || transaction.priceNQT !== data.priceNQT) {
return false;
}
break;
case "dgsQuantityChange":
if (transaction.type !== 3 && transaction.subtype !== 3) {
return false;
}
transaction.goods = String(converters.byteArrayToBigInteger(byteArray, pos));
pos += 8;
transaction.deltaQuantity = String(converters.byteArrayToSignedInt32(byteArray, pos));
pos += 4;
if (transaction.goods !== data.goods || transaction.deltaQuantity !== data.deltaQuantity) {
return false;
}
break;
case "dgsPurchase":
if (transaction.type !== 3 && transaction.subtype !== 4) {
return false;
}
transaction.goods = String(converters.byteArrayToBigInteger(byteArray, pos));
pos += 8;
transaction.quantity = String(converters.byteArrayToSignedInt32(byteArray, pos));
pos += 4;
transaction.priceNQT = String(converters.byteArrayToBigInteger(byteArray, pos));
pos += 8;
transaction.deliveryDeadlineTimestamp = String(converters.byteArrayToSignedInt32(byteArray, pos));
pos += 4;
if (transaction.goods !== data.goods || transaction.quantity !== data.quantity || transaction.priceNQT !== data.priceNQT || transaction.deliveryDeadlineTimestamp !== data.deliveryDeadlineTimestamp) {
return false;
}
break;
case "dgsDelivery":
if (transaction.type !== 3 && transaction.subtype !== 5) {
return false;
}
transaction.purchase = String(converters.byteArrayToBigInteger(byteArray, pos));
pos += 8;
var encryptedGoodsLength = converters.byteArrayToSignedShort(byteArray, pos);
var goodsLength = converters.byteArrayToSignedInt32(byteArray, pos);
transaction.goodsIsText = goodsLength < 0; // ugly hack??
if (goodsLength < 0) {
goodsLength &= 2147483647;
}
pos += 4;
transaction.goodsData = converters.byteArrayToHexString(byteArray.slice(pos, pos + encryptedGoodsLength));
pos += encryptedGoodsLength;
transaction.goodsNonce = converters.byteArrayToHexString(byteArray.slice(pos, pos + 32));
pos += 32;
transaction.discountNQT = String(converters.byteArrayToBigInteger(byteArray, pos));
pos += 8;
var goodsIsText = (transaction.goodsIsText ? "true" : "false");
if (goodsIsText != data.goodsIsText) {
return false;
}
if (transaction.purchase !== data.purchase || transaction.goodsData !== data.goodsData || transaction.goodsNonce !== data.goodsNonce || transaction.discountNQT !== data.discountNQT) {
return false;
}
break;
case "dgsFeedback":
if (transaction.type !== 3 && transaction.subtype !== 6) {
return false;
}
transaction.purchase = String(converters.byteArrayToBigInteger(byteArray, pos));
pos += 8;
if (transaction.purchase !== data.purchase) {
return false;
}
break;
case "dgsRefund":
if (transaction.type !== 3 && transaction.subtype !== 7) {
return false;
}
transaction.purchase = String(converters.byteArrayToBigInteger(byteArray, pos));
pos += 8;
transaction.refundNQT = String(converters.byteArrayToBigInteger(byteArray, pos));
pos += 8;
if (transaction.purchase !== data.purchase || transaction.refundNQT !== data.refundNQT) {
return false;
}
break;
case "leaseBalance":
if (transaction.type !== 4 && transaction.subtype !== 0) {
return false;
}
transaction.period = String(converters.byteArrayToSignedShort(byteArray, pos));
pos += 2;
if (transaction.period !== data.period) {
return false;
}
break;
default:
//invalid requestType..
return false;
}
if (NRS.dgsBlockPassed) {
var position = 1;
//non-encrypted message
if ((transaction.flags & position) != 0 || (requestType == "sendMessage" && data.message)) {
var attachmentVersion = byteArray[pos];
pos++;
var messageLength = converters.byteArrayToSignedInt32(byteArray, pos);
transaction.messageIsText = messageLength < 0; // ugly hack??
if (messageLength < 0) {
messageLength &= 2147483647;
}
pos += 4;
if (transaction.messageIsText) {
transaction.message = converters.byteArrayToString(byteArray, pos, messageLength);
} else {
var slice = byteArray.slice(pos, pos + messageLength);
transaction.message = converters.byteArrayToHexString(slice);
}
pos += messageLength;
var messageIsText = (transaction.messageIsText ? "true" : "false");
if (messageIsText != data.messageIsText) {
return false;
}
if (transaction.message !== data.message) {
return false;
}
} else if (data.message) {
return false;
}
position <<= 1;
//encrypted note
if ((transaction.flags & position) != 0) {
var attachmentVersion = byteArray[pos];
pos++;
var encryptedMessageLength = converters.byteArrayToSignedInt32(byteArray, pos);
transaction.messageToEncryptIsText = encryptedMessageLength < 0;
if (encryptedMessageLength < 0) {
encryptedMessageLength &= 2147483647;
}
pos += 4;
transaction.encryptedMessageData = converters.byteArrayToHexString(byteArray.slice(pos, pos + encryptedMessageLength));
pos += encryptedMessageLength;
transaction.encryptedMessageNonce = converters.byteArrayToHexString(byteArray.slice(pos, pos + 32));
pos += 32;
var messageToEncryptIsText = (transaction.messageToEncryptIsText ? "true" : "false");
if (messageToEncryptIsText != data.messageToEncryptIsText) {
return false;
}
if (transaction.encryptedMessageData !== data.encryptedMessageData || transaction.encryptedMessageNonce !== data.encryptedMessageNonce) {
return false;
}
} else if (data.encryptedMessageData) {
return false;
}
position <<= 1;
if ((transaction.flags & position) != 0) {
var attachmentVersion = byteArray[pos];
pos++;
var recipientPublicKey = converters.byteArrayToHexString(byteArray.slice(pos, pos + 32));
if (recipientPublicKey != data.recipientPublicKey) {
return false;
}
pos += 32;
} else if (data.recipientPublicKey) {
return false;
}
position <<= 1;
if ((transaction.flags & position) != 0) {
var attachmentVersion = byteArray[pos];
pos++;
var encryptedToSelfMessageLength = converters.byteArrayToSignedInt32(byteArray, pos);
transaction.messageToEncryptToSelfIsText = encryptedToSelfMessageLength < 0;
if (encryptedToSelfMessageLength < 0) {
encryptedToSelfMessageLength &= 2147483647;
}
pos += 4;
transaction.encryptToSelfMessageData = converters.byteArrayToHexString(byteArray.slice(pos, pos + encryptedToSelfMessageLength));
pos += encryptedToSelfMessageLength;
transaction.encryptToSelfMessageNonce = converters.byteArrayToHexString(byteArray.slice(pos, pos + 32));
pos += 32;
var messageToEncryptToSelfIsText = (transaction.messageToEncryptToSelfIsText ? "true" : "false");
if (messageToEncryptToSelfIsText != data.messageToEncryptToSelfIsText) {
return false;
}
if (transaction.encryptToSelfMessageData !== data.encryptToSelfMessageData || transaction.encryptToSelfMessageNonce !== data.encryptToSelfMessageNonce) {
return false;
}
} else if (data.encryptToSelfMessageData) {
return false;
}
}
return transactionBytes.substr(0, 192) + signature + transactionBytes.substr(320);
}
NRS.broadcastTransactionBytes = function(transactionData, callback, originalResponse, originalData) {
$.ajax({
url: NRS.server + "/nxt?requestType=broadcastTransaction",
crossDomain: true,
dataType: "json",
type: "POST",
timeout: 30000,
async: true,
data: {
"transactionBytes": transactionData
}
}).done(function(response, status, xhr) {
if (NRS.console) {
NRS.addToConsole(this.url, this.type, this.data, response);
}
if (callback) {
if (response.errorCode) {
if (!response.errorDescription) {
response.errorDescription = (response.errorMessage ? response.errorMessage : "Unknown error occured.");
}
callback(response, originalData);
} else if (response.error) {
response.errorCode = 1;
response.errorDescription = response.error;
callback(response, originalData);
} else {
if ("transactionBytes" in originalResponse) {
delete originalResponse.transactionBytes;
}
originalResponse.broadcasted = true;
originalResponse.transaction = response.transaction;
originalResponse.fullHash = response.fullHash;
callback(originalResponse, originalData);
if (originalData.referencedTransactionFullHash) {
$.growl($.t("info_referenced_transaction_hash"), {
"type": "info"
});
}
}
}
}).fail(function(xhr, textStatus, error) {
if (NRS.console) {
NRS.addToConsole(this.url, this.type, this.data, error, true);
}
if (callback) {
if (error == "timeout") {
error = $.t("error_request_timeout");
}
callback({
"errorCode": -1,
"errorDescription": error
}, {});
}
});
}
return NRS;
}(NRS || {}, jQuery)); | litecoin-extras/nxt-public-key-client | html/ui/js/nrs.server.js | JavaScript | mit | 31,822 |
import config from '../config';
import changed from 'gulp-changed';
import gulp from 'gulp';
import gulpif from 'gulp-if';
import imagemin from 'gulp-imagemin';
import browserSync from 'browser-sync';
function images(src, dest) {
return gulp.src(config.sourceDir + src)
.pipe(changed(config.buildDir + dest)) // Ignore unchanged files
.pipe(gulpif(global.isProd, imagemin())) // Optimize
.pipe(gulp.dest(config.buildDir + dest))
.pipe(browserSync.stream());
}
gulp.task('blogImages', function() {
return images(config.blog.images.src, config.blog.images.dest);
});
gulp.task('siteImages', function() {
return images(config.site.images.src, config.site.images.dest);
});
gulp.task('erpImages', function() {
return images(config.erp.images.src, config.erp.images.dest);
});
gulp.task('modulesImages', function() {
return images(config.modules.images.src, config.modules.images.dest);
});
gulp.task('fbImages', function() {
return images(config.fb.images.src, config.fb.images.dest);
});
| dnaloco/digitala | gulp/tasks/images.js | JavaScript | mit | 1,061 |
'use strict';
var Promise = require('bluebird');
var IDLE = 0;
var ACTIVE = 1;
var STOPPING = 2;
function deferred () {
var _resolve;
var _reject;
var promise = new Promise(function (resolve, reject) {
_resolve = resolve;
_reject = reject;
});
return {
promise: promise,
resolve: _resolve,
reject: _reject
};
}
function IntervalWorker (workFn, delay) {
this._workFn = workFn;
this._delay = delay || 0;
this._activeWork = null;
this._timeout = null;
this._workerStopped = null;
this._state = IDLE;
}
IntervalWorker.prototype._tick = function () {
this._state = ACTIVE;
this._activeWork = Promise.try(this._workFn)
.bind(this)
.then(function () {
this._activeWork = null;
if (this._state === ACTIVE) {
this._timeout = setTimeout(function () {
this._timeout = null;
this._tick();
}.bind(this), this._delay);
}
}, function (err) {
this._activeWork = null;
this._workerStopped.reject(err);
this._state = IDLE;
});
};
IntervalWorker.prototype.start = function () {
if (this._state === IDLE) {
this._workerStopped = deferred();
this._tick();
}
return this._workerStopped.promise;
};
IntervalWorker.prototype.setDelay = function (delay) {
this._delay = delay || 0;
};
IntervalWorker.prototype.stop = function () {
if (this._state === ACTIVE) {
this._state = STOPPING;
if (this._activeWork) {
this._activeWork.cancel();
}
setImmediate(function () {
if (this._timeout) {
clearTimeout(this._timeout);
this._timeout = null;
}
Promise.resolve(this._activeWork || null)
.bind(this)
.catchReturn(Promise.CancellationError)
.then(function () {
this._state = IDLE;
this._workerStopped.resolve();
});
}.bind(this));
return this._workerStopped.promise;
} else {
return Promise.resolve();
}
};
module.exports = IntervalWorker;
| Janpot/fantastiq | lib/IntervalWorker.js | JavaScript | mit | 1,994 |
var Lang = {};
Lang.category = {
"name": "ko"
};
Lang.type = "ko";
Lang.en = "English";
Lang.Command = {
"101": "블록 쓰레드 추가하기",
"102": "블록 쓰레드 삭제하기",
"103": "블록 삭제하기",
"104": "블록 복구하기",
"105": "블록 끼워넣기",
"106": "블록 분리하기",
"107": "블록 이동하기",
"108": "블록 복제하기",
"109": "블록 복제 취소하기",
"110": "스크롤",
"111": "블록 필드값 수정",
"117": "블록 쓰레드 추가하기",
"118": "블록 끼워넣기",
"119": "블록 이동하기",
"120": "블록 분리하기",
"121": "블록 이동하기",
"122": "블록 끼워넣기",
"123": "블록 끼워넣기",
"201": "오브젝트 선택하기",
"301": "do",
"302": "undo",
"303": "redo",
"401": "그림 수정하기",
"402": "그림 수정 취소하기",
"403": "그림 수정하기",
"404": "그림 수정 취소하기",
"501": "시작하기",
"502": "정지하기",
"601": "컨테이너 오브젝트 선택하기",
"701": "모드 바꾸기",
"702": "모양 추가 버튼 클릭",
"703": "소리 추가 버튼 클릭",
"801": "변수 속성창 필터 선택하기",
"802": "변수 추가하기 버튼 클릭",
"803": "변수 추가하기",
"804": "변수 삭제하기",
"805": "변수 이름 설정"
};
Lang.CommandTooltip = {
"101": "블록 쓰레드 추가하기",
"102": "블록 쓰레드 삭제하기",
"103": "블록 삭제하기",
"104": "블록 복구하기",
"105": "코드 분리하기$$코드 연결하기@@이 코드의 가장 위에 있는 블록을 잡고 분리하여 끌어옵니다.$$이 곳에 코드를 연결합니다.$$이 곳에 블록의 왼쪽 끝을 끼워 넣습니다.",
"106": "블록 분리하기",
"107": "블록 이동하기",
"108": "블록 복제하기",
"109": "블록 복제 취소하기",
"110": "스크롤",
"111": "블록 필드값 수정@@값을 입력하기 위해 이곳을 클릭합니다.$$선택지를 클릭합니다.$$선택지를 클릭합니다.$$&value&을 입력합니다.$$&value&를 선택합니다.$$키보드 &value&를 누릅니다.",
"117": "블록 쓰레드 추가하기",
"118": "블록 연결하기@@이 곳에 블록을 연결합니다.$$이 곳에 블록의 왼쪽 끝을 끼워 넣습니다.",
"119": "블록 가져오기@@빈 곳에 블록을 끌어다 놓습니다.",
"120": "블록 분리하기$$블록 삭제하기@@필요 없는 코드를 <b>휴지통</b>으로 끌어옵니다.$$이 곳에 코드를 버립니다.",
"121": "블록 이동하기$$블록 삭제하기@@필요 없는 코드를 <b>휴지통</b>으로 끌어옵니다.$$이 곳에 코드를 버립니다.",
"122": "블록 연결하기@@이 곳에 블록을 연결합니다.$$이 곳에 블록의 왼쪽 끝을 끼워 넣습니다.",
"123": "코드 분리하기$$코드 연결하기@@이 코드의 가장 위에 있는 블록을 잡고 분리하여 끌어옵니다.$$이 곳에 코드를 연결합니다.$$이 곳에 블록의 왼쪽 끝을 끼워 넣습니다.",
"201": "오브젝트 선택하기",
"301": "do",
"302": "undo",
"303": "redo",
"401": "그림 수정하기",
"402": "그림 수정 취소하기",
"403": "그림 수정하기",
"404": "그림 수정 취소하기",
"501": "실행하기@@<b>[시작하기]</b>를 누릅니다.",
"502": "정지하기@@<b>[정지하기]</b>를 누릅니다.",
"601": "컨테이너 오브젝트 선택하기",
"701": "모드 바꾸기",
"702": "모양 추가하기@@<b>모양추가</b>를 클릭합니다.",
"703": "소리 추가하기@@<b>소리추가</b>를 클릭합니다.",
"801": "변수 속성창 필터 선택하기",
"802": "변수 추가하기@@<b>[변수 추가]</b>를 클릭합니다.",
"803": "변수 추가하기@@<b>[확인]</b>을 클릭합니다.",
"804": "변수 삭제하기@@이 버튼을 눌러 변수를 삭제합니다.",
"805": "변수 이름 설정"
};
Lang.Blocks = {
"download_guide": "연결 안내 다운로드",
"ARDUINO": "하드웨어",
"ARDUINO_download_connector": "연결 프로그램 다운로드",
"ARDUINO_open_connector": "연결 프로그램 열기",
"ARDUINO_download_source": "엔트리 아두이노 소스",
"ARDUINO_reconnect": "하드웨어 연결하기",
"ROBOT_reconnect": "로봇 연결하기",
"ARDUINO_program": "프로그램 실행하기",
"ARDUINO_cloud_pc_connector": "클라우드 PC 연결하기",
"ARDUINO_connected": "하드웨어가 연결되었습니다. ",
"ARDUINO_connect": "하드웨어를 연결하세요.",
"ARDUINO_arduino_get_number_1": "신호",
"ARDUINO_arduino_get_number_2": "의 숫자 결과값",
"ARDUINO_arduino_get_sensor_number_0": "0",
"ARDUINO_arduino_get_sensor_number_1": "1",
"ARDUINO_arduino_get_sensor_number_2": "2",
"ARDUINO_arduino_get_sensor_number_3": "3",
"ARDUINO_arduino_get_sensor_number_4": "4",
"ARDUINO_arduino_get_sensor_number_5": "5",
"blacksmith_toggle_on": "켜기",
"blacksmith_toggle_off": "끄기",
"blacksmith_lcd_first_line": "첫 번째",
"blacksmith_lcd_seconds_line": "두 번째",
"BITBRICK_light": "밝기센서",
"BITBRICK_IR": "거리센서",
"BITBRICK_touch": "버튼",
"BITBRICK_potentiometer": "가변저항",
"BITBRICK_MIC": "소리감지센서",
"BITBRICK_UserSensor": "사용자입력",
"BITBRICK_UserInput": "사용자입력",
"BITBRICK_dc_direction_ccw": "반시계",
"BITBRICK_dc_direction_cw": "시계",
"byrobot_dronefighter_drone_state_mode_system": "시스템 모드",
"byrobot_dronefighter_drone_state_mode_vehicle": "드론파이터 모드",
"byrobot_dronefighter_drone_state_mode_flight": "비행 모드",
"byrobot_dronefighter_drone_state_mode_drive": "자동차 모드",
"byrobot_dronefighter_drone_state_mode_coordinate": "기본 좌표계",
"byrobot_dronefighter_drone_state_battery": "배터리",
"byrobot_dronefighter_drone_attitude_roll": "자세 Roll",
"byrobot_dronefighter_drone_attitude_pitch": "자세 Pitch",
"byrobot_dronefighter_drone_attitude_yaw": "자세 Yaw",
"byrobot_dronefighter_drone_irmessage": "적외선 수신 값",
"byrobot_dronefighter_controller_joystick_left_x": "왼쪽 조이스틱 가로축",
"byrobot_dronefighter_controller_joystick_left_y": "왼쪽 조이스틱 세로축",
"byrobot_dronefighter_controller_joystick_left_direction": "왼쪽 조이스틱 방향",
"byrobot_dronefighter_controller_joystick_left_event": "왼쪽 조이스틱 이벤트",
"byrobot_dronefighter_controller_joystick_left_command": "왼쪽 조이스틱 명령",
"byrobot_dronefighter_controller_joystick_right_x": "오른쪽 조이스틱 가로축",
"byrobot_dronefighter_controller_joystick_right_y": "오른쪽 조이스틱 세로축",
"byrobot_dronefighter_controller_joystick_right_direction": "오른쪽 조이스틱 방향",
"byrobot_dronefighter_controller_joystick_right_event": "오른쪽 조이스틱 이벤트",
"byrobot_dronefighter_controller_joystick_right_command": "오른쪽 조이스틱 명령",
"byrobot_dronefighter_controller_joystick_direction_left_up": "왼쪽 위",
"byrobot_dronefighter_controller_joystick_direction_up": "위",
"byrobot_dronefighter_controller_joystick_direction_right_up": "오른쪽 위",
"byrobot_dronefighter_controller_joystick_direction_left": "왼쪽",
"byrobot_dronefighter_controller_joystick_direction_center": "중앙",
"byrobot_dronefighter_controller_joystick_direction_right": "오른쪽",
"byrobot_dronefighter_controller_joystick_direction_left_down": "왼쪽 아래",
"byrobot_dronefighter_controller_joystick_direction_down": "아래",
"byrobot_dronefighter_controller_joystick_direction_right_down": "오른쪽 아래",
"byrobot_dronefighter_controller_button_button": "버튼",
"byrobot_dronefighter_controller_button_event": "버튼 이벤트",
"byrobot_dronefighter_controller_button_front_left": "왼쪽 빨간 버튼",
"byrobot_dronefighter_controller_button_front_right": "오른쪽 빨간 버튼",
"byrobot_dronefighter_controller_button_front_left_right": "양쪽 빨간 버튼",
"byrobot_dronefighter_controller_button_center_up_left": "트림 좌회전 버튼",
"byrobot_dronefighter_controller_button_center_up_right": "트림 우회전 버튼",
"byrobot_dronefighter_controller_button_center_up": "트림 앞 버튼",
"byrobot_dronefighter_controller_button_center_left": "트림 왼쪽 버튼",
"byrobot_dronefighter_controller_button_center_right": "트림 오른쪽 버튼",
"byrobot_dronefighter_controller_button_center_down": "트림 뒤 버튼",
"byrobot_dronefighter_controller_button_bottom_left": "왼쪽 둥근 버튼",
"byrobot_dronefighter_controller_button_bottom_right": "오른쪽 둥근 버튼",
"byrobot_dronefighter_controller_button_bottom_left_right": "양쪽 둥근 버튼",
"byrobot_dronefighter_entryhw_count_transfer_reserved": "전송 예약된 데이터 수",
"byrobot_dronefighter_common_roll": "Roll",
"byrobot_dronefighter_common_pitch": "Pitch",
"byrobot_dronefighter_common_yaw": "Yaw",
"byrobot_dronefighter_common_throttle": "Throttle",
"byrobot_dronefighter_common_left": "왼쪽",
"byrobot_dronefighter_common_right": "오른쪽",
"byrobot_dronefighter_common_light_manual_on": "켜기",
"byrobot_dronefighter_common_light_manual_off": "끄기",
"byrobot_dronefighter_common_light_manual_b25": "밝기 25%",
"byrobot_dronefighter_common_light_manual_b50": "밝기 50%",
"byrobot_dronefighter_common_light_manual_b75": "밝기 75%",
"byrobot_dronefighter_common_light_manual_b100": "밝기 100%",
"byrobot_dronefighter_common_light_manual_all": "전체",
"byrobot_dronefighter_common_light_manual_red": "빨강",
"byrobot_dronefighter_common_light_manual_blue": "파랑",
"byrobot_dronefighter_common_light_manual_1": "1",
"byrobot_dronefighter_common_light_manual_2": "2",
"byrobot_dronefighter_common_light_manual_3": "3",
"byrobot_dronefighter_common_light_manual_4": "4",
"byrobot_dronefighter_common_light_manual_5": "5",
"byrobot_dronefighter_common_light_manual_6": "6",
"byrobot_dronefighter_controller_buzzer": "버저",
"byrobot_dronefighter_controller_buzzer_mute": "쉼",
"byrobot_dronefighter_controller_buzzer_c": "도",
"byrobot_dronefighter_controller_buzzer_cs": "도#",
"byrobot_dronefighter_controller_buzzer_d": "레",
"byrobot_dronefighter_controller_buzzer_ds": "레#",
"byrobot_dronefighter_controller_buzzer_e": "미",
"byrobot_dronefighter_controller_buzzer_f": "파",
"byrobot_dronefighter_controller_buzzer_fs": "파#",
"byrobot_dronefighter_controller_buzzer_g": "솔",
"byrobot_dronefighter_controller_buzzer_gs": "솔#",
"byrobot_dronefighter_controller_buzzer_a": "라",
"byrobot_dronefighter_controller_buzzer_as": "라#",
"byrobot_dronefighter_controller_buzzer_b": "시",
"byrobot_dronefighter_controller_userinterface_preset_clear": "모두 지우기",
"byrobot_dronefighter_controller_userinterface_preset_dronefighter2017": "기본",
"byrobot_dronefighter_controller_userinterface_preset_education": "교육용",
"byrobot_dronefighter_controller_userinterface_command_setup_button_frontleft_down": "왼쪽 빨간 버튼을 눌렀을 때",
"byrobot_dronefighter_controller_userinterface_command_setup_button_frontright_down": "오른쪽 빨간 버튼을 눌렀을 때",
"byrobot_dronefighter_controller_userinterface_command_setup_button_midturnleft_down": "트림 좌회전 버튼을 눌렀을 때",
"byrobot_dronefighter_controller_userinterface_command_setup_button_midturnright_down": "트림 우회전 버튼을 눌렀을 때",
"byrobot_dronefighter_controller_userinterface_command_setup_button_midup_down": "트림 앞 버튼을 눌렀을 때",
"byrobot_dronefighter_controller_userinterface_command_setup_button_midleft_down": "트림 왼쪽 버튼을 눌렀을 때",
"byrobot_dronefighter_controller_userinterface_command_setup_button_midright_down": "트림 오른쪽 버튼을 눌렀을 때",
"byrobot_dronefighter_controller_userinterface_command_setup_button_middown_down": "트림 뒤 버튼을 눌렀을 때",
"byrobot_dronefighter_controller_userinterface_command_setup_joystick_left_up_in": "왼쪽 조이스틱을 위로 움직였을 때",
"byrobot_dronefighter_controller_userinterface_command_setup_joystick_left_left_in": "왼쪽 조이스틱을 왼쪽으로 움직였을 때",
"byrobot_dronefighter_controller_userinterface_command_setup_joystick_left_right_in": "왼쪽 조이스틱을 오른쪽으로 움직였을 때",
"byrobot_dronefighter_controller_userinterface_command_setup_joystick_left_down_in": "왼쪽 조이스틱을 아래로 움직였을 때",
"byrobot_dronefighter_controller_userinterface_command_setup_joystick_right_up_in": "오른쪽 조이스틱을 위로 움직였을 때",
"byrobot_dronefighter_controller_userinterface_command_setup_joystick_right_left_in": "오른쪽 조이스틱을 왼쪽으로 움직였을 때",
"byrobot_dronefighter_controller_userinterface_command_setup_joystick_right_right_in": "오른쪽 조이스틱을 오른쪽으로 움직였을 때",
"byrobot_dronefighter_controller_userinterface_command_setup_joystick_right_down_in": "오른쪽 조이스틱을 아래로 움직였을 때",
"byrobot_dronefighter_controller_userinterface_function_joystickcalibration_reset": "조이스틱 보정 초기화",
"byrobot_dronefighter_controller_userinterface_function_change_team_red": "팀 - 레드",
"byrobot_dronefighter_controller_userinterface_function_change_team_blue": "팀 - 블루",
"byrobot_dronefighter_controller_userinterface_function_change_mode_vehicle_flight": "드론",
"byrobot_dronefighter_controller_userinterface_function_change_mode_vehicle_flightnoguard": "드론 - 가드 없음",
"byrobot_dronefighter_controller_userinterface_function_change_mode_vehicle_drive": "자동차",
"byrobot_dronefighter_controller_userinterface_function_change_coordinate_local": "방위 - 일반",
"byrobot_dronefighter_controller_userinterface_function_change_coordinate_world": "방위 - 앱솔루트",
"byrobot_dronefighter_controller_userinterface_function_change_mode_control_mode1": "조종 - MODE 1",
"byrobot_dronefighter_controller_userinterface_function_change_mode_control_mode2": "조종 - MODE 2",
"byrobot_dronefighter_controller_userinterface_function_change_mode_control_mode3": "조종 - MODE 3",
"byrobot_dronefighter_controller_userinterface_function_change_mode_control_mode4": "조종 - MODE 4",
"byrobot_dronefighter_controller_userinterface_function_gyrobias_reset": "자이로 바이어스 리셋",
"byrobot_dronefighter_controller_userinterface_function_change_mode_usb_cdc": "USB 시리얼 통신 장치",
"byrobot_dronefighter_controller_userinterface_function_change_mode_usb_hid": "USB 게임 컨트롤러",
"byrobot_dronefighter_drone_team": "팀 ",
"byrobot_dronefighter_drone_team_red": "레드",
"byrobot_dronefighter_drone_team_blue": "블루",
"byrobot_dronefighter_drone_coordinate_world": "앱솔루트",
"byrobot_dronefighter_drone_coordinate_local": "일반",
"byrobot_dronefighter_drone_mode_vehicle_flight": "드론",
"byrobot_dronefighter_drone_mode_vehicle_drive": "자동차",
"byrobot_dronefighter_drone_control_double_wheel": "방향",
"byrobot_dronefighter_drone_control_double_wheel_left": "왼쪽 회전",
"byrobot_dronefighter_drone_control_double_wheel_right": "오른쪽 회전",
"byrobot_dronefighter_drone_control_double_accel_forward": "전진",
"byrobot_dronefighter_drone_control_double_accel_backward": "후진",
"byrobot_dronefighter_drone_control_quad_roll": "Roll",
"byrobot_dronefighter_drone_control_quad_pitch": "Pitch",
"byrobot_dronefighter_drone_control_quad_yaw": "Yaw",
"byrobot_dronefighter_drone_control_quad_throttle": "Throttle",
"byrobot_dronefighter_drone_control_quad_roll_left": "왼쪽",
"byrobot_dronefighter_drone_control_quad_roll_right": "오른쪽",
"byrobot_dronefighter_drone_control_quad_pitch_forward": "앞으로",
"byrobot_dronefighter_drone_control_quad_pitch_backward": "뒤로",
"byrobot_dronefighter_drone_control_quad_yaw_left": "왼쪽 회전",
"byrobot_dronefighter_drone_control_quad_yaw_right": "오른쪽 회전",
"byrobot_dronefighter_drone_control_quad_throttle_up": "위",
"byrobot_dronefighter_drone_control_quad_throttle_down": "아래",
"byrobot_petrone_v2_common_left": "왼쪽",
"byrobot_petrone_v2_common_light_color_cottoncandy": "구름솜사탕",
"byrobot_petrone_v2_common_light_color_emerald": "에메랄드",
"byrobot_petrone_v2_common_light_color_lavender": "라벤더",
"byrobot_petrone_v2_common_light_mode_dimming": "천천히 깜빡임",
"byrobot_petrone_v2_common_light_mode_flicker": "깜빡임",
"byrobot_petrone_v2_common_light_mode_flicker_double": "2번 연속 깜빡임",
"byrobot_petrone_v2_common_light_mode_hold": "켜짐",
"byrobot_petrone_v2_common_light_color_muscat": "청포도",
"byrobot_petrone_v2_common_light_color_strawberrymilk": "딸기우유",
"byrobot_petrone_v2_common_light_color_sunset": "저녁노을",
"byrobot_petrone_v2_common_light_manual_all": "전체",
"byrobot_petrone_v2_common_light_manual_b100": "밝기 100%",
"byrobot_petrone_v2_common_light_manual_b25": "밝기 25%",
"byrobot_petrone_v2_common_light_manual_b50": "밝기 50%",
"byrobot_petrone_v2_common_light_manual_b75": "밝기 75%",
"byrobot_petrone_v2_common_light_manual_blue": "파랑",
"byrobot_petrone_v2_common_light_manual_cyan": "하늘색",
"byrobot_petrone_v2_common_light_manual_green": "초록",
"byrobot_petrone_v2_common_light_manual_magenta": "핑크",
"byrobot_petrone_v2_common_light_manual_off": "끄기",
"byrobot_petrone_v2_common_light_manual_on": "켜기",
"byrobot_petrone_v2_common_light_manual_red": "빨강",
"byrobot_petrone_v2_common_light_manual_white": "흰색",
"byrobot_petrone_v2_common_light_manual_yellow": "노랑",
"byrobot_petrone_v2_common_pitch": "Pitch",
"byrobot_petrone_v2_common_right": "오른쪽",
"byrobot_petrone_v2_common_roll": "Roll",
"byrobot_petrone_v2_common_throttle": "Throttle",
"byrobot_petrone_v2_common_yaw": "Yaw",
"byrobot_petrone_v2_controller_button_bottom_left": "왼쪽 둥근 버튼",
"byrobot_petrone_v2_controller_button_bottom_left_right": "양쪽 둥근 버튼",
"byrobot_petrone_v2_controller_button_bottom_right": "오른쪽 둥근 버튼",
"byrobot_petrone_v2_controller_button_button": "버튼",
"byrobot_petrone_v2_controller_button_center_down": "트림 뒤 버튼",
"byrobot_petrone_v2_controller_button_center_left": "트림 왼쪽 버튼",
"byrobot_petrone_v2_controller_button_center_right": "트림 오른쪽 버튼",
"byrobot_petrone_v2_controller_button_center_up": "트림 앞 버튼",
"byrobot_petrone_v2_controller_button_center_up_left": "트림 좌회전 버튼",
"byrobot_petrone_v2_controller_button_center_up_right": "트림 우회전 버튼",
"byrobot_petrone_v2_controller_button_event": "버튼 이벤트",
"byrobot_petrone_v2_controller_button_front_left": "왼쪽 빨간 버튼",
"byrobot_petrone_v2_controller_button_front_left_right": "양쪽 빨간 버튼",
"byrobot_petrone_v2_controller_button_front_right": "오른쪽 빨간 버튼",
"byrobot_petrone_v2_controller_buzzer": "버저",
"byrobot_petrone_v2_controller_buzzer_a": "라",
"byrobot_petrone_v2_controller_buzzer_as": "라#",
"byrobot_petrone_v2_controller_buzzer_b": "시",
"byrobot_petrone_v2_controller_buzzer_c": "도",
"byrobot_petrone_v2_controller_buzzer_cs": "도#",
"byrobot_petrone_v2_controller_buzzer_d": "레",
"byrobot_petrone_v2_controller_buzzer_ds": "레#",
"byrobot_petrone_v2_controller_buzzer_e": "미",
"byrobot_petrone_v2_controller_buzzer_f": "파",
"byrobot_petrone_v2_controller_buzzer_fs": "파#",
"byrobot_petrone_v2_controller_buzzer_g": "솔",
"byrobot_petrone_v2_controller_buzzer_gs": "솔#",
"byrobot_petrone_v2_controller_buzzer_mute": "쉼",
"byrobot_petrone_v2_controller_display_align_center": "가운데",
"byrobot_petrone_v2_controller_display_align_left": "왼쪽",
"byrobot_petrone_v2_controller_display_align_right": "오른쪽",
"byrobot_petrone_v2_controller_display_flagfill_off": "채우지 않음",
"byrobot_petrone_v2_controller_display_flagfill_on": "채움",
"byrobot_petrone_v2_controller_display_font_10x16": "큼",
"byrobot_petrone_v2_controller_display_font_5x8": "작음",
"byrobot_petrone_v2_controller_display_line_dashed": "파선",
"byrobot_petrone_v2_controller_display_line_dotted": "점선",
"byrobot_petrone_v2_controller_display_line_solid": "실선",
"byrobot_petrone_v2_controller_display_pixel_black": "검은색",
"byrobot_petrone_v2_controller_display_pixel_white": "흰색",
"byrobot_petrone_v2_controller_joystick_direction_center": "중앙",
"byrobot_petrone_v2_controller_joystick_direction_down": "아래",
"byrobot_petrone_v2_controller_joystick_direction_left": "왼쪽",
"byrobot_petrone_v2_controller_joystick_direction_left_down": "왼쪽 아래",
"byrobot_petrone_v2_controller_joystick_direction_left_up": "왼쪽 위",
"byrobot_petrone_v2_controller_joystick_direction_right": "오른쪽",
"byrobot_petrone_v2_controller_joystick_direction_right_down": "오른쪽 아래",
"byrobot_petrone_v2_controller_joystick_direction_right_up": "오른쪽 위",
"byrobot_petrone_v2_controller_joystick_direction_up": "위",
"byrobot_petrone_v2_controller_joystick_left_direction": "왼쪽 조이스틱 방향",
"byrobot_petrone_v2_controller_joystick_left_event": "왼쪽 조이스틱 이벤트",
"byrobot_petrone_v2_controller_joystick_left_x": "왼쪽 조이스틱 가로축",
"byrobot_petrone_v2_controller_joystick_left_y": "왼쪽 조이스틱 세로축",
"byrobot_petrone_v2_controller_joystick_right_direction": "오른쪽 조이스틱 방향",
"byrobot_petrone_v2_controller_joystick_right_event": "오른쪽 조이스틱 이벤트",
"byrobot_petrone_v2_controller_joystick_right_x": "오른쪽 조이스틱 가로축",
"byrobot_petrone_v2_controller_joystick_right_y": "오른쪽 조이스틱 세로축",
"byrobot_petrone_v2_drone_accel_x": "가속도 x",
"byrobot_petrone_v2_drone_accel_y": "가속도 y",
"byrobot_petrone_v2_drone_accel_z": "가속도 z",
"byrobot_petrone_v2_drone_attitude_pitch": "자세 Pitch",
"byrobot_petrone_v2_drone_attitude_roll": "자세 Roll",
"byrobot_petrone_v2_drone_attitude_yaw": "자세 Yaw",
"byrobot_petrone_v2_drone_control_double_accel_forward": "전진/후진",
"byrobot_petrone_v2_drone_control_double_wheel": "방향",
"byrobot_petrone_v2_drone_control_double_wheel_left": "왼쪽 회전",
"byrobot_petrone_v2_drone_control_double_wheel_right": "오른쪽 회전",
"byrobot_petrone_v2_drone_control_quad_pitch": "Pitch",
"byrobot_petrone_v2_drone_control_quad_pitch_backward": "뒤로",
"byrobot_petrone_v2_drone_control_quad_pitch_forward": "앞으로",
"byrobot_petrone_v2_drone_control_quad_roll": "Roll",
"byrobot_petrone_v2_drone_control_quad_roll_left": "왼쪽",
"byrobot_petrone_v2_drone_control_quad_roll_right": "오른쪽",
"byrobot_petrone_v2_drone_control_quad_throttle": "Throttle",
"byrobot_petrone_v2_drone_control_quad_throttle_down": "아래",
"byrobot_petrone_v2_drone_control_quad_throttle_up": "위",
"byrobot_petrone_v2_drone_control_quad_yaw": "Yaw",
"byrobot_petrone_v2_drone_control_quad_yaw_left": "왼쪽 회전",
"byrobot_petrone_v2_drone_control_quad_yaw_right": "오른쪽 회전",
"byrobot_petrone_v2_drone_coordinate_local": "off (숙련자용)",
"byrobot_petrone_v2_drone_coordinate_world": "on (초보자용)",
"byrobot_petrone_v2_drone_gyro_pitch": "각속도 Pitch",
"byrobot_petrone_v2_drone_gyro_roll": "각속도 Roll",
"byrobot_petrone_v2_drone_gyro_yaw": "각속도 Yaw",
"byrobot_petrone_v2_drone_imageflow_positionX": "image flow X",
"byrobot_petrone_v2_drone_imageflow_positionY": "image flow Y",
"byrobot_petrone_v2_drone_irmessage": "적외선 수신 값",
"byrobot_petrone_v2_drone_irmessage_direction": "적외선 수신 방향",
"byrobot_petrone_v2_drone_irmessage_direction_front": "앞",
"byrobot_petrone_v2_drone_irmessage_direction_rear": "뒤",
"byrobot_petrone_v2_drone_light_color_arm": "팔",
"byrobot_petrone_v2_drone_light_color_eye": "눈",
"byrobot_petrone_v2_drone_light_manual_arm_blue": "팔 파랑",
"byrobot_petrone_v2_drone_light_manual_arm_green": "팔 초록",
"byrobot_petrone_v2_drone_light_manual_arm_red": "팔 빨강",
"byrobot_petrone_v2_drone_light_manual_eye_blue": "눈 파랑",
"byrobot_petrone_v2_drone_light_manual_eye_green": "눈 초록",
"byrobot_petrone_v2_drone_light_manual_eye_red": "눈 빨강",
"byrobot_petrone_v2_drone_motor_rotation_clockwise": "시계 방향",
"byrobot_petrone_v2_drone_motor_rotation_counterclockwise": "반시계 방향",
"byrobot_petrone_v2_drone_pressure_pressure": "해발고도",
"byrobot_petrone_v2_drone_pressure_temperature": "온도",
"byrobot_petrone_v2_drone_range_bottom": "바닥까지 거리",
"byrobot_petrone_v2_drone_state_battery": "배터리",
"byrobot_petrone_v2_drone_state_mode_coordinate": "기본 좌표계",
"byrobot_petrone_v2_drone_state_mode_drive": "자동차 동작 상태",
"byrobot_petrone_v2_drone_state_mode_flight": "비행 동작 상태",
"byrobot_petrone_v2_drone_state_mode_system": "시스템 모드",
"byrobot_petrone_v2_drone_state_mode_vehicle": "Vehicle mode",
"byrobot_petrone_v2_drone_team": "팀 ",
"byrobot_petrone_v2_drone_team_blue": "블루",
"byrobot_petrone_v2_drone_team_red": "레드",
"byrobot_petrone_v2_drone_vehicle_drive": "자동차",
"byrobot_petrone_v2_drone_vehicle_drive_fpv": "자동차(FPV)",
"byrobot_petrone_v2_drone_vehicle_flight": "드론(가드 포함)",
"byrobot_petrone_v2_drone_vehicle_flight_fpv": "드론(FPV)",
"byrobot_petrone_v2_drone_vehicle_flight_noguard": "드론(가드 없음)",
"byrobot_petrone_v2_entryhw_count_transfer_reserved": "전송 예약된 데이터 수",
"chocopi_control_event_pressed": "누를 때",
"chocopi_control_event_released": "뗄 때",
"chocopi_joystick_X": "조이스틱 좌우",
"chocopi_joystick_Y": "조이스틱 상하",
"chocopi_motion_photogate_event_blocked": "막았을 때",
"chocopi_motion_photogate_event_unblocked": "열었을 때",
"chocopi_motion_photogate_time_blocked": "막은 시간",
"chocopi_motion_photogate_time_unblocked": "연 시간",
"chocopi_port": "포트",
"chocopi_pot": "볼륨",
"chocopi_touch_event_touch": "만질 때",
"chocopi_touch_event_untouch": "뗄 때",
"CODEino_get_sensor_number_0": "0",
"CODEino_get_sensor_number_1": "1",
"CODEino_get_sensor_number_2": "2",
"CODEino_get_sensor_number_3": "3",
"CODEino_get_sensor_number_4": "4",
"CODEino_get_sensor_number_5": "5",
"CODEino_get_sensor_number_6": "6",
"CODEino_sensor_name_0": "소리",
"CODEino_sensor_name_1": "빛",
"CODEino_sensor_name_2": "슬라이더",
"CODEino_sensor_name_3": "저항-A",
"CODEino_sensor_name_4": "저항-B",
"CODEino_sensor_name_5": "저항-C",
"CODEino_sensor_name_6": "저항-D",
"CODEino_string_1": " 센서값 ",
"CODEino_string_2": " 보드의 ",
"CODEino_string_3": "버튼누름",
"CODEino_string_4": "A 연결됨",
"CODEino_string_5": "B 연결됨",
"CODEino_string_6": "C 연결됨",
"CODEino_string_7": "D 연결됨",
"CODEino_string_8": " 3축 가속도센서 ",
"CODEino_string_9": "축의 센서값 ",
"CODEino_string_10": "소리센서 ",
"CODEino_string_11": "소리큼",
"CODEino_string_12": "소리작음",
"CODEino_string_13": "빛센서 ",
"CODEino_string_14": "밝음",
"CODEino_string_15": "어두움",
"CODEino_string_16": "왼쪽 기울임",
"CODEino_string_17": "오른쪽 기울임",
"CODEino_string_18": "위쪽 기울임",
"CODEino_string_19": "아래쪽 기울임",
"CODEino_string_20": "뒤집힘",
"CODEino_accelerometer_X": "X",
"CODEino_accelerometer_Y": "Y",
"CODEino_accelerometer_Z": "Z",
"CODEino_led_red": "빨강",
"CODEino_led_green": "초록",
"CODEino_led_blue": "파랑",
"iboard_analog_number_0": "A0",
"iboard_analog_number_1": "A1",
"iboard_analog_number_2": "A2",
"iboard_analog_number_3": "A3",
"iboard_analog_number_4": "A4",
"iboard_analog_number_5": "A5",
"iboard_light": "빛센서가 ",
"iboard_num_pin_1": "LED 상태를",
"iboard_num_pin_2": "번 스위치가",
"iboard_num_pin_3": "아날로그",
"iboard_num_pin_4": "번 ",
"iboard_num_pin_5": "센서값",
"iboard_string_1": "켜짐",
"iboard_string_2": "꺼짐",
"iboard_string_3": "밝음",
"iboard_string_4": "어두움",
"iboard_string_5": "눌림",
"iboard_string_6": "열림",
"iboard_switch": "스위치 ",
"iboard_tilt": "기울기센서 상태가",
"dplay_switch": "스위치 ",
"dplay_light": "빛센서가 ",
"dplay_tilt": "기울기센서 상태가",
"dplay_string_1": "켜짐",
"dplay_string_2": "꺼짐",
"dplay_string_3": "밝음",
"dplay_string_4": "어두움",
"dplay_string_5": "눌림",
"dplay_string_6": "열림",
"dplay_num_pin_1": "LED 상태를",
"dplay_num_pin_2": "번 스위치가",
"dplay_num_pin_3": "아날로그",
"dplay_num_pin_4": "번 ",
"dplay_num_pin_5": "센서값",
"dplay_analog_number_0": "A0",
"dplay_analog_number_1": "A1",
"dplay_analog_number_2": "A2",
"dplay_analog_number_3": "A3",
"dplay_analog_number_4": "A4",
"dplay_analog_number_5": "A5",
"ARDUINO_arduino_get_string_1": "신호",
"ARDUINO_arduino_get_string_2": "의 글자 결과값",
"ARDUINO_arduino_send_1": "신호",
"ARDUINO_arduino_send_2": "보내기",
"ARDUINO_num_sensor_value_1": "아날로그",
"ARDUINO_num_sensor_value_2": "번 센서값",
"ARDUINO_get_digital_value_1": "디지털",
"ARDUINO_num_pin_1": "디지털",
"ARDUINO_num_pin_2": "번 핀",
"ARDUINO_toggle_pwm_1": "디지털",
"ARDUINO_toggle_pwm_2": "번 핀을",
"ARDUINO_toggle_pwm_3": "(으)로 정하기",
"ARDUINO_on": "켜기",
"ARDUINO_convert_scale_1": "",
"ARDUINO_convert_scale_2": "값의 범위를",
"ARDUINO_convert_scale_3": "~",
"ARDUINO_convert_scale_4": "에서",
"ARDUINO_convert_scale_5": "~",
"ARDUINO_convert_scale_6": "(으)로 바꾼값",
"ARDUINO_off": "끄기",
"brightness": "밝기",
"BRUSH": "붓",
"BRUSH_brush_erase_all": "모든 붓 지우기",
"BRUSH_change_opacity_1": "붓의 불투명도를",
"BRUSH_change_opacity_2": "% 만큼 바꾸기",
"BRUSH_change_thickness_1": "붓의 굵기를",
"BRUSH_change_thickness_2": "만큼 바꾸기",
"BRUSH_set_color_1": "붓의 색을",
"BRUSH_set_color_2": "(으)로 정하기",
"BRUSH_set_opacity_1": "붓의 불투명도를",
"BRUSH_set_opacity_2": "% 로 정하기",
"BRUSH_set_random_color": "붓의 색을 무작위로 정하기",
"BRUSH_set_thickness_1": "붓의 굵기를",
"BRUSH_set_thickness_2": "(으)로 정하기",
"BRUSH_stamp": "도장찍기",
"BRUSH_start_drawing": "그리기 시작하기",
"BRUSH_stop_drawing": "그리기 멈추기",
"CALC": "계산",
"CALC_calc_mod_1": "",
"CALC_calc_mod_2": "/",
"CALC_calc_mod_3": "의 나머지",
"CALC_calc_operation_of_1": "",
"CALC_calc_operation_of_2": "의",
"CALC_calc_operation_root": "루트",
"CALC_calc_operation_square": "제곱",
"CALC_calc_rand_1": "",
"CALC_calc_rand_2": "부터",
"CALC_calc_rand_3": "사이의 무작위 수",
"CALC_calc_share_1": "",
"CALC_calc_share_2": "/",
"CALC_calc_share_3": "의 몫",
"CALC_coordinate_mouse_1": "마우스",
"CALC_coordinate_mouse_2": "좌표",
"CALC_coordinate_object_1": "",
"CALC_coordinate_object_2": "의",
"CALC_coordinate_object_3": "",
"CALC_distance_something_1": "",
"CALC_distance_something_2": "까지의 거리",
"CALC_get_angle": "각도값",
"CALC_get_date_1": " 현재",
"CALC_get_date_2": "",
"CALC_get_date_day": "일",
"CALC_get_date_hour": "시각(시)",
"CALC_get_date_minute": "시각(분)",
"CALC_get_date_month": "월",
"CALC_get_date_second": "시각(초)",
"CALC_get_date_year": "연도",
"CALC_get_sound_duration_1": "",
"CALC_get_sound_duration_2": "소리의 길이",
"CALC_get_timer_value": " 초시계 값",
"CALC_get_x_coordinate": "X 좌푯값",
"CALC_get_y_coordinate": "Y 좌푯값",
"CALC_timer_reset": "초시계 초기화",
"CALC_timer_visible_1": "초시계",
"CALC_timer_visible_2": "",
"CALC_timer_visible_show": "보이기",
"CALC_timer_visible_hide": "숨기기",
"color": "색깔",
"FLOW": "흐름",
"FLOW__if_1": "만일",
"FLOW__if_2": "이라면",
"FLOW_create_clone_1": "",
"FLOW_create_clone_2": "의 복제본 만들기",
"FLOW_delete_clone": "이 복제본 삭제하기",
"FLOW_delete_clone_all": "모든 복제본 삭제하기",
"FLOW_if_else_1": "만일",
"FLOW_if_else_2": "이라면",
"FLOW_if_else_3": "아니면",
"FLOW_repeat_basic_1": "",
"FLOW_repeat_basic_2": "번 반복하기",
"FLOW_repeat_basic_errorMsg": "반복 횟수는 0보다 같거나 커야 합니다.",
"FLOW_repeat_inf": "계속 반복하기",
"FLOW_restart": "처음부터 다시 실행하기",
"FLOW_stop_object_1": "",
"FLOW_stop_object_2": "멈추기",
"FLOW_stop_object_all": "모든",
"FLOW_stop_object_this_object": "자신의",
"FLOW_stop_object_this_thread": "이",
"FLOW_stop_object_other_thread": "자신의 다른",
"FLOW_stop_object_other_objects": "다른 오브젝트의",
"FLOW_stop_repeat": "반복 중단하기",
"FLOW_stop_run": "프로그램 끝내기",
"FLOW_wait_second_1": "",
"FLOW_wait_second_2": "초 기다리기",
"FLOW_wait_until_true_1": "",
"FLOW_wait_until_true_2": "이(가) 될 때까지 기다리기",
"FLOW_when_clone_start": "복제본이 처음 생성되었을때",
"FUNC": "함수",
"JUDGEMENT": "판단",
"JUDGEMENT_boolean_and": "그리고",
"JUDGEMENT_boolean_not_1": "",
"JUDGEMENT_boolean_not_2": "(이)가 아니다",
"JUDGEMENT_boolean_or": "또는",
"JUDGEMENT_false": " 거짓 ",
"JUDGEMENT_is_clicked": "마우스를 클릭했는가?",
"JUDGEMENT_is_press_some_key_1": "",
"JUDGEMENT_is_press_some_key_2": "키가 눌러져 있는가?",
"JUDGEMENT_reach_something_1": "",
"JUDGEMENT_reach_something_2": "에 닿았는가?",
"JUDGEMENT_true": " 참 ",
"LOOKS": "생김새",
"LOOKS_change_scale_percent_1": "크기를",
"LOOKS_change_scale_percent_2": "만큼 바꾸기",
"LOOKS_change_to_next_shape": "다음 모양으로 바꾸기",
"LOOKS_change_to_nth_shape_1": "",
"LOOKS_change_to_nth_shape_2": "모양으로 바꾸기",
"LOOKS_change_shape_prev": "이전",
"LOOKS_change_shape_next": "다음",
"LOOKS_change_to_near_shape_1": "",
"LOOKS_change_to_near_shape_2": "모양으로 바꾸기",
"LOOKS_dialog_1": "",
"LOOKS_dialog_2": "을(를)",
"LOOKS_dialog_3": "",
"LOOKS_dialog_time_1": "",
"LOOKS_dialog_time_2": "을(를)",
"LOOKS_dialog_time_3": "초 동안",
"LOOKS_dialog_time_4": "",
"LOOKS_erase_all_effects": "효과 모두 지우기",
"LOOKS_flip_x": "상하 모양 뒤집기",
"LOOKS_flip_y": "좌우 모양 뒤집기",
"LOOKS_hide": "모양 숨기기",
"LOOKS_remove_dialog": "말하기 지우기",
"LOOKS_set_effect_1": "",
"LOOKS_set_effect_2": "효과를",
"LOOKS_set_effect_3": "(으)로 정하기",
"LOOKS_set_effect_volume_1": "",
"LOOKS_set_effect_volume_2": "효과를",
"LOOKS_set_effect_volume_3": "만큼 주기",
"LOOKS_set_object_order_1": "",
"LOOKS_set_object_order_2": "번째로 올라오기",
"LOOKS_set_scale_percent_1": "크기를",
"LOOKS_set_scale_percent_2": " (으)로 정하기",
"LOOKS_show": "모양 보이기",
"mouse_pointer": "마우스포인터",
"MOVING": "움직임",
"MOVING_bounce_wall": "화면 끝에 닿으면 튕기기",
"MOVING_bounce_when_1": "",
"MOVING_bounce_when_2": "에 닿으면 튕기기",
"MOVING_flip_arrow_horizontal": "화살표 방향 좌우 뒤집기",
"MOVING_flip_arrow_vertical": "화살표 방향 상하 뒤집기",
"MOVING_locate_1": "",
"MOVING_locate_2": "위치로 이동하기",
"MOVING_locate_time_1": "",
"MOVING_locate_time_2": "초 동안",
"MOVING_locate_time_3": "위치로 이동하기",
"MOVING_locate_x_1": "x:",
"MOVING_locate_x_2": "위치로 이동하기",
"MOVING_locate_xy_1": "x:",
"MOVING_locate_xy_2": "y:",
"MOVING_locate_xy_3": "위치로 이동하기",
"MOVING_locate_xy_time_1": "",
"MOVING_locate_xy_time_2": "초 동안 x:",
"MOVING_locate_xy_time_3": "y:",
"MOVING_locate_xy_time_4": "위치로 이동하기",
"MOVING_locate_y_1": "y:",
"MOVING_locate_y_2": "위치로 이동하기",
"MOVING_move_direction_1": "이동 방향으로",
"MOVING_move_direction_2": "만큼 움직이기",
"MOVING_move_direction_angle_1": "",
"MOVING_move_direction_angle_2": "방향으로",
"MOVING_move_direction_angle_3": "만큼 움직이기",
"MOVING_move_x_1": "x 좌표를",
"MOVING_move_x_2": "만큼 바꾸기",
"MOVING_move_xy_time_1": "",
"MOVING_move_xy_time_2": "초 동안 x:",
"MOVING_move_xy_time_3": "y:",
"MOVING_move_xy_time_4": "만큼 움직이기",
"MOVING_move_y_1": "y 좌표를",
"MOVING_move_y_2": "만큼 바꾸기",
"MOVING_rotate_by_angle_1": "오브젝트를",
"MOVING_rotate_by_angle_2": "만큼 회전하기",
"MOVING_rotate_by_angle_dropdown_1": "",
"MOVING_rotate_by_angle_dropdown_2": "만큼 회전하기",
"MOVING_rotate_by_angle_time_1": "오브젝트를",
"MOVING_rotate_by_angle_time_2": "초 동안",
"MOVING_rotate_by_angle_time_3": "만큼 회전하기",
"MOVING_rotate_direction_1": "이동 방향을",
"MOVING_rotate_direction_2": "만큼 회전하기",
"MOVING_see_angle_1": "이동 방향을",
"MOVING_see_angle_2": "(으)로 정하기",
"MOVING_see_angle_direction_1": "오브젝트를",
"MOVING_see_angle_direction_2": "(으)로 정하기",
"MOVING_see_angle_object_1": "",
"MOVING_see_angle_object_2": "쪽 바라보기",
"MOVING_see_direction_1": "",
"MOVING_see_direction_2": "쪽 보기",
"MOVING_set_direction_by_angle_1": "방향을",
"MOVING_set_direction_by_angle_2": "(으)로 정하기",
"MOVING_add_direction_by_angle_1": "방향을",
"MOVING_add_direction_by_angle_2": "만큼 회전하기",
"MOVING_add_direction_by_angle_time_1": "방향을",
"MOVING_add_direction_by_angle_time_2": "초 동안",
"MOVING_add_direction_by_angle_time_3": "만큼 회전하기",
"no_target": "대상없음",
"oneself": "자신",
"opacity": "불투명도",
"SCENE": "장면",
"SOUND": "소리",
"SOUND_sound_silent_all": "모든 소리 멈추기",
"SOUND_sound_something_1": "소리",
"SOUND_sound_something_2": "재생하기",
"SOUND_sound_something_second_1": "소리",
"SOUND_sound_something_second_2": "",
"SOUND_sound_something_second_3": "초 재생하기",
"SOUND_sound_something_second_wait_1": "소리",
"SOUND_sound_something_second_wait_2": "",
"SOUND_sound_something_second_wait_3": "초 재생하고 기다리기",
"SOUND_sound_something_wait_1": "소리 ",
"SOUND_sound_something_wait_2": "재생하고 기다리기",
"SOUND_sound_volume_change_1": "소리 크기를",
"SOUND_sound_volume_change_2": "% 만큼 바꾸기",
"SOUND_sound_volume_set_1": "소리 크기를",
"SOUND_sound_volume_set_2": "% 로 정하기",
"speak": "말하기",
"START": "시작",
"START_add_message": "신호 추가하기",
"START_delete_message": "신호 삭제하기",
"START_message_cast": "신호 보내기",
"START_message_cast_1": "",
"START_message_cast_2": "신호 보내기",
"START_message_cast_wait": "신호 보내고 기다리기",
"START_message_send_wait_1": "",
"START_message_send_wait_2": "신호 보내고 기다리기",
"START_mouse_click_cancled": "마우스 클릭을 해제했을 때",
"START_mouse_clicked": "마우스를 클릭했을 때",
"START_press_some_key_1": "",
"START_press_some_key_2": "키를 눌렀을 때",
"START_press_some_key_down": "아래쪽 화살표",
"START_press_some_key_enter": "엔터",
"START_press_some_key_left": "왼쪽 화살표",
"START_press_some_key_right": "오른쪽 화살표",
"START_press_some_key_space": "스페이스",
"START_press_some_key_up": "위쪽 화살표",
"START_when_message_cast": "신호를 받았을 때",
"START_when_message_cast_1": "",
"START_when_message_cast_2": "신호를 받았을 때",
"START_when_object_click": "오브젝트를 클릭했을 때",
"START_when_object_click_canceled": "오브젝트 클릭을 해제했을 때",
"START_when_run_button_click": "시작하기 버튼을 클릭했을 때",
"START_when_scene_start": "장면이 시작했을때",
"START_when_some_key_click": "키를 눌렀을 때",
"TEXT": "글상자",
"TEXT_text": "엔트리",
"TEXT_text_append_1": "",
"TEXT_text_append_2": "라고 뒤에 이어쓰기",
"TEXT_text_flush": "텍스트 모두 지우기",
"TEXT_text_prepend_1": "",
"TEXT_text_prepend_2": "라고 앞에 추가하기",
"TEXT_text_write_1": "",
"TEXT_text_write_2": "라고 글쓰기",
"VARIABLE": "자료",
"VARIABLE_add_value_to_list": "항목을 리스트에 추가하기",
"VARIABLE_add_value_to_list_1": "",
"VARIABLE_add_value_to_list_2": "항목을",
"VARIABLE_add_value_to_list_3": "에 추가하기",
"VARIABLE_ask_and_wait_1": "",
"VARIABLE_ask_and_wait_2": "을(를) 묻고 대답 기다리기",
"VARIABLE_change_value_list_index": "항목을 바꾸기",
"VARIABLE_change_value_list_index_1": "",
"VARIABLE_change_value_list_index_3": "번째 항목을",
"VARIABLE_change_value_list_index_2": " ",
"VARIABLE_change_value_list_index_4": "(으)로 바꾸기",
"VARIABLE_change_variable": "변수 더하기",
"VARIABLE_change_variable_1": "",
"VARIABLE_change_variable_2": "에",
"VARIABLE_change_variable_3": "만큼 더하기",
"VARIABLE_change_variable_name": "변수 이름 바꾸기",
"VARIABLE_combine_something_1": "",
"VARIABLE_combine_something_2": "과(와)",
"VARIABLE_combine_something_3": "를 합치기",
"VARIABLE_get_canvas_input_value": " 대답 ",
"VARIABLE_get_variable": "변수",
"VARIABLE_get_variable_1": "값",
"VARIABLE_get_variable_2": "값",
"VARIABLE_get_y": "Y 좌푯값",
"VARIABLE_hide_list": "리스트 숨기기",
"VARIABLE_hide_list_1": "리스트",
"VARIABLE_hide_list_2": "숨기기",
"VARIABLE_hide_variable": "변수값 숨기기",
"VARIABLE_hide_variable_1": "변수",
"VARIABLE_hide_variable_2": "숨기기",
"VARIABLE_insert_value_to_list": "항목을 넣기",
"VARIABLE_insert_value_to_list_1": "",
"VARIABLE_insert_value_to_list_2": "을(를)",
"VARIABLE_insert_value_to_list_3": "의",
"VARIABLE_insert_value_to_list_4": "번째에 넣기",
"VARIABLE_length_of_list": "리스트의 길이",
"VARIABLE_length_of_list_1": "",
"VARIABLE_length_of_list_2": " 항목 수",
"VARIABLE_list": "리스트",
"VARIABLE_make_variable": "변수 만들기",
"VARIABLE_list_option_first": "첫번째",
"VARIABLE_list_option_last": "마지막",
"VARIABLE_list_option_random": "무작위",
"VARIABLE_remove_value_from_list": "항목을 삭제하기",
"VARIABLE_remove_value_from_list_1": "",
"VARIABLE_remove_value_from_list_2": "번째 항목을",
"VARIABLE_remove_value_from_list_3": "에서 삭제하기",
"VARIABLE_remove_variable": "변수 삭제",
"VARIABLE_set_variable": "변수 정하기",
"VARIABLE_set_variable_1": "",
"VARIABLE_set_variable_2": "를",
"VARIABLE_set_variable_3": "로 정하기",
"VARIABLE_show_list": "리스트 보이기",
"VARIABLE_show_list_1": "리스트",
"VARIABLE_show_list_2": "보이기",
"VARIABLE_show_variable": "변수값 보이기",
"VARIABLE_show_variable_1": "변수",
"VARIABLE_show_variable_2": "보이기",
"VARIABLE_value_of_index_from_list": "리스트 항목의 값",
"VARIABLE_value_of_index_from_list_1": "",
"VARIABLE_value_of_index_from_list_2": "의",
"VARIABLE_value_of_index_from_list_3": "번째 항목",
"HAMSTER_hand_found": "손 찾음?",
"HAMSTER_sensor_left_proximity": "왼쪽 근접 센서",
"HAMSTER_sensor_right_proximity": "오른쪽 근접 센서",
"HAMSTER_sensor_left_floor": "왼쪽 바닥 센서",
"HAMSTER_sensor_right_floor": "오른쪽 바닥 센서",
"HAMSTER_sensor_acceleration_x": "x축 가속도",
"HAMSTER_sensor_acceleration_y": "y축 가속도",
"HAMSTER_sensor_acceleration_z": "z축 가속도",
"HAMSTER_sensor_light": "밝기",
"HAMSTER_sensor_temperature": "온도",
"HAMSTER_sensor_signal_strength": "신호 세기",
"HAMSTER_sensor_input_a": "입력 A",
"HAMSTER_sensor_input_b": "입력 B",
"HAMSTER_move_forward_once": "말판 앞으로 한 칸 이동하기",
"HAMSTER_turn_once_1": "말판",
"HAMSTER_turn_once_2": "으로 한 번 돌기",
"HAMSTER_turn_once_left": "왼쪽",
"HAMSTER_turn_right": "오른쪽",
"HAMSTER_move_forward": "앞으로 이동하기",
"HAMSTER_move_backward": "뒤로 이동하기",
"HAMSTER_turn_around_1": "",
"HAMSTER_turn_around_2": "으로 돌기",
"HAMSTER_move_forward_for_secs_1": "앞으로",
"HAMSTER_move_forward_for_secs_2": "초 이동하기",
"HAMSTER_move_backward_for_secs_1": "뒤로",
"HAMSTER_move_backward_for_secs_2": "초 이동하기",
"HAMSTER_turn_for_secs_1": "",
"HAMSTER_turn_for_secs_2": "으로",
"HAMSTER_turn_for_secs_3": "초 돌기",
"HAMSTER_change_both_wheels_by_1": "왼쪽 바퀴",
"HAMSTER_change_both_wheels_by_2": "오른쪽 바퀴",
"HAMSTER_change_both_wheels_by_3": "만큼 바꾸기",
"HAMSTER_set_both_wheels_to_1": "왼쪽 바퀴",
"HAMSTER_set_both_wheels_to_2": "오른쪽 바퀴",
"HAMSTER_set_both_wheels_to_3": "(으)로 정하기",
"HAMSTER_change_wheel_by_1": "",
"HAMSTER_change_wheel_by_2": "바퀴",
"HAMSTER_change_wheel_by_3": "만큼 바꾸기",
"HAMSTER_left_wheel": "왼쪽",
"HAMSTER_right_wheel": "오른쪽",
"HAMSTER_both_wheels": "양쪽",
"HAMSTER_set_wheel_to_1": "",
"HAMSTER_set_wheel_to_2": "바퀴",
"HAMSTER_set_wheel_to_3": "(으)로 정하기",
"HAMSTER_follow_line_using_1": "",
"HAMSTER_follow_line_using_2": "선을",
"HAMSTER_follow_line_using_3": "바닥 센서로 따라가기",
"HAMSTER_left_floor_sensor": "왼쪽",
"HAMSTER_right_floor_sensor": "오른쪽",
"HAMSTER_both_floor_sensors": "양쪽",
"HAMSTER_follow_line_until_1": "",
"HAMSTER_follow_line_until_2": "선을 따라",
"HAMSTER_follow_line_until_3": "교차로까지 이동하기",
"HAMSTER_left_intersection": "왼쪽",
"HAMSTER_right_intersection": "오른쪽",
"HAMSTER_front_intersection": "앞쪽",
"HAMSTER_rear_intersection": "뒤쪽",
"HAMSTER_set_following_speed_to_1": "선 따라가기 속도를",
"HAMSTER_set_following_speed_to_2": "(으)로 정하기",
"HAMSTER_front": "앞쪽",
"HAMSTER_rear": "뒤쪽",
"HAMSTER_stop": "정지하기",
"HAMSTER_set_led_to_1": "",
"HAMSTER_set_led_to_2": "LED를",
"HAMSTER_set_led_to_3": "으로 정하기",
"HAMSTER_left_led": "왼쪽",
"HAMSTER_right_led": "오른쪽",
"HAMSTER_both_leds": "양쪽",
"HAMSTER_clear_led_1": "",
"HAMSTER_clear_led_2": "LED 끄기",
"HAMSTER_color_cyan": "하늘색",
"HAMSTER_color_magenta": "자주색",
"HAMSTER_color_black": "검은색",
"HAMSTER_color_white": "하얀색",
"HAMSTER_color_red": "빨간색",
"HAMSTER_color_yellow": "노란색",
"HAMSTER_color_green": "초록색",
"HAMSTER_color_blue": "파란색",
"HAMSTER_beep": "삐 소리내기",
"HAMSTER_change_buzzer_by_1": "버저 음을",
"HAMSTER_change_buzzer_by_2": "만큼 바꾸기",
"HAMSTER_set_buzzer_to_1": "버저 음을",
"HAMSTER_set_buzzer_to_2": "(으)로 정하기",
"HAMSTER_clear_buzzer": "버저 끄기",
"HAMSTER_play_note_for_1": "",
"HAMSTER_play_note_for_2": "",
"HAMSTER_play_note_for_3": "음을",
"HAMSTER_play_note_for_4": "박자 연주하기",
"HAMSTER_rest_for_1": "",
"HAMSTER_rest_for_2": "박자 쉬기",
"HAMSTER_change_tempo_by_1": "연주 속도를",
"HAMSTER_change_tempo_by_2": "만큼 바꾸기",
"HAMSTER_set_tempo_to_1": "연주 속도를 분당",
"HAMSTER_set_tempo_to_2": "박자로 정하기",
"HAMSTER_set_port_to_1": "포트",
"HAMSTER_set_port_to_2": "를",
"HAMSTER_set_port_to_3": "으로 정하기",
"HAMSTER_change_output_by_1": "출력",
"HAMSTER_change_output_by_2": "를",
"HAMSTER_change_output_by_3": "만큼 바꾸기",
"HAMSTER_set_output_to_1": "출력",
"HAMSTER_set_output_to_2": "를",
"HAMSTER_set_output_to_3": "(으)로 정하기",
"HAMSTER_port_a": "A",
"HAMSTER_port_b": "B",
"HAMSTER_port_ab": "A와 B",
"HAMSTER_analog_input": "아날로그 입력",
"HAMSTER_digital_input": "디지털 입력",
"HAMSTER_servo_output": "서보 출력",
"HAMSTER_pwm_output": "PWM 출력",
"HAMSTER_digital_output": "디지털 출력",
"ROBOID_acceleration_x": "x축 가속도",
"ROBOID_acceleration_y": "y축 가속도",
"ROBOID_acceleration_z": "z축 가속도",
"ROBOID_back": "뒤쪽",
"ROBOID_both": "양쪽",
"ROBOID_button": "버튼",
"ROBOID_buzzer": "버저",
"ROBOID_clicked": "클릭했는가",
"ROBOID_color_any": "아무 색",
"ROBOID_color_black": "검은색",
"ROBOID_color_blue": "파란색",
"ROBOID_color_green": "초록색",
"ROBOID_color_number": "색깔 번호",
"ROBOID_color_orange": "주황색",
"ROBOID_color_pattern": "색깔 패턴",
"ROBOID_color_purple": "자주색",
"ROBOID_color_red": "빨간색",
"ROBOID_color_sky_blue": "하늘색",
"ROBOID_color_violet": "보라색",
"ROBOID_color_white": "하얀색",
"ROBOID_color_yellow": "노란색",
"ROBOID_double_clicked": "더블클릭했는가",
"ROBOID_floor": "바닥 센서",
"ROBOID_head": "머리",
"ROBOID_head_color": "머리 색깔",
"ROBOID_left": "왼쪽",
"ROBOID_left_wheel": "왼쪽 바퀴",
"ROBOID_long_pressed": "길게~눌렀는가",
"ROBOID_note": "음표",
"ROBOID_right": "오른쪽",
"ROBOID_right_wheel": "오른쪽 바퀴",
"ROBOID_sound_beep": "삐",
"ROBOID_sound_birthday": "생일",
"ROBOID_sound_dibidibidip": "디비디비딥",
"ROBOID_sound_engine": "엔진",
"ROBOID_sound_good_job": "잘 했어요",
"ROBOID_sound_march": "행진",
"ROBOID_sound_random_beep": "무작위 삐",
"ROBOID_sound_robot": "로봇",
"ROBOID_sound_siren": "사이렌",
"ROBOID_tail": "꼬리",
"ROBOID_unit_cm": "cm",
"ROBOID_unit_deg": "도",
"ROBOID_unit_pulse": "펄스",
"ROBOID_unit_sec": "초",
"ALBERT_hand_found": "손 찾음?",
"ALBERT_is_oid_1": "",
"ALBERT_is_oid_2": "OID 값이",
"ALBERT_is_oid_3": "인가?",
"ALBERT_front_oid": "앞쪽",
"ALBERT_back_oid": "뒤쪽",
"ALBERT_sensor_left_proximity": "왼쪽 근접 센서",
"ALBERT_sensor_right_proximity": "오른쪽 근접 센서",
"ALBERT_sensor_acceleration_x": "x축 가속도",
"ALBERT_sensor_acceleration_y": "y축 가속도",
"ALBERT_sensor_acceleration_z": "z축 가속도",
"ALBERT_sensor_light": "밝기",
"ALBERT_sensor_temperature": "온도",
"ALBERT_sensor_battery": "배터리",
"ALBERT_sensor_signal_strength": "신호 세기",
"ALBERT_sensor_front_oid": "앞쪽 OID",
"ALBERT_sensor_back_oid": "뒤쪽 OID",
"ALBERT_sensor_position_x": "x 위치",
"ALBERT_sensor_position_y": "y 위치",
"ALBERT_sensor_orientation": "방향",
"ALBERT_move_forward": "앞으로 이동하기",
"ALBERT_move_backward": "뒤로 이동하기",
"ALBERT_turn_around_1": "",
"ALBERT_turn_around_2": "으로 돌기",
"ALBERT_move_forward_for_secs_1": "앞으로",
"ALBERT_move_forward_for_secs_2": "초 이동하기",
"ALBERT_move_backward_for_secs_1": "뒤로",
"ALBERT_move_backward_for_secs_2": "초 이동하기",
"ALBERT_turn_for_secs_1": "",
"ALBERT_turn_for_secs_2": "으로",
"ALBERT_turn_for_secs_3": "초 돌기",
"ALBERT_turn_left": "왼쪽",
"ALBERT_turn_right": "오른쪽",
"ALBERT_change_both_wheels_by_1": "왼쪽 바퀴",
"ALBERT_change_both_wheels_by_2": "오른쪽 바퀴",
"ALBERT_change_both_wheels_by_3": "만큼 바꾸기",
"ALBERT_left_wheel": "왼쪽",
"ALBERT_right_wheel": "오른쪽",
"ALBERT_both_wheels": "양쪽",
"ALBERT_set_both_wheels_to_1": "왼쪽 바퀴",
"ALBERT_set_both_wheels_to_2": "오른쪽 바퀴",
"ALBERT_set_both_wheels_to_3": "(으)로 정하기",
"ALBERT_change_wheel_by_1": "",
"ALBERT_change_wheel_by_2": "바퀴",
"ALBERT_change_wheel_by_3": "만큼 바꾸기",
"ALBERT_set_wheel_to_1": "",
"ALBERT_set_wheel_to_2": "바퀴",
"ALBERT_set_wheel_to_3": "(으)로 정하기",
"ALBERT_stop": "정지하기",
"ALBERT_set_board_size_to_1": "말판 크기를 폭",
"ALBERT_set_board_size_to_2": "높이",
"ALBERT_set_board_size_to_3": "(으)로 정하기",
"ALBERT_move_to_x_y_1": "말판 x:",
"ALBERT_move_to_x_y_2": "y:",
"ALBERT_move_to_x_y_3": "위치로 이동하기",
"ALBERT_set_orientation_to_1": "말판",
"ALBERT_set_orientation_to_2": "방향으로 바라보기",
"ALBERT_set_eye_to_1": "",
"ALBERT_set_eye_to_2": "눈을",
"ALBERT_set_eye_to_3": "으로 정하기",
"ALBERT_left_eye": "왼쪽",
"ALBERT_right_eye": "오른쪽",
"ALBERT_both_eyes": "양쪽",
"ALBERT_clear_eye_1": "",
"ALBERT_clear_eye_2": "눈 끄기",
"ALBERT_body_led_1": "몸통 LED",
"ALBERT_body_led_2": "",
"ALBERT_front_led_1": "앞쪽 LED",
"ALBERT_front_led_2": "",
"ALBERT_color_cyan": "하늘색",
"ALBERT_color_magenta": "보라색",
"ALBERT_color_white": "하얀색",
"ALBERT_color_red": "빨간색",
"ALBERT_color_yellow": "노란색",
"ALBERT_color_green": "초록색",
"ALBERT_color_blue": "파란색",
"ALBERT_note_c": "도",
"ALBERT_note_d": "레",
"ALBERT_note_e": "미",
"ALBERT_note_f": "파",
"ALBERT_note_g": "솔",
"ALBERT_note_a": "라",
"ALBERT_note_b": "시",
"ALBERT_turn_body_led_1": "몸통 LED",
"ALBERT_turn_body_led_2": "",
"ALBERT_turn_front_led_1": "앞쪽 LED",
"ALBERT_turn_front_led_2": "",
"ALBERT_turn_on": "켜기",
"ALBERT_turn_off": "끄기",
"ALBERT_beep": "삐 소리내기",
"ALBERT_change_buzzer_by_1": "버저 음을",
"ALBERT_change_buzzer_by_2": "만큼 바꾸기",
"ALBERT_set_buzzer_to_1": "버저 음을",
"ALBERT_set_buzzer_to_2": "(으)로 정하기",
"ALBERT_clear_buzzer": "버저 끄기",
"ALBERT_play_note_for_1": "",
"ALBERT_play_note_for_2": "",
"ALBERT_play_note_for_3": "음을",
"ALBERT_play_note_for_4": "박자 연주하기",
"ALBERT_rest_for_1": "",
"ALBERT_rest_for_2": "박자 쉬기",
"ALBERT_change_tempo_by_1": "연주 속도를",
"ALBERT_change_tempo_by_2": "만큼 바꾸기",
"ALBERT_set_tempo_to_1": "연주 속도를 분당",
"ALBERT_set_tempo_to_2": "박자로 정하기",
"VARIABLE_variable": "변수",
"wall": "벽",
"robotis_common_case_01": "(을)를",
"robotis_common_set": "(으)로 정하기",
"robotis_common_value": "값",
"robotis_common_clockwhise": "시계방향",
"robotis_common_counter_clockwhise": "반시계방향",
"robotis_common_wheel_mode": "회전모드",
"robotis_common_joint_mode": "관절모드",
"robotis_common_red_color": "빨간색",
"robotis_common_green_color": "녹색",
"robotis_common_blue_color": "파란색",
"robotis_common_on": "켜기",
"robotis_common_off": "끄기",
"robotis_common_cm": "제어기",
"robotis_common_port_1": "포트 1",
"robotis_common_port_2": "포트 2",
"robotis_common_port_3": "포트 3",
"robotis_common_port_4": "포트 4",
"robotis_common_port_5": "포트 5",
"robotis_common_port_6": "포트 6",
"robotis_common_play_buzzer": "연주",
"robotis_common_play_motion": "실행",
"robotis_common_motion": "모션",
"robotis_common_index_number": "번",
"robotis_cm_custom": "직접입력 주소",
"robotis_cm_spring_left": "왼쪽 접촉 센서",
"robotis_cm_spring_right": "오른쪽 접촉 센서",
"robotis_cm_led_left": "왼쪽 LED",
"robotis_cm_led_right": "오른쪽 LED",
"robotis_cm_led_both": "양 쪽 LED",
"robotis_cm_switch": "선택 버튼 상태",
"robotis_cm_user_button": "사용자 버튼 상태",
"robotis_cm_sound_detected": "최종 소리 감지 횟수",
"robotis_cm_sound_detecting": "실시간 소리 감지 횟수",
"robotis_cm_ir_left": "왼쪽 적외선 센서",
"robotis_cm_ir_right": "오른쪽 적외선 센서",
"robotis_cm_calibration_left": "왼쪽 적외선 센서 캘리브레이션 값",
"robotis_cm_calibration_right": "오른쪽 적외선 센서 캘리브레이션 값",
"robotis_cm_clear_sound_detected": "최종소리감지횟수 초기화",
"robotis_cm_buzzer_index": "음계값",
"robotis_cm_buzzer_melody": "멜로디",
"robotis_cm_led_1": "1번 LED",
"robotis_cm_led_4": "4번 LED",
"robotis_aux_servo_position": "서보모터 위치",
"robotis_aux_ir": "적외선센서",
"robotis_aux_touch": "접촉센서",
"robotis_aux_brightness": "조도센서(CDS)",
"robotis_aux_hydro_themo_humidity": "온습도센서(습도)",
"robotis_aux_hydro_themo_temper": "온습도센서(온도)",
"robotis_aux_temperature": "온도센서",
"robotis_aux_ultrasonic": "초음파센서",
"robotis_aux_magnetic": "자석센서",
"robotis_aux_motion_detection": "동작감지센서",
"robotis_aux_color": "컬러센서",
"robotis_aux_custom": "사용자 장치",
"robotis_carCont_aux_motor_speed_1": "감속모터 속도를",
"robotis_carCont_aux_motor_speed_2": ", 출력값을",
"robotis_carCont_calibration_1": "적외선 센서 캘리브레이션 값을",
"robotis_openCM70_aux_motor_speed_1": "감속모터 속도를",
"robotis_openCM70_aux_motor_speed_2": ", 출력값을",
"robotis_openCM70_aux_servo_mode_1": "서보모터 모드를",
"robotis_openCM70_aux_servo_speed_1": "서보모터 속도를",
"robotis_openCM70_aux_servo_speed_2": ", 출력값을",
"robotis_openCM70_aux_servo_position_1": "서보모터 위치를",
"robotis_openCM70_aux_led_module_1": "LED 모듈을",
"robotis_openCM70_aux_custom_1": "사용자 장치를",
"XBOT_digital": "디지털",
"XBOT_D2_digitalInput": "D2 디지털 입력",
"XBOT_D3_digitalInput": "D3 디지털 입력",
"XBOT_D11_digitalInput": "D11 디지털 입력",
"XBOT_analog": "아날로그",
"XBOT_CDS": "광 센서 값",
"XBOT_MIC": "마이크 센서 값",
"XBOT_analog0": "아날로그 0번 핀 값",
"XBOT_analog1": "아날로그 1번 핀 값",
"XBOT_analog2": "아날로그 2번 핀 값",
"XBOT_analog3": "아날로그 3번 핀 값",
"XBOT_Value": "출력 값",
"XBOT_pin_OutputValue": "핀, 출력 값",
"XBOT_High": "높음",
"XBOT_Low": "낮음",
"XBOT_Servo": "서보 모터",
"XBOT_Head": "머리(D8)",
"XBOT_ArmR": "오른 팔(D9)",
"XBOT_ArmL": "왼 팔(D10)",
"XBOT_angle": ", 각도",
"XBOT_DC": "바퀴(DC) 모터",
"XBOT_rightWheel": "오른쪽",
"XBOT_leftWheel": "왼쪽",
"XBOT_bothWheel": "양쪽",
"XBOT_speed": ", 속도",
"XBOT_rightSpeed": "바퀴(DC) 모터 오른쪽(2) 속도:",
"XBOT_leftSpeed": "왼쪽(1) 속도:",
"XBOT_RGBLED_R": "RGB LED 켜기 R 값",
"XBOT_RGBLED_G": "G 값",
"XBOT_RGBLED_B": "B 값",
"XBOT_RGBLED_color": "RGB LED 색",
"XBOT_set": "로 정하기",
"XBOT_c": "도",
"XBOT_d": "레",
"XBOT_e": "미",
"XBOT_f": "파",
"XBOT_g": "솔",
"XBOT_a": "라",
"XBOT_b": "시",
"XBOT_melody_ms": "초 연주하기",
"XBOT_Line": "번째 줄",
"XBOT_outputValue": "출력 값",
"roborobo_num_analog_value_1": "아날로그",
"roborobo_num_analog_value_2": "번 센서값",
"roborobo_get_digital_value_1": "디지털",
"roborobo_num_pin_1": "디지털",
"roborobo_num_pin_2": "번 핀",
"roborobo_on": "켜기",
"roborobo_off": "끄기",
"roborobo_motor1": "모터1",
"roborobo_motor2": "모터2",
"roborobo_motor_CW": "정회전",
"roborobo_motor_CCW": "역회전",
"roborobo_motor_stop": "정지",
"roborobo_input_mode": "입력",
"roborobo_output_mode": "출력",
"roborobo_pwm_mode": "전류조절(pwm)",
"roborobo_servo_mode": "서보모터",
"roborobo_color": "컬러센서",
"roborobo_color_red": " 빨간색 ",
"roborobo_color_green": " 녹색 ",
"roborobo_color_blue": " 파란색 ",
"roborobo_color_yellow": " 노란색 ",
"roborobo_color_detected": " 감지 ",
"roborobo_degree": " ˚",
"robotori_D2_Input": "디지털 2번 핀 입력 값",
"robotori_D3_Input": "디지털 3번 핀 입력 값",
"robotori_A0_Input": "아날로그 0번 핀 입력 값",
"robotori_A1_Input": "아날로그 1번 핀 입력 값",
"robotori_A2_Input": "아날로그 2번 핀 입력 값",
"robotori_A3_Input": "아날로그 3번 핀 입력 값",
"robotori_A4_Input": "아날로그 4번 핀 입력 값",
"robotori_A5_Input": "아날로그 5번 핀 입력 값",
"robotori_digital": "디지털",
"robotori_D10_Output": "10번",
"robotori_D11_Output": "11번",
"robotori_D12_Output": "12번",
"robotori_D13_Output": "13번",
"robotori_pin_OutputValue": "핀, 출력 값",
"robotori_On": "켜짐",
"robotori_Off": "꺼짐",
"robotori_analog": "아날로그",
"robotori_analog5": "5번 핀 출력 값",
"robotori_analog6": "6번 핀 출력 값",
"robotori_analog9": "9번 핀 출력 값",
"robotori_Servo": "서보모터",
"robotori_DC": "DC모터",
"robotori_DC_rightmotor": "오른쪽",
"robotori_DC_leftmotor": "왼쪽",
"robotori_DC_STOP": "정지",
"robotori_DC_CW": "시계방향",
"robotori_DC_CCW": "반시계방향",
"robotori_DC_select": "회전",
"CALC_rotation_value": "방향값",
"CALC_direction_value": "이동 방향값",
"VARIABLE_is_included_in_list": "리스트에 포함되어 있는가?",
"VARIABLE_is_included_in_list_1": "",
"VARIABLE_is_included_in_list_2": "에",
"VARIABLE_is_included_in_list_3": "이 포함되어 있는가?",
"SCENE_when_scene_start": "장면이 시작되었을때",
"SCENE_start_scene_1": "",
"SCENE_start_scene_2": "시작하기",
"SCENE_start_neighbor_scene_1": "",
"SCENE_start_neighbor_scene_2": "장면 시작하기",
"SCENE_start_scene_pre": "이전",
"SCENE_start_scene_next": "다음",
"FUNCTION_explanation_1": "이름",
"FUNCTION_character_variable": "문자/숫자값",
"FUNCTION_logical_variable": "판단값",
"FUNCTION_function": "함수",
"FUNCTION_define": "함수 정의하기",
"CALC_calc_operation_sin": "사인값",
"CALC_calc_operation_cos": "코사인값",
"CALC_calc_operation_tan": "탄젠트값",
"CALC_calc_operation_floor": "소수점 버림값",
"CALC_calc_operation_ceil": "소수점 올림값",
"CALC_calc_operation_round": "반올림값",
"CALC_calc_operation_factorial": "펙토리얼값",
"CALC_calc_operation_asin": "아크사인값",
"CALC_calc_operation_acos": "아크코사인값",
"CALC_calc_operation_atan": "아크탄젠트값",
"CALC_calc_operation_log": "로그값",
"CALC_calc_operation_ln": "자연로그값",
"CALC_calc_operation_natural": "정수 부분",
"CALC_calc_operation_unnatural": "소수점 부분",
"MOVING_locate_object_time_1": "",
"MOVING_locate_object_time_2": "초 동안",
"MOVING_locate_object_time_3": "위치로 이동하기",
"wall_up": "위쪽 벽",
"wall_down": "아래쪽 벽",
"wall_right": "오른쪽 벽",
"wall_left": "왼쪽 벽",
"CALC_coordinate_x_value": "x 좌푯값",
"CALC_coordinate_y_value": "y 좌푯값",
"CALC_coordinate_rotation_value": "방향",
"CALC_coordinate_direction_value": "이동방향",
"CALC_picture_index": "모양 번호",
"CALC_picture_name": "모양 이름",
"FLOW_repeat_while_true_1": "",
"FLOW_repeat_while_true_2": " 반복하기",
"TUT_when_start": "프로그램 실행을 클릭했을때",
"TUT_move_once": "앞으로 한 칸 이동",
"TUT_rotate_left": "왼쪽으로 회전",
"TUT_rotate_right": "오른쪽으로 회전",
"TUT_jump_barrier": "장애물 뛰어넘기",
"TUT_repeat_tutorial_1": "",
"TUT_repeat_tutorial_2": "번 반복",
"TUT_if_barrier_1": "만약 앞에",
"TUT_if_barrier_2": " 이 있다면",
"TUT_if_conical_1": "만약 앞에",
"TUT_if_conical_2": " 이 있다면",
"TUT_repeat_until": "부품에 도달할 때 까지 반복",
"TUT_repeat_until_gold": "부품에 도달할 때 까지 반복",
"TUT_declare_function": "함수 선언",
"TUT_call_function": "함수 호출",
"CALC_calc_operation_abs": "절댓값",
"CONTEXT_COPY_option": "코드 복사",
"Delete_Blocks": "코드 삭제",
"Duplication_option": "코드 복사 & 붙여넣기",
"Paste_blocks": "붙여넣기",
"Clear_all_blocks": "모든 코드 삭제하기",
"transparency": "투명도",
"BRUSH_change_brush_transparency_1": "붓의 투명도를",
"BRUSH_change_brush_transparency_2": "% 만큼 바꾸기",
"BRUSH_set_brush_transparency_1": "붓의 투명도를",
"BRUSH_set_brush_transparency_2": "% 로 정하기",
"CALC_char_at_1": "",
"CALC_char_at_2": "의",
"CALC_char_at_3": "번째 글자",
"CALC_length_of_string_1": "",
"CALC_length_of_string_2": "의 글자 수",
"CALC_substring_1": "",
"CALC_substring_2": "의",
"CALC_substring_3": "번째 글자부터",
"length_of_string": "번째 글자부터",
"CALC_substring_4": "번째 글자까지의 글자",
"CALC_replace_string_1": "",
"CALC_replace_string_2": "의",
"CALC_replace_string_3": "을(를)",
"CALC_replace_string_4": "로 바꾸기",
"CALC_change_string_case_1": "",
"CALC_change_string_case_2": "의",
"CALC_change_string_case_3": " ",
"CALC_change_string_case_sub_1": "대문자",
"CALC_change_string_case_sub_2": "소문자",
"CALC_index_of_string_1": "",
"CALC_index_of_string_2": "에서",
"CALC_index_of_string_3": "의 시작 위치",
"MOVING_add_direction_by_angle_time_explain_1": "",
"MOVING_direction_relative_duration_1": "",
"MOVING_direction_relative_duration_2": "초 동안 이동 방향",
"MOVING_direction_relative_duration_3": "만큼 회전하기",
"CALC_get_sound_volume": " 소릿값",
"SOUND_sound_from_to_1": "소리",
"SOUND_sound_from_to_2": "",
"SOUND_sound_from_to_3": "초 부터",
"SOUND_sound_from_to_4": "초까지 재생하기",
"SOUND_sound_from_to_and_wait_1": "소리",
"SOUND_sound_from_to_and_wait_2": "",
"SOUND_sound_from_to_and_wait_3": "초 부터",
"SOUND_sound_from_to_and_wait_4": "초까지 재생하고 기다리기",
"CALC_quotient_and_mod_1": "",
"CALC_quotient_and_mod_2": "/",
"CALC_quotient_and_mod_3": "의",
"CALC_quotient_and_mod_4": "",
"CALC_quotient_and_mod_sub_1": "몫",
"CALC_quotient_and_mod_sub_2": "나머지",
"self": "자신",
"CALC_coordinate_size_value": "크기",
"CALC_choose_project_timer_action_1": "초시계",
"CALC_choose_project_timer_action_2": "",
"CALC_choose_project_timer_action_sub_1": "시작하기",
"CALC_choose_project_timer_action_sub_2": "정지하기",
"CALC_choose_project_timer_action_sub_3": "초기화하기",
"LOOKS_change_object_index_1": "",
"LOOKS_change_object_index_2": "보내기",
"LOOKS_change_object_index_sub_1": "맨 앞으로",
"LOOKS_change_object_index_sub_2": "앞으로",
"LOOKS_change_object_index_sub_3": "뒤로",
"LOOKS_change_object_index_sub_4": "맨 뒤로",
"FLOW_repeat_while_true_until": "이 될 때까지",
"FLOW_repeat_while_true_while": "인 동안",
"copy_block": "블록 복사",
"delete_block": "블록 삭제",
"tidy_up_block": "코드 정리하기",
"block_hi": "안녕!",
"entry_bot_name": "엔트리봇",
"hi_entry": "안녕 엔트리!",
"hi_entry_en": "Hello Entry!",
"bark_dog": "강아지 짖는 소리",
"walking_entryBot": "엔트리봇_걷기",
"entry": "엔트리",
"hello": "안녕",
"nice": "반가워",
"silent": "무음",
"do_name": "도",
"do_sharp_name": "도#(레♭)",
"re_name": "레",
"re_sharp_name": "레#(미♭)",
"mi_name": "미",
"fa_name": "파",
"fa_sharp_name": "파#(솔♭)",
"sol_name": "솔",
"sol_sharp_name": "솔#(라♭)",
"la_name": "라",
"la_sharp_name": "라#(시♭)",
"DUMMY": "더미",
"coconut_stop_motor": "모터 정지",
"coconut_move_motor": "움직이기",
"coconut_turn_motor": "으로 돌기",
"coconut_move_outmotor": "외부모터",
"coconut_turn_left": "왼쪽",
"coconut_turn_right": "오른쪽",
"coconut_move_forward": "앞으로",
"coconut_move_backward": "뒤로",
"coconut_note_c": "도",
"coconut_note_d": "레",
"coconut_note_e": "미",
"coconut_note_f": "파",
"coconut_note_g": "솔",
"coconut_note_a": "라",
"coconut_note_b": "시",
"coconut_move_speed_1": "0",
"coconut_move_speed_2": "50",
"coconut_move_speed_3": "100",
"coconut_move_speed_4": "150",
"coconut_move_speed_5": "255",
"coconut_play_buzzer_hn": "2분음표",
"coconut_play_buzzer_qn": "4분음표",
"coconut_play_buzzer_en": "8분음표",
"coconut_play_buzzer_sn": "16분음표",
"coconut_play_buzzer_tn": "32분음표",
"coconut_play_buzzer_wn": "온음표",
"coconut_play_buzzer_dhn": "점2분음표",
"coconut_play_buzzer_dqn": "점4분음표",
"coconut_play_buzzer_den": "점8분음표",
"coconut_play_buzzer_dsn": "점16분음표",
"coconut_play_buzzer_dtn": "점32분음표",
"coconut_rest_buzzer_hr": "2분쉼표",
"coconut_rest_buzzer_qr": "4분쉼표",
"coconut_rest_buzzer_er": "8분쉼표",
"coconut_rest_buzzer_sr": "16분쉼표",
"coconut_rest_buzzer_tr": "32분쉼표",
"coconut_rest_buzzer_wr": "온쉼표",
"coconut_play_midi_1": "반짝반짝 작은별",
"coconut_play_midi_2": "곰세마리",
"coconut_play_midi_3": "모차르트 자장가",
"coconut_play_midi_4": "도레미송",
"coconut_play_midi_5": "나비야",
"coconut_floor_sensing_on": "감지",
"coconut_floor_sensing_off": "미감지",
"coconut_dotmatrix_set_on": "켜짐",
"coconut_dotmatrix_set_off": "꺼짐",
"coconut_dotmatrix_row_0": "모든",
"coconut_dotmatrix_row_1": "1",
"coconut_dotmatrix_row_2": "2",
"coconut_dotmatrix_row_3": "3",
"coconut_dotmatrix_row_4": "4",
"coconut_dotmatrix_row_5": "5",
"coconut_dotmatrix_row_6": "6",
"coconut_dotmatrix_row_7": "7",
"coconut_dotmatrix_row_8": "8",
"coconut_dotmatrix_col_0": "모든",
"coconut_dotmatrix_col_1": "1",
"coconut_dotmatrix_col_2": "2",
"coconut_dotmatrix_col_3": "3",
"coconut_dotmatrix_col_4": "4",
"coconut_dotmatrix_col_5": "5",
"coconut_dotmatrix_col_6": "6",
"coconut_dotmatrix_col_7": "7",
"coconut_dotmatrix_col_8": "8",
"coconut_sensor_left_proximity": "왼쪽 전방 센서",
"coconut_sensor_right_proximity": "오른쪽 전방 센서",
"coconut_sensor_both_proximity": "모든",
"coconut_sensor_left_floor": "왼쪽 바닥센서",
"coconut_sensor_right_floor": "오른쪽 바닥 센서",
"coconut_sensor_both_floor": "모든",
"coconut_sensor_acceleration_x": "x축 가속도",
"coconut_sensor_acceleration_y": "y축 가속도",
"coconut_sensor_acceleration_z": "z축 가속도",
"coconut_sensor_light": "밝기",
"coconut_sensor_temperature": "온도",
"coconut_left_led": "왼쪽",
"coconut_right_led": "오른쪽",
"coconut_both_leds": "모든",
"coconut_color_cyan": "하늘색",
"coconut_color_magenta": "보라색",
"coconut_color_black": "검은색",
"coconut_color_white": "흰색",
"coconut_color_red": "빨간색",
"coconut_color_yellow": "노란색",
"coconut_color_green": "초록색",
"coconut_color_blue": "파란색",
"coconut_beep": "삐 소리내기",
"coconut_clear_buzzer": "버저 끄기",
"coconut_x_axis": "X축",
"coconut_y_axis": "Y축",
"coconut_z_axis": "Z축",
"modi_enviroment_bule": "파랑",
"modi_enviroment_green": "초록",
"modi_enviroment_humidity": "습도",
"modi_enviroment_illuminance": "조도",
"modi_enviroment_red": "빨강",
"modi_enviroment_temperature": "온도",
"modi_gyroscope_xAcceleratior": "X축 가속",
"modi_gyroscope_yAcceleratior": "Y축 가속",
"modi_gyroscope_zAcceleratior": "Z축 가속",
"modi_motor_angle": "각도",
"modi_motor_speed": "속도",
"modi_motor_torque": "회전",
"modi_speaker_F_DO_5": "도5",
"modi_speaker_F_DO_6": "도6",
"modi_speaker_F_DO_7": "도7",
"modi_speaker_F_DO_S_5": "도#5",
"modi_speaker_F_DO_S_6": "도#6",
"modi_speaker_F_DO_S_7": "도#7",
"modi_speaker_F_MI_5": "미5",
"modi_speaker_F_MI_6": "미6",
"modi_speaker_F_MI_7": "미7",
"modi_speaker_F_PA_5": "파5",
"modi_speaker_F_PA_6": "파6",
"modi_speaker_F_PA_7": "파7",
"modi_speaker_F_PA_S_5": "파#5",
"modi_speaker_F_PA_S_6": "파#6",
"modi_speaker_F_PA_S_7": "파#7",
"modi_speaker_F_RA_5": "라5",
"modi_speaker_F_RA_6": "라6",
"modi_speaker_F_RA_7": "라7",
"modi_speaker_F_RA_S_5": "라#5",
"modi_speaker_F_RA_S_6": "라#6",
"modi_speaker_F_RA_S_7": "라#7",
"modi_speaker_F_RE_5": "레5",
"modi_speaker_F_RE_6": "레6",
"modi_speaker_F_RE_7": "레7",
"modi_speaker_F_RE_S_5": "라#5",
"modi_speaker_F_RE_S_6": "레#6",
"modi_speaker_F_RE_S_7": "레#7",
"modi_speaker_F_SOL_5": "솔5",
"modi_speaker_F_SOL_6": "솔6",
"modi_speaker_F_SOL_7": "솔7",
"modi_speaker_F_SOL_S_5": "솔#5",
"modi_speaker_F_SOL_S_6": "솔#6",
"modi_speaker_F_SOL_S_7": "솔#7",
"modi_speaker_F_SO_5": "시5",
"modi_speaker_F_SO_6": "시6",
"modi_speaker_F_SO_7": "시7",
"si_name": "시",
"ev3_ccw": "반시계",
"ev3_cw": "시계",
"rokoboard_sensor_name_0": "소리",
"rokoboard_sensor_name_1": "빛",
"rokoboard_sensor_name_2": "슬라이더",
"rokoboard_sensor_name_3": "저항-A",
"rokoboard_sensor_name_4": "저항-B",
"rokoboard_sensor_name_5": "저항-C",
"rokoboard_sensor_name_6": "저항-D",
"rokoboard_string_1": "버튼을 눌렀는가?",
"HW_MOTOR": "모터",
"HW_SENSOR": "센서",
"HW_LED": "발광다이오드",
"HW_MELODY": "멜로디",
"HW_ROBOT": "로봇",
"ALTINO_ACCX": "가속도 X축",
"ALTINO_ACCY": "가속도 Y축",
"ALTINO_ACCZ": "가속도 Z축",
"ALTINO_BAT": "배터리 잔량 체크",
"ALTINO_CDS": "밝기",
"ALTINO_GYROX": "자이로 X축",
"ALTINO_GYROY": "자이로 Y축",
"ALTINO_GYROZ": "자이로 Z축",
"ALTINO_IR1": "1번 거리",
"ALTINO_IR2": "2번 거리",
"ALTINO_IR3": "3번 거리",
"ALTINO_IR4": "4번 거리",
"ALTINO_IR5": "5번 거리",
"ALTINO_IR6": "6번 거리",
"ALTINO_Led_Brake_Light": "브레이크",
"ALTINO_Led_Forward_Light": "전방",
"ALTINO_Led_Reverse_Light": "후방",
"ALTINO_Led_Turn_Left_Light": "왼쪽방향",
"ALTINO_Led_Turn_Right_Light": "오른쪽방향",
"ALTINO_Line": "번째 줄",
"ALTINO_MAGX": "나침판 X축",
"ALTINO_MAGY": "나침판 Y축",
"ALTINO_MAGZ": "나침판 Z축",
"ALTINO_REMOTE": "리모콘 수신 값",
"ALTINO_STTOR": "조향 토크",
"ALTINO_STVAR": "조향 가변저항",
"ALTINO_Steering_Angle_Center": "가운데",
"ALTINO_Steering_Angle_Left10": "왼쪽10",
"ALTINO_Steering_Angle_Left15": "왼쪽15",
"ALTINO_Steering_Angle_Left20": "왼쪽20",
"ALTINO_Steering_Angle_Left5": "왼쪽5",
"ALTINO_Steering_Angle_Right10": "오른쪽10",
"ALTINO_Steering_Angle_Right15": "오른쪽15",
"ALTINO_Steering_Angle_Right20": "오른쪽20",
"ALTINO_Steering_Angle_Right5": "오른쪽5",
"ALTINO_TEM": "온도",
"ALTINO_TOR1": "오른쪽 토크",
"ALTINO_TOR2": "왼쪽 토크",
"ALTINO_Value": "출력 값",
"ALTINO_a": "라",
"ALTINO_a2": "라#",
"ALTINO_b": "시",
"ALTINO_c": "도",
"ALTINO_c2": "도#",
"ALTINO_d": "레",
"ALTINO_d2": "레#",
"ALTINO_dot_display_1": "한문자",
"ALTINO_dot_display_2": "출력하기",
"ALTINO_e": "미",
"ALTINO_f": "파",
"ALTINO_f2": "파#",
"ALTINO_g": "솔",
"ALTINO_g2": "솔#",
"ALTINO_h": "끄기",
"ALTINO_h2": "켜기",
"ALTINO_leftWheel": "왼쪽",
"ALTINO_melody_ms": "연주하기",
"ALTINO_outputValue": "출력 값",
"ALTINO_rightWheel": "오른쪽",
"ALTINO_set": "로 정하기",
"ardublock_motor_forward": "앞",
"ardublock_motor_backward": "뒤",
"mkboard_dc_motor_forward": "앞",
"mkboard_dc_motor_backward": "뒤",
"jdkit_clockwise": "시계방향",
"jdkit_counterclockwise": "반시계방향",
"jdkit_gyro_frontrear": "앞뒤",
"jdkit_gyro_leftright": "좌우",
"jdkit_joystick_leftleftright": "왼쪽 좌우",
"jdkit_joystick_lefttopbottom": "왼쪽 상하",
"jdkit_joystick_rightleftright": "오른쪽 좌우",
"jdkit_joystick_righttopbottom": "오른쪽 상하",
"jdkit_led": "LED",
"jdkit_led_color_green": "초록색",
"jdkit_led_color_orange": "오랜지색",
"jdkit_led_turnoff": "끄기",
"jdkit_led_turnon": "켜기",
"jdkit_motor_leftbottom": "왼쪽아래",
"jdkit_motor_lefttop": "왼쪽위",
"jdkit_motor_rightbottom": "오른쪽아래",
"jdkit_motor_righttop": "오른쪽위",
"jdkit_tune_do": "도",
"jdkit_tune_fa": "파",
"jdkit_tune_la": "라",
"jdkit_tune_mi": "미",
"jdkit_tune_re": "레",
"jdkit_tune_si": "시",
"jdkit_tune_sol": "솔"
};
Lang.Buttons = {
"lesson_list": "강의 목록",
"complete_study": "학습 완료하기",
"show_me": "미리 보기",
"do_this_for_me": "대신 해주기",
"previous": "이전",
"get_started": "시작하기",
"next_lesson": "다음 내용 학습하기",
"course_submit": "제출하기",
"course_done": "확인",
"mission": "미션 확인하기",
"basic_guide": "기본 사용 방법",
"apply": "적용하기",
"cancel": "취소",
"save": "확인",
"start": "시작",
"confirm": "확인",
"delete": "삭제",
"create": "학급 만들기",
"done": "완료",
"accept": "수락",
"refuse": "거절",
"yes": "예",
"button_no": "아니오",
"quiz_retry": "다시 풀어보기",
"discuss_upload": "불러오기",
"maze_popup_guide": "이용안내",
"maze_popup_mapHint": "힌트보기",
"maze_hint_btn_guide": "이용 안내",
"maze_hint_btn_block": "블록 도움말",
"maze_hint_btn_map": "힌트 보기",
"maze_hint_btn_goal": "목표"
};
Lang.ko = "한국어";
Lang.vn = "tiếng Việt";
Lang.Menus = {
"enterPassword": "비밀번호를 입력해주세요.",
"enterNewPassword": "새로운 비밀번호를 입력하세요.",
"reEnterNewPassword": "새로운 비밀번호를 다시 입력하세요.",
"revokeTitle": "개인정보 복구",
"revokeDesc1": "1년 이상 사이트에 로그인 하시지 않아",
"revokeDesc2": "회원님의 개인정보가 분리 보관 중입니다.",
"revokeDesc3": "분리 보관 중인 개인정보를 복구하시려면",
"revokeDesc4": "[복구하기] 버튼을 눌러주세요.",
"revokeButton": "복구하기",
"revokeComplete": "개인정보 복구가 완료되었습니다.",
"resign": "회원탈퇴",
"check_sended_email": "발송된 인증 메일을 확인하여 이메일 주소를 인증해 주세요.",
"signUpEmail_1": "입력된 이메일 주소로 인증 메일이 발송되었습니다.",
"signUpEmail_2": "이메일 주소를 인증해주세요.",
"enter_password_withdraw": "회원탈퇴 신청을 위해 비밀번호를 입력해주세요.",
"instruction_agree": "안내 사항에 동의해주세요.",
"check_instructions": "위 안내 사항에 동의합니다.",
"deleteAccount_2": "회원탈퇴를 신청하신 30일 이후에는 회원정보와 작품/강의/학급/게시글/댓글/좋아요/관심 정보가 모두 삭제되며 복구가 불가능합니다.",
"deleteAccount_1": "회원탈퇴를 신청하신 30일 이내에 로그인하시면 회원탈퇴를 취소하실 수 있습니다.",
"protect_account": "안전한 비밀번호로 내정보를 보호하세요.",
"please_verify": "인증 메일을 발송하여 이메일 주소를 인증해 주세요.",
"unverified_email": "이메일 주소가 인증되지 않았습니다.",
"verifying_email": "인증 메일 발송",
"deleteAccount": "회원탈퇴 신청",
"corporatePersonal": "개인정보 이전에 동의 합니다",
"corporateTransferGuide": "개인정보 양수자('엔트리' 웹사이트 운영자) 안내",
"corporateReciever": "개인정보를 이전 받은 자: 재단법인 커넥트",
"corporateAddress": "커넥트 주소 및 연락처",
"corporateAddress_1": "서울시 강남구 강남대로 382 메리츠타워 7층",
"corporateConsent": "개인정보의 이전을 원치 않으시는 경우 ,동의 철회 방법",
"corporateEmail": "계정에 등록된 이메일로 탈퇴 요청 메일 발송",
"corporateAddition": "또한 , 영업 양도에 따라 약관 등이 아래와 같이 변경될 예정입니다.",
"corporateApplicationDate": "적용시기 : 2017년 10월 29일",
"corporateTargetChanges": "적용대상 및 변경사항 :",
"corporateTarget": "적용대상",
"corporateChanges": "변경사항",
"corporateTerms": "엔트리 이용약관",
"corporateOperator": "웹사이트 운영자의 명칭 변경",
"corporateClassroomTerms": "학급 서비스 이용약관",
"doAgreeWithClassroomTerms": "학급 서비스 이용약관에 동의합니다.",
"doChangePassword": "나만 알수 있는 비밀번호로 변경해주세요.",
"corporatePrivacyPolicy": "개인정보 처리방침",
"corporateConsignment": "웹사이트 운영자의 명칭 변경 및 개인정보 위탁 업체 추가",
"corporateEntrusted": "수탁업: NHN Technology Service(주)",
"corporateConsignmentDetails": "위탁업무 내용: 서비스 개발 및 운영",
"corporatePeriod": "보유기간 : 회원 탈퇴 시 혹은 위탁 계약 종료시 까지",
"corporateChangeDate": "변경 적용일 : 2017년 10월 29일 부",
"corporateWarning": "개인정보 이전에 동의해 주세요.",
"corporateConfirm": "확인",
"corporateTitle": "안녕하세요. 엔트리교육연구소입니다. <br>“엔트리”를 이용하고 계신 회원 여러분께 깊은 감사의 말씀을 드립니다.<br> 엔트리교육연구소는 그동안 공익 목적으로 운영해오던 “엔트리” 웹사이트의 운영을<br> 네이버가 설립한 비영리 재단인 커넥트재단에 양도하기로 합의하였습니다. <br>앞으로 엔트리는 커넥트재단에서 공익 목적 하에 지속적으로 운영될 수 있도록 <br>할 것이며, 회원 여러분께서는 기존과 동일하게 엔트리를 이용하실 수 있습니다.<br> 웹사이트 제공 주체가 엔트리교육연구소에서 커넥트재단으로 변경됨에 따라 아래와 <br>같이 회원 개인 정보에 대한 이전이 있으며, 본 합의에 의해 실제 개인 정보의 위치가 <br>물리적으로 이동한 것은 아님을 알려드립니다. ",
"textcoding_numberError_v": "등록된 변수 중에 이름의 첫 글자가 숫자인 변수가 있으면 모드 변환을 할 수 없습니다.",
"textcoding_bookedError_1v": "등록된 변수 중에 변수 이름이 ",
"textcoding_bookedError_2v": " 인 변수가 있으면 모드 변환을 할 수 없습니다.",
"textcoding_specialCharError_v": "등록된 변수 중 이름에 '_' 를 제외한 특수 문자가 있으면 모드 변환을 할 수 없습니다.",
"textcoding_numberError_l": "등록된 리스트 중에 이름의 첫 글자가 숫자인 리스트가 있으면 모드 변환을 할 수 없습니다.",
"textcoding_bookedError_1l": "등록된 리스트 중에 리스트 이름이",
"textcoding_bookedError_2l": "인 리스트가 있으면 모드 변환을 할 수 없습니다.",
"textcoding_specialCharError_l": "등록된 리스트 중 이름에 '_' 를 제외한 특수 문자가 있으면 모드 변환을 할 수 없습니다.",
"no_discuss_permission": "글을 읽을 권한이 없습니다",
"delete_comment": "댓글을 삭제하시겠습니까?",
"delete_article": "게시물을 삭제하시겠습니까?",
"discuss_cannot_edit": "본인의 게시물이 아닙니다.",
"discuss_extention": "실행파일은 첨부하실 수 없습니다.",
"delete_discuss_picture": "사진을 삭제하시겠습니까?",
"delete_discuss_file": "파일을 삭제하시겠습니까?",
"discuss_save_question": "글을 저장하시겠습니까?",
"discuss_cancle_question": "작성을 취소하시겠습니까?",
"discuss_saved": "이 저장되었습니다.",
"discuss_no_write_permission": "현재 로그인된 계정으로는 글을 작성하실 수 없습니다.",
"discuss_no_project_permission": "현재 로그인된 계정으로는 작품을 게시하실 수 없습니다.",
"discuss_write_abuse_detected": "짧은 시간안에 여러 글이 작성되었습니다.\n10분 뒤에 다시 시도해주세요.",
"discuss_write_abuse_warn": "짧은 시간안에 여러 댓글을 작성하는 경우 \n댓글 작성이 제한될 수 있습니다. \n이용에 주의하시길 바랍니다.",
"search_lang": "검색",
"search_title": "제목",
"faq_desc": "엔트리를 이용하면서 궁금한 점들의 답변을 확인해보세요.",
"faq_all": "전체보기",
"faq_site": "사이트 이용",
"faq_project": "작품 만들기",
"faq_hardware": "하드웨어",
"faq_offline": "오프라인",
"faq_copyright": "저작권",
"faq_title": "자주하는 질문",
"faq": "자주하는 질문",
"fword_alert_1": "주제와 무관한 욕설이나 악플은 게시할 수 없습니다.",
"fword_alert_2": "불건전한 단어가 포함되어 있어, 대체 문장으로 게시 됩니다.",
"fword_replace_1": "엔트리를 통해 누구나 쉽고 재미있게 소프트웨어를 배울 수 있어요.",
"fword_replace_2": "소프트웨어 교육의 첫걸음, 엔트리.",
"fword_replace_3": "재미있게 배우는 학습 공간 엔트리!",
"fword_replace_4": "엔트리에서 공유와 협업을 통해 멋진 작품을 만들어요.",
"fword_replace_5": "엔트리는 누구나 무료로 소프트웨어 교육을 받을 수 있게 개발된 소프트웨어 교육 플랫폼입니다.",
"fword_replace_6": "엔트리와 함께 건강한 소프트웨어 교육 생태계를 조성해요!",
"fword_replace_7": "엔트리에서 학습하고, 만들고, 공유하며 같이 성장해요.",
"solve_quiz": "퀴즈 풀기",
"submit_homework_first_title": "완성! 과제 제출하기",
"submit_homework_first_content": "멋진 작품이 완성되었습니다. 과제를 제출하세요. 마감 기한 전까지 다시 제출할 수 있습니다.",
"submit_homework_again_title": "과제 다시 제출하기",
"submit_homework_again_content": "이미 제출한 과제입니다.<br>과제를 다시 제출하시겠습니까?",
"submit_homework_expired_title": "과제 제출 마감",
"submit_homework_expired_content": "과제 제출이 마감되었습니다.",
"done_study_title": "완성",
"done_study_content": "만든 작품을 실행해 봅시다.",
"featured_courses": "추천 강의 모음",
"follow_along": "따라하기",
"follow_along_desc": "차근차근 따라하며 다양한 작품을 만듭니다.",
"do_quiz": "퀴즈풀기",
"do_quiz_desc": "학습한 내용을 잘 이해했는지 퀴즈를 통해 확인합니다.",
"challenge": "도전하기",
"play": "도전하기",
"challenge_desc": "주어진 문제를 스스로 해결하며 개념을 익힙니다.",
"creste_freely": "자유롭게 만들기",
"creste_freely_desc": "학습한 내용으로 나만의 작품을 자유롭게 만듭니다.",
"entry_rc_desc": "프로그래밍의 원리를 학습단계에 맞게 배울 수 있는 엔트리 강의 모음! 지금 시작해보세요!<br>따라하고, 도전하며 소프트웨어를 만들다 보면 어렵게 느껴졌던 프로그래밍의 원리도 쉽고 재미있게 다가옵니다!",
"hw_deadline": "마감 일자",
"rc_course_desc": "프로그래밍의 원리를 학습단계에 맞게 배울 수 있도록 구성된 엔트리 강의 모음입니다.",
"rc_course": "추천 강의 모음",
"entry_rec_course": "엔트리 추천 강의 모음",
"entry_rec_course_desc": "누구나 쉽게 보고 따라하면서 재미있고 다양한 소프트웨어를 만들 수 있는 엔트리 강의를 소개합니다.",
"guidance": "안내",
"wait": "잠깐",
"hint": "힌트",
"concept_guide": "개념 톡톡",
"group_quiz": "우리 반 퀴즈",
"fail_check_hint": "앗… 실패! 다시 한 번 도전해보세요!<br>어려울 땐 [힌트]를 확인해보세요!",
"sort_student": "학생별",
"sort_lesson": "강의별",
"sort_course": "강의 모음별",
"student_progress": "우리 반 진도",
"my_progress": "나의 진도",
"lec_in_progress": "학습 중",
"free_modal_asgn_over": "과제 제출이 마감되었습니다.",
"free_submission_closed": "과제 제출 마감",
"free_modal_asgn_submit_first": "멋진 작품이 완성되었습니다! 과제를 제출하세요.<br>마감 기한 전까지 다시 제출 할 수 있습니다.",
"asgn_submit": "완성! 과제 제출하기",
"free_modal_content_resubmit": "이미 제출한 과제입니다.<br>과제를 다시 제출하시겠습니까?",
"asgn_resubmit": "과제 다시 제출하기",
"free_modal_content_complete": "멋진 작품이 완성되었습니다.",
"guide_modal_content_complete": "만든 작품을 실행해 봅시다.",
"success": "성공",
"fail": "실패",
"mission_modal_content_fail": "<br>어려울 땐 [힌트]를 확인해보세요!",
"mission_modal_content_success": "만든 작품을 실행해 봅시다.",
"in_progress": "진행중",
"completed": "완료",
"submitted": "제출 완료",
"submission_closed": "마감",
"progress": "진행 상황",
"study_completed": "학습 완료",
"view_course_desc": "코스웨어 설명 보기",
"main_entry_starter": "기초부터! 엔트리 스타터",
"main_entry_booster": "개념탄탄! 엔트리 부스터",
"main_entry_master": "생각을 펼치는! 엔트리 마스터",
"no_students_in_classroom": "아직 등록된 학생이 없습니다.<br>학생을 직접 추가하거나, 초대해 보세요!",
"lectures": "강의",
"Lectures": "강의",
"studentHomeworkList": "과제",
"curriculums": "강의 모음",
"Curriculums": "강의 모음",
"quiz": "퀴즈",
"no_added_group_contents_teacher": "추가된 %1이(가) 없습니다. <br>우리 반 %1을(를) 추가해 주세요.",
"no_added_group_contents_student": "아직 올라온 %1이(가) 없습니다. 선생님이 %1을(를) 올려주시면, 학습 내용을 확인할 수 있습니다.",
"side_project": "보조 프로젝트",
"custom_make_course_1": "'오픈 강의 만들기> 강의 모음 만들기'에서",
"custom_make_course_2": "나만의 강의 모음을 만들어 보세요.",
"custom_make_lecture_1": "'오픈 강의 만들기'에서",
"custom_make_lecture_2": "나만의 강의를 만들어 보세요",
"alert_enter_info": "수정할 정보를 입력해주세요.",
"alert_enter_new_pwd": "기존 비밀번호와 다른 비밀번호를 입력해주세요.",
"alert_match_pwd": "새로운 비밀번호와 재입력된 비밀번호가 일치하지 않습니다.",
"alert_check_pwd": "비밀번호를 확인해주세요.",
"no_group_contents_each_prefix": "우리반 ",
"no_group_contents_each_suffix": " 이(가) 없습니다.",
"no_group_contents_all": "학급에 올라온 컨텐츠가 없습니다.<br>학급 공유하기에<br>나만의 작품을 공유해보세요!",
"hw_closed": "과제 마감",
"tag_Lecture": "강의",
"tag_Curriculum": "강의모음",
"tag_Discuss": "공지",
"count_ko": "개",
"no_asgn_within_week": "1주일안에 제출되어야 하는 마감 임박한 과제가 없습니다.",
"lecture_and_curriculum": "강의 / 강의 모음",
"assignments_plural": "과제",
"assignments_singular": "과제",
"project_plural": "작품",
"group_news": "새로운 소식",
"stu_management": "학생 관리",
"stu_management_camel": "학생 관리",
"view_all": "전체 보기",
"view_all_camel": "전체 보기",
"view_contents_camel": "콘텐츠 보기",
"view_contents": "콘텐츠 보기",
"no_updated_news": "나의 학급에 올라온 새로운 소식이 없습니다.",
"homework_soon_due": "곧 마감 과제",
"new_homework": "최신 과제",
"no_new_homework": "새로운 과제가 없습니다.",
"student_plural": "학생",
"discuss": "공지",
"basic_project": "기본 작품",
"no_permission": "권한이 없습니다.",
"original_curriculum_deleted": "원본 강의 모음이 삭제되었습니다.",
"original_curriculum": "원본 강의 모음",
"save_as_my_lecture": "복사본으로 저장하기 ",
"delete_confirm": "삭제 알림",
"lecture_open_as_copied": "오픈 강의 페이지에 올라간 모든 강의는 사본으로 생성되어 공개 됩니다.",
"curriculum_open_as_copied": "오픈 강의 모음 페이지에 올라간 모든 강의 모음은 사본으로 생성되어 공개 됩니다.",
"lecture_save_as_copied_group": "우리 반 강의 페이지에 올라간 모든 강의는 사본으로 생성되어 공개 됩니다.",
"curriculum_save_as_copied_group": "우리 반 강의 모음 페이지에 올라간 모든 강의 모음은 사본으로 생성되어 공개 됩니다.",
"homework_save_as_copied_group": "우리 반 과제 페이지에 올라간 모든 과제는 사본으로 생성되어 공개 됩니다.",
"lecture_save_as_copied": "내가 만든 강의 모음 안에 삽입된 구성 강의는 사본으로 생성되어 저장됩니다.",
"done_project_save_as_copied": "내가 만든 강의 안에 삽입된 완성 작품은 사본으로 생성되어 저장됩니다.",
"original_lecture_deleted": "원본 강의가 삭제되었습니다.",
"original_lecture": "원본 강의",
"lecture_save_as_mine_alert": "저장되었습니다.\n저장된 강의는 '마이페이지> 나의 강의'에서 확인할 수 있습니다.",
"lecture_save_as_mine": "내 강의로 저장하기",
"duplicate_username": "이미 입력한 아이디 입니다.",
"share_your_project": "내가 만든 작품을 공유해 보세요",
"not_available_student": "학급에서 발급된 '학급 아이디'입니다.\n'엔트리 회원 아이디'를 입력해주세요.",
"login_instruction": "로그인 안내",
"login_needed": "로그인 후 이용할 수 있습니다.",
"login_as_teacher": "선생님 계정으로 로그인 후 이용할 수 있습니다.",
"submit_hw": "과제 제출하기",
"success_goal": "목표성공",
"choseok_final_result": "좋아 , 나만의 작품을 완성했어!",
"choseok_fail_msg_timeout": "시간이 너무 많이 지나버렸어. 목표를 잘 보고 다시 한번 도전해봐!",
"choseok_fail_msg_die": "생명이 0이하인데 게임이 끝나지 않았어.\n아래의 블록을 사용해서 다시 도전해 보는 건 어때?",
"grade_1": "초급",
"grade_2": "중급",
"grade_3": "고급",
"find_sally_title": "샐리를 찾아서",
"save_sally_title": "샐리 구하기",
"exit_sally_title": "샐리 탈출하기",
"find_sally": "라인 레인저스의 힘을 모아 \n강력한 악당 메피스토를 물리치고 샐리를 구해주세요!",
"save_sally": "메피스토 기지에 갇힌 샐리. \n라인 레인저스가 장애물을 피해 샐리를 찾아갈 수 있도록\n도와주세요!",
"exit_sally": "폭파되고 있는 메피스토 기지에서 \n샐리와 라인 레인저스가 무사히 탈출할 수 있도록\n도와주세요!",
"go_next_mission": "다른 미션 도전하기",
"share_my_project": "내가 만든 작품 공유하기",
"share_certification": "인증서 공유하기",
"print_certification": "인증서를 뽐내봐",
"get_cparty_events": "내가 받은 인증서를 출력해 뽐내면 푸짐한 상품을 받을 수 있어요!",
"go_cparty_events": "이벤트 참여하러 가기",
"codingparty2016_blockHelper_1_title": "앞으로 가기",
"codingparty2016_blockHelper_1_contents": "앞으로 가기",
"codingparty2016_blockHelper_2_title": "앞으로 가기",
"codingparty2016_blockHelper_2_contents": "회전하기",
"codingparty2016_blockHelper_3_title": "앞으로 가기",
"codingparty2016_blockHelper_3_contents": "돌 부수기",
"codingparty2016_blockHelper_4_title": "앞으로 가기",
"codingparty2016_blockHelper_4_contents": "횟수 반복하기",
"codingparty2016_blockHelper_5_title": "앞으로 가기",
"codingparty2016_blockHelper_5_contents": "꽃 던지기",
"codingparty2016_goalHint_1": "샐리를 구하기 위해서는 미네랄이 필요해! 미네랄을 얻으며 목적지까지 가보자!",
"codingparty2016_goalHint_2": "구불구불한 길이 있네. 회전 블록을 사용하면 어렵지 않을 거야!",
"codingparty2016_goalHint_3": "앞이 돌로 막혀있잖아? 돌을 부수며 목적지까지 가보자!",
"codingparty2016_goalHint_4": "복잡한 길이지만 지금까지 배운 것들로 해결할 수 있어!",
"codingparty2016_goalHint_5": "앞으로 쭉 가는 길이잖아? 반복 블록을 사용하여 간단하게 해결해 보자!",
"codingparty2016_goalHint_6": "미네랄을 모두 모아오자. 반복블록을 쓰면 쉽게 다녀올 수 있겠어!",
"codingparty2016_goalHint_7": "친구들이 다치지 않도록 꽃을 던져 거미집을 제거해야 해. 저 멀리 있는 거미집을 제거하고 목적지까지 가 보자.",
"codingparty2016_goalHint_8": "가는 길에 거미집이 많잖아? 거미집을 모두 제거하고 목적지까지 가 보자.",
"codingparty2016_goalHint_9": "거미집 뒤쪽에 있는 미네랄을 모두 모아오자!",
"codingparty2016_guide_1_1_contents": "라인 레인저스 전사들이 샐리를 구할 수 있도록 도와줘! 전사들을 움직이기 위해서는 블록 명령어를 조립해야 해.\n\n① 먼저 미션 화면과 목표를 확인하고,\n② 블록 꾸러미에서 필요한 블록을 가져와 “시작하기를 클릭했을 때“ 블록과 연결해.\n③ 다 조립되면 ‘시작하기‘ 버튼을 눌러 봐! 블록이 위에서부터 순서대로 실행되며 움직일 거야.",
"codingparty2016_guide_1_1_title": "라인 레인저스 전사들을 움직이려면?",
"codingparty2016_guide_1_2_title": "목표 블록의 개수",
"codingparty2016_guide_1_2_contents": "① [안 칠해진 별]의 개수만큼 블록을 조립해 미션을 해결해보자. 목표 블록보다 더 많은 블록을 사용하면 별이 빨간색으로 바뀌니 정해진 개수 안에서 문제를 해결해 봐!\n② 필요하지 않은 블록은 휴지통 또는 블록꾸러미에 넣어줘.",
"codingparty2016_guide_1_3_title": "'앞으로 가기' 블록을 사용하기",
"codingparty2016_guide_1_3_contents": "< 앞으로 가기 > 는 앞으로 한 칸 이동하는 블록이야. \n\n여러 칸을 이동하기 위해서는 이 블록을 여러 번 연결해야 해.",
"codingparty2016_guide_1_4_title": "미네랄 획득하기",
"codingparty2016_guide_1_4_contents": "[ 미네랄 ]이 있는 곳을 지나가면 미네랄을 획득할 수 있어\n\n화면에 있는 미네랄을 모두 획득하고 목적지에 도착해야만 다음 단계로 넘어갈 수 있어.",
"codingparty2016_guide_1_5_title": "어려울 때 도움을 받으려면?",
"codingparty2016_guide_1_5_contents": "미션을 수행하다가 어려울 땐 3가지 종류의 도움말 버튼을 눌러 봐.\n\n\n<안내> 지금 이 안내를 다시 보고 싶을 때!\n<블록 도움말> 블록 하나하나가 어떻게 동작하는지 궁금할 때!\n<맵 힌트> 이 단계를 해결하기 위한 힌트가 필요할 때!",
"codingparty2016_guide_2_1_title": "회전 블록 사용하기",
"codingparty2016_guide_2_1_contents": "<오른쪽으로 돌기>와 <왼쪽으로 돌기>는 \n제자리에서 90도 회전하는 블록이야. 방향만 회전하는 블록이야. \n캐릭터가 바라보고 있는 방향을 기준으로 오른쪽인지 왼쪽인지 잘 생각해 봐!\n",
"codingparty2016_guide_3_1_title": "(문) 능력 사용하기",
"codingparty2016_guide_3_1_contents": "라인 레인저스 전사들을 각자의 능력을 가지고 있어.\n나 [문] 은 <발차기하기> 로 바로 앞에 있는 [돌]을 부술 수 있어.\n[돌을] 부수고 나면 막힌 길을 지나갈 수 있겠지?\n화면에 있는 [돌]을 모두 제거해야만 다음 단계로 넘어갈 수 있어.\n그렇지만 명심해! 아무 것도 없는 곳에 능력을 낭비해서는 안 돼!",
"codingparty2016_guide_5_1_title": "'~번 반복하기' 블록 사용하기",
"codingparty2016_guide_5_1_contents": "똑같은 일을 반복해서 명령하는 건 매우 귀찮은 일이야.\n이럴 땐 명령을 사용하면 훨씬 쉽게 명령을 내릴 수 있어. \n< [ ? ] 번 반복하기> 블록 안에 반복되는 명령 블록을 넣고 \n[ ? ] 부분에 횟수를 입력하면 입력한 횟수만큼 같은 명령을 반복하게 돼.",
"codingparty2016_guide_5_2_title": "'~번 반복하기' 블록 사용하기",
"codingparty2016_guide_5_2_contents": "'< [ ? ] 번 반복하기> 블록 안에는 여러 개의 명령어를 넣을 수도 있으니 잘 활용해봐! \n도착지에 도착했더라도 반복하기 블록 안에 있는 블록이 모두 실행돼.\n 즉, 위 상황에서 목적지에 도착한 후에도 왼쪽으로 돈 다음에야 끝나는 거야!",
"codingparty2016_guide_7_1_title": "(코니) 능력 사용하기",
"codingparty2016_guide_7_1_contents": "나 ‘코니’는 <꽃 던지기>로 먼 거리에서도 앞에 있는 [거미집]을 없앨 수 있어.\n[거미집]을 없애고 나면 막힌 길을 지나갈 수 있겠지?\n화면에 있는 [거미집]을 모두 제거해야만 다음 단계로 넘어갈 수 있어.\n그렇지만 명심해! 아무것도 없는 곳에 능력을 낭비해서는 안 돼!",
"codingparty2016_guide_9_1_title": "조건 반복 블록 사용하기",
"codingparty2016_guide_9_1_contents": "반복하는 횟수를 세지 않아도, 어떤 조건을 만족할 때까지 행동을 반복할 수 있어.\n< [목적지]에 도착할 때까지 반복하기 > 블록 안에 반복되는 명령 블록을 넣으면 [목적지]에 도착할 때까지 명령을 반복해.",
"codingparty2016_guide_9_2_title": "조건 반복 블록 사용하기",
"codingparty2016_guide_9_2_contents": "<[목적지]에 도착할 때까지 반복하기> 블록 안에는 여러 개의 명령어를 넣을 수도 있으니 잘 활용해봐!\n 도착지에 도착했더라도 반복하기 블록 안에 있는 블록이 모두 실행 돼. 즉, 위 상황에서 목적지에 도착한 후에도 왼쪽으로 돈 다음에야 끝나는 거야!",
"find_interesting_lesson": "'우리 반 강의'에서 다양한 강의를 만나보세요!",
"find_interesting_course": "'우리 반 강의 모음'에서 다양한 강의를 만나보세요!",
"select_share_settings": "공유 공간을 선택해주세요.",
"faq_banner_title": "자주하는 질문 안내",
"check_out_faq": "궁금한 점을 확인하세요.",
"faq_banner_content": "엔트리에 대해 궁금하세요?<br />자주하는 질문을 통해 답변을 드리고 있습니다.<br />지금 바로 확인하세요!",
"faq_banner_button": "자주하는 질문<br />바로가기",
"major_updates": "주요 업데이트 안내",
"check_new_update": "엔트리의 변화를 확인하세요.",
"major_updates_notification": "엔트리의 주요 변경사항을 공지를 통해 안내해 드리고 있습니다.",
"find_out_now": "지금 바로 확인하세요!",
"offline_hw_program": "오프라인 & 하드웨어 연결 프로그램",
"read_more": "자세히 보기",
"not_supported_function": "이 기기에서는 지원하지 않는 기능입니다.",
"offline_download_confirm": "엔트리 오프라인 버전은 PC에서만 이용가능합니다. 다운로드 하시겠습니까?",
"hardware_download_confirm": "엔트리 하드웨어는 PC에서만 이용가능합니다. 다운로드 하시겠습니까?",
"copy_text": "텍스트를 복사하세요.",
"select_openArea_space": "작품 공유 공간을 선택해 주세요",
"mission_guide": "미션 해결하기 안내",
"of": " 의",
"no_results_found": "검색 결과가 없습니다.",
"upload_pdf": "PDF 자료 업로드",
"select_basic_project": "작품 선택하기",
"try_it_out": "만들어 보기",
"go_boardgame": "엔트리봇 보드게임 바로가기",
"go_cardgame": "엔트리봇 카드게임 바로가기",
"go_solve": "미션으로 학습하기",
"go_ws": "엔트리 만들기 바로가기",
"go_arts": "엔트리 공유하기 바로가기",
"group_delete_alert": "학급을 삭제하면, 해당 학급에서 발급한 학생임시계정을 포함하여 관련한 모든 자료가 삭제됩니다.\n정말 삭제하시겠습니까?",
"view_arts_list": "다른 작품 보기",
"hw_submit_confirm_alert": "과제가 제출 되었습니다.",
"hw_submit_alert": "과제를 제출 하시겠습니까? ",
"hw_submit_alert2": "과제를 제출하시겠습니까? 제출 시 진행한 학습 단계까지만 제출이 됩니다.",
"hw_submit_cannot": "제출 할 수 없는 과제입니다.",
"see_other_missions": "다른 미션 보기",
"project": " 작품",
"marked": " 관심",
"group": "학급",
"lecture": "강의",
"Lecture": "강의",
"curriculum": "강의 모음",
"Curriculum": "강의 모음",
"studying": "학습 중인",
"open_only_shared_lecture": "<b>오픈 강의</b> 페이지에 <b><공개></b> 한 강의만 불러올 수 있습니다. 불러오고자 하는 <b>강의</b>의 <b>공개여부</b>를 확인해 주세요.",
"already_exist_group": "이미 존재하는 학급 입니다.",
"cannot_invite_you": "자기 자신을 초대할 수 없습니다.",
"apply_original_image": "원본 이미지 그대로 적용하기",
"draw_new_ques": "새로 그리기 페이지로\n이동하시겠습니까?",
"draw_new_go": "이동하기",
"draw_new_stay": "이동하지 않기",
"file_upload_desc_1": "이런 그림은 \n 안돼요!",
"file_upload_desc_2": "피가 보이고 잔인한 그림",
"file_upload_desc_3": "선정적인 신체노출의 그림",
"file_upload_desc_4": "욕이나 저주 등의 불쾌감을 주거나 혐오감을 일으키는 그림",
"file_upload_desc_5": "* 위와 같은 내용은 이용약관 및 관련 법률에 의해 제재를 받으실 수 있습니다.",
"picture_upload_warn_1": "10MB 이하의 jpg, png, bmp 형식의 파일을 추가할 수 있습니다.",
"sound_upload_warn_1": "10MB 이하의 mp3 형식의 파일을 추가할 수 있습니다.",
"lesson_by_teacher": "선생님들이 직접 만드는 강의입니다.",
"delete_group_art": "학급 공유하기 목록에서 삭제 하시겠습니까?",
"elementary_short": "초등",
"middle_short": "중등",
"share_lesson": "강의 공유하기",
"share_course": "강의 모음 공유하기",
"from_list_ko": "을(를)",
"comming_soon": "준비중입니다.",
"no_class_alert": "선택된 학급이 없습니다. 학급이 없는경우 '나의 학급' 메뉴에서 학급을 만들어 주세요.",
"students_cnt": "명",
"defult_class_alert_1": "",
"defult_class_alert_2": "을(를) \n 기본학급으로 설정하시겠습니까?",
"default_class": "기본학급입니다.",
"enter_hw_name": "과제의 제목을 입력해 주세요.",
"hw_limit_20": "과제는 20개 까지만 만들수 있습니다.",
"stu_example": "예)\n 홍길동\n 홍길동\n 홍길동",
"hw_description_limit_200": "생성 과제에 대한 안내 사항을 입력해 주세요. (200자 이내)",
"hw_title_limit_50": "과제명을 입력해 주세요. (50자 이내)",
"create_project_class_1": "'만들기 > 작품 만들기' 에서",
"create_project_class_2": "학급에 공유하고 싶은 작품을 만들어 주세요.",
"create_lesson_assignment_1": "'만들기> 오픈 강의 만들기'에서 ",
"create_lesson_assignment_2": "우리 반 과제에 추가하고 싶은 강의를 만들어 주세요.",
"i_make_lesson": "내가 만드는 강의",
"lesson_to_class_1": "'학습하기>오픈 강의'에서 우리반",
"lesson_to_class_2": "과제에 추가하고 싶은 강의를 관심강의로 등록해 주세요.",
"studying_students": "학습자",
"lessons_count": "강의수",
"group_out": "나가기",
"enter_group_code": "학급코드 입력하기",
"no_group_invite": "학급 초대가 없습니다.",
"done_create_group": "개설이 완료되었습니다.",
"set_default_group": "기본학급 설정",
"edit_group_info": "학급 정보 관리",
"edit_done": "수정 완료되었습니다.",
"alert_group_out": "학급을 정말 나가시겠습니까?",
"lesson_share_cancel": "강의 공유 취소",
"project_share_cancel": "작품 공유 취소",
"lesson_share_cancel_alert": "이(가) 공유된 모든 공간에서 공유를 취소하고 <나만보기>로 변경하시겠습니까? ",
"lesson_share_cancel_alert_en": "",
"course_share_cancel": "강의 모음 공유 취소",
"select_lesson_share": "강의 공유 공간 선택",
"select_project_share": "작품 공유 선택",
"select_lesson_share_policy_1": "강의를 공유할",
"select_lesson_share_policyAdd": "공간을 선택해 주세요",
"select_lesson_share_project_1": "작품을 공유할 공간과",
"select_lesson_share_policy_2": "저작권 정책을 확인해 주세요.",
"select_lesson_share_area": "강의 공유 공간을 선택해 주세요",
"select_project_share_area": "작품 공유 공간을 선택해 주세요",
"lesson_share_policy": "강의 공유에 따른 엔트리 저작권 정책 동의",
"project_share_policy": "작품 공유에 따른 엔트리 저작권 정책 동의",
"alert_agree_share": "공개하려면 엔트리 저작물 정책에 동의하여야 합니다.",
"alert_agree_all": "모든 항목에 동의해 주세요.",
"select_course_share": "강의 모음 공유 공간 선택",
"select_course_share_policy_1": "강의 모음을 공유할",
"select_course_share_policy_2": "저작권 정책을 확인해 주세요.",
"select_course_share_area": "강의 모음 공유 공간을 선택해 주세요",
"course_share_policy": "강의 모음 공유에 따른 엔트리 저작권 정책 동의",
"issued": "발급",
"code_expired": "코드가 만료되었습니다. '코드재발급' 버튼를 누르세요.",
"accept_class_invite": "학급초대 수락하기",
"welcome_class": "학급에 오신것을 환영합니다.",
"enter_info": "자신의 정보를 입력해주세요.",
"done_group_signup": "학급 가입이 완료되었습니다.",
"enter_group_code_stu": "선생님께 받은 코드를 입력해주세요.",
"text_limit_50": "50글자 이하로 작성해 주세요.",
"enter_class_name": "학급 이름을 입력해 주세요.",
"enter_grade": "학년을 입력해 주세요.",
"enter_class_info": "학급소개를 입력해 주세요.",
"student_dup": "은(는) 이미 학급에 존재합니다.",
"select_stu_print": "출력할 학생을 선택하세요.",
"class_id_not_exist": "학급 ID가 존재하지 않습니다.",
"error_try_again": "오류 발생. 다시 한 번 시도해 주세요.",
"code_not_available": "유효하지 않은 코드입니다.",
"gnb_create_lessons": "오픈 강의 만들기",
"study_lessons": "강의 학습하기",
"lecture_help_1": "학습을 시작할 때, 사용할 작품을 선택해 주세요. 선택한 작품으로 학습자가 학습을 시작하게 됩니다.",
"lecture_help_2": "이도움말을 다시 보시려면 위 버튼을 클릭해 주세요.",
"lecture_help_3": "오브젝트 추가하기가 없으면새로운 오브젝트를 추가하거나 삭제 할 수 없습니다.",
"lecture_help_4": "학습도중에 PDF자료보기를 통해 학습에 도움을 받을 수 있습니다.",
"lecture_help_5": "학습에 필요한 블록들만 선택해주세요. 선택하지 않은 블록은 숨겨집니다.",
"lecture_help_6": "블록코딩과 엔트리파이선 중에 선택하여 학습환경을 구성할 수 있습니다.",
"only_pdf": ".pdf형식의 파일만 입력 가능합니다.",
"enter_project_video": "적어도 하나의 작품이나 영상을 입력하세요.",
"enter_title": "제목을 입력하세요.",
"enter_recommanded_grade": "추천 학년을 입력하세요.",
"enter_level_diff": "난이도를 입력하세요.",
"enter_time_spent": "소요시간을 입력하세요.",
"enter_shared_area": "적어도 하나의 공유 공간을 선택하세요.",
"enter_goals": "학습목표를 입력하세요.",
"enter_lecture_description": "강의 설명을 입력하세요.",
"enter_curriculum_description": "강의 모음 설명을 입력하세요.",
"first_page": "처음 입니다.",
"last_page": "마지막 입니다.",
"alert_duplicate_lecture": "이미 등록된 강의는 다시 등록할 수 없습니다.",
"enter_lesson_alert": "하나 이상의 강의를 등록해주세요.",
"open_edit_lessons": "편집할 강의를 불러오세요.",
"saved_alert": "이(가) 저장되었습니다.",
"select_lesson_type": "어떤 학습과정을 만들지 선택해 주세요 ",
"create_lesson": "강의 만들기",
"create_lesson_desc_1": "원하는 학습 목표에 맞춰",
"create_lesson_desc_2": "단일 강의를 만들어",
"create_lesson_desc_3": "학습에 활용합니다.",
"create_courseware": "강의 모음 만들기",
"create_courseware_desc_1": "학습 과정에 맞춰 여러개의 강의를",
"create_courseware_desc_2": "하나의 코스로 만들어",
"create_courseware_desc_3": "학습에 활용합니다.",
"create_open_lesson": "오픈 강의 만들기 ",
"enter_lesson_info": "강의 정보 입력 ",
"select_lesson_feature": "학습 기능 선택 ",
"check_info_entered": "입력 정보 확인 ",
"enter_lefo_lesson_long": "강의를 구성하는 정보를 입력해 주세요.",
"lesson_info_desc": "학습자가 학습하기 화면에서 사용할 기능과 작품을 선택함으로써, 학습 목표와 내용에 최적화된 학습환경을 구성할 수 있습니다.",
"provide_only_used": "완성된 작품에서 사용된 블록만 불러오기",
"see_help": "도움말 보기",
"select_done_project_1": "학습자가 목표로 설정할",
"select_done_project_2": "완성 작품",
"select_done_project_3": "을 선택해 주세요.",
"select_project": "나의 작품 또는 관심 작품을 불러옵니다. ",
"youtube_desc": "유투브 공유 링크를 통해 원하는 영상을 넣을 수 있습니다.",
"lesson_video": "강의 영상",
"lesson_title": "강의 제목",
"recommended_grade": "추천학년",
"selection_ko": "선택",
"selection_en": "",
"level_of_diff": "난이도",
"select_level_of_diff": "난이도 선택",
"enter_lesson_title": "강의 제목을 입력해 주세요(30자 이내)",
"select_time_spent": "소요시간 선택 ",
"time_spent": "소요시간",
"lesson_overview": "강의설명",
"upload_materials": "학습 자료 업로드",
"open": "불러오기",
"cancel": "취소하기",
"upload_lesson_video": "강의 영상 업로드",
"youtube_upload_desc": "유투브 공유링크를 통해 보조영상을 삽입할 수 있습니다. ",
"cancel_select": "선택 취소하기",
"select_again": "다시 선택하기",
"goal_project": "완성작품",
"upload_study_data": "학습하기 화면에서 볼 수 있는 학습자료를 업로드해주세요. 학습자가 업로드된 학습자료의 내용을 확인하며 학습할 수 있습니다. ",
"upload_limit_20mb": "20MB 이하의 파일을 올려주세요.",
"expect_time": "예상 소요 시간",
"course_videos": "보조 영상",
"enter_courseware_info": "강의 모음 정보 입력 ",
"enter_course_info": "강의 모음을 소개하는 정보를 입력해 주세요 ",
"select_lessons_for_course": "강의 모음을 구성하는 강의를 선택해 주세요.",
"course_build_desc_1": "강의는",
"course_build_desc_2": "최대30개",
"course_build_desc_3": "등록할 수 있습니다.",
"lseeon_list": "강의 목록 보기",
"open_lessons": "강의 불러오기",
"course_title": "강의 모음 제목",
"title_limit_30": "강의 모음 제목을 입력해 주세요(30자 이내) ",
"course_overview": "강의 모음 설명",
"charactert_limit_200": "200자 이내로 작성할 수 있습니다.",
"edit_lesson": "강의 편집",
"courseware_by_teacher": "선생님들이 직접 만드는 강의 모음입니다.",
"select_lessons": "구성 강의 선택",
"check_course_info": "강의 모음을 구성하는 정보가 올바른지 확인해 주세요.",
"select_share_area": "공유 공간 선택",
"upload_sub_project": "보조 프로젝트 업로드",
"file_download": "첨부파일 다운로드",
"check_lesson_info": "강의를 구성하는 정보가 올바른지 확인해 주세요.",
"share_area": "공유 공간",
"enter_sub_project": "엔트리 보조 프로젝트를 등록해 주세요.",
"lms_hw_title": "과제 제목",
"lms_hw_ready": "준비",
"lms_hw_progress": "진행중",
"lms_hw_complete": "완료",
"lms_hw_not_submit": "미제출",
"lms_hw_closed": "제출마감",
"submission_condition": "진행중인 과제만 제출이 가능합니다.",
"submit_students_only": "학생만 과제를 제출할 수 있습니다.",
"want_submit_hw": "과제를 제출하시겠습니까?",
"enter_correct_id": "올바른 아이디를 입력해 주세요.",
"id_not_exist": "아이디가 존재하지 않습니다. ",
"agree_class_policy": "학급 서비스 이용약관에 동의해 주세요.",
"delete_class": "학급 삭제",
"type_stu_name": "학생 이름을 입력해주세요. ",
"invite_from_1": "에서",
"invite_from_2": "님을 초대하였습니다. ",
"lms_pw_alert_1": "학급에 소속되면, 선생님 권한으로",
"lms_pw_alert_2": "비밀번호 재발급이 가능합니다.",
"lms_pw_alert_3": "선생님의 초대가 맞는지 한번 더 확인해주세요.",
"invitation_accepted": "초대 수락이 완료되었습니다!",
"cannot_issue_pw": "초대를 수락하지 않았으므로 비밀번호를 발급할 수 없습니다.",
"start_me_1": "<월간 엔트리>와 함께",
"start_me_2": "SW교육을 시작해보세요!",
"monthly_desc_1": "<월간 엔트리>는 소프트웨어 교육에 익숙하지 않은 선생님들도 쉽고 재미있게",
"monthly_desc_2": "소프트웨어 교육을 하실 수 있도록 만들어진 SW교육 잡지입니다.",
"monthly_desc_3": "매월 재미있는 학습만화와 함께 하는 SW 교육 컨텐츠를 만나보세요!",
"monthly_desc_4": "* 월간엔트리는 2015년 11월 ~ 2016년 5월까지 발행 후 중단되었습니다.",
"monthly_desc_5": "엔트리의 교육자료는 교육자료 페이지에서 만나보세요.",
"monthly_entry": "월간 엔트리",
"me_desc_1": "매월 발간되는 무료 소프트웨어 교육잡지",
"me_desc_2": "월간엔트리를 만나보세요!",
"solve_desc_1": "게임을 하듯 미션을 해결하며",
"solve_desc_2": "소프트웨어의 기본 원리를 배워보세요!",
"playSw_desc_1": "EBS 방송영상, 특별영상을 통해",
"playSw_desc_2": "소프트웨어를 배워보세요!",
"recommended_lessons": "추천 강의 모음",
"recommended_lessons_1": "따라하고, 도전하고, 퀴즈도 풀며 재미있게 엔트리 프로그래밍을 배워보세요!",
"recommended_lessons_2": "추천 강의 모음을 만나보세요!",
"offline_top_desc_1": "오프라인 버전의 저장 기능이 향상되고 보안이 강화되었습니다.",
"offline_top_desc_2": "지금 바로 다운받으세요",
"offline_main_desc": "엔트리 오프라인 에디터 업데이트!!",
"art_description": "엔트리로 만든 작품을 공유하는 공간입니다. 작품을 만들고 공유에 참여해 보세요.",
"study_index": "엔트리에서 제공하는 주제별, 학년별 학습과정을 통해 차근차근 소프트웨어를 배워보세요!",
"study_for_beginner": "처음 시작하는 사람들을 위한 엔트리 첫걸음",
"entrybot_desc_3": "안내에 따라 블록 명령어를 조립하여",
"entrybot_desc_4": "엔트리봇을 학교에 데려다 주세요.",
"move_entrybot": "엔트리봇 움직이기",
"can_change_entrybot_1": "블록 명령어로 엔트리봇의 색을 바꾸거나",
"can_change_entrybot_2": "말을 하게 할 수도 있어요.",
"learning_process_by_topics": "주제별 학습과정",
"show_detail": "자세히 보기",
"solve_mission": "미션 해결하기",
"solve_mission_desc_1": "게임을 하듯 미션을 해결하며 프로그래밍의 원리를 익혀보세요!",
"solve_mission_desc_2": "미로 속의 엔트리봇을 목적지까지 움직이며 순차, 반복, 선택, 비교연산 등의 개념을 자연스럽게 익힐 수 있어요.",
"learning_process_by_grades": "학년별 학습과정",
"learning_process_by_grades_sub1": "4가지 유형으로 쉽고 재미있게 배우는 프로그래밍의 원리! 지금 시작해보세요!",
"e3_to_e4": "초등 3-4 학년",
"e5_to_e6": "초등 5-6 학년",
"m1_to_m3": "중등 이상",
"make_using_entry": "엔트리로 만들기",
"make_using_entry_desc_1": "블록을 쌓아 여러 가지 소프트웨어를 만들어보세요!",
"make_using_entry_desc_2": "제공되는 교재를 다운받아 차근차근 따라하다보면 애니메이션, 미디어아트, 게임 등 다양한 작품을 만들 수 있어요.",
"make_through_ebs_1": "EBS 방송영상으로 소프트웨어를 배워보세요.",
"make_through_ebs_2": "방송영상은 물론, 차근차근 따라 할 수 있는 특별영상과 함께 누구나 쉽게 다양한 소프트웨어를 만들 수 있어요.",
"support_block_js": "블록 코딩과 자바스크립트 언어를 모두 지원합니다.",
"study_ebs_title_1": "순서대로! 차례대로!",
"study_ebs_desc_1": "[실습] 엔트리봇의 심부름",
"study_ebs_title_2": "쉽고 간단하게!",
"study_ebs_desc_2": "[실습] 꽃송이 만들기",
"study_ebs_title_3": "언제 시작할까?",
"study_ebs_desc_3": "[실습] 동물가족 소개",
"study_ebs_title_4": "다른 선택, 다른 결과!",
"study_ebs_desc_4": "[실습] 텔레파시 게임",
"study_ebs_title_5": "정보를 담는 그릇",
"study_ebs_desc_5": "[실습] 덧셈 로봇 만들기",
"study_ebs_title_6": "요모조모 따져 봐!",
"study_ebs_desc_6": "[실습] 복불복 룰렛",
"study_ebs_title_7": "번호로 부르면 편해요!",
"study_ebs_desc_7": "[실습] 나만의 버킷리스트",
"study_ebs_title_8": "무작위 프로그램을 만들어라!",
"study_ebs_desc_8": "[실습] 무작위 캐릭터 만들기",
"study_ebs_title_9": "어떻게 찾을까?",
"study_ebs_desc_9": "[실습] 도서관 책 검색",
"study_ebs_title_10": "줄을 서시오!",
"study_ebs_desc_10": "[실습] 키 정렬 프로그램",
"event": "이벤트",
"divide": "분기",
"condition": "조건",
"random_number": "무작위수",
"search": "탐색",
"sorting": "정렬",
"parallel": "병렬",
"signal": "신호",
"input_output": "입출력",
"sequential": "순차",
"repeat": "반복",
"choice": "선택",
"repeat_advanced": "반복(횟수+조건)",
"function": "함수",
"compare_operation": "비교연산",
"arithmetic": "산술연산",
"entry_recommended_mission": "엔트리 추천 미션",
"more_mission": "더 많은 미션 보러가기",
"line_rangers_title": "라인레인저스와\n샐리 구하기",
"line_rangers_content": "메피스토 기지에 갇힌\n샐리를 구해주세요!",
"pinkbean_title": "핑크빈과 함께 신나는\n메이플 월드로!",
"pinkbean_content": "핑크빈이 메이플 월드 모험을\n무사히 마칠 수 있도록 도와주세요.",
"entrybot_school": "엔트리봇 학교 가는 길",
"entrybot_school_desc_1": "엔트리봇이 책가방을 챙겨 학교에",
"entrybot_school_desc_2": "도착할 수 있도록 도와주세요!",
"robot_factory": "로봇 공장",
"robot_factory_desc_1": "로봇공장에 갇힌 엔트리봇!",
"robot_factory_desc_2": "탈출하기 위해 부품을 모두 모아야해요.",
"electric_car": "전기 자동차",
"electric_car_desc_1": "엔트리봇 자동차가 계속 앞으로 나아갈 수",
"electric_car_desc_2": "있도록 연료를 충전해 주세요.",
"forest_adventure": "숲속 탐험",
"forest_adventure_desc_1": "엔트리봇 친구가 숲속에 갇혀있네요!",
"forest_adventure_desc_2": "친구를 도와주세요.",
"town_adventure": "마을 탐험",
"town_adventure_desc_1": "배고픈 엔트리봇을 위해 마을에 있는",
"town_adventure_desc_2": "연료를 찾아주세요.",
"space_trip": "우주 여행",
"space_trip_desc_1": "우주탐사를 마친 엔트리봇!",
"space_trip_desc_2": "지구로 돌아갈 수 있도록 도와주세요.",
"learn_programming_mission": "미션을 해결하며 배우는 프로그래밍",
"make_open_lecture": "오픈 강의 만들기",
"group_created": "만든 학급",
"group_signup": "가입한 학급",
"delete_from_list": "을(를) 목록에서 삭제하시겠습니까?",
"delete_from_list_en": "",
"lecture_collection": "강의 모음",
"edit_mypage_profile": "자기소개 정보 관리",
"main_image": "메인 이미지",
"edit_profile_success": "반영되었습니다.",
"no_project_1": "내가 만든 작품이 없습니다.",
"no_project_2": "지금 작품 만들기를 시작해보세요!",
"no_marked_project_1": "관심 작품이 없습니다.",
"no_marked_project_2": "'작품 공유하기'에서 다양한 작품을 만나보세요!",
"no_markedGroup_project_2": "'학급 공유하기'에서 다양한 작품을 만나보세요!",
"view_project_all": "작품 구경하기",
"no_lecture_1": "내가 만든 강의가 없습니다.",
"no_lecture_2": "'오픈 강의 만들기'에서 강의를 만들어보세요!",
"no_marked_lecture_1": "관심 강의가 없습니다.",
"no_marked_lecture_2": "'오픈 강의'에서 다양한 강의를 만나보세요!",
"view_lecture": "강의 살펴보기",
"no_studying_lecture_1": "학습 중인 강의가 없습니다.",
"no_studying_lecture_2": "'오픈 강의'에서 학습을 시작해보세요!",
"no_lecture_collect_1": "내가 만든 강의 모음이 없습니다.",
"no_lecture_collect_2": "'오픈 강의 모음 만들기'에서 강의 모음을 만들어보세요!",
"make_lecture_collection": "강의 모음 만들기",
"no_marked_lecture_collect_1": "관심 강의 모음이 없습니다.",
"no_marked_lecture_collect_2": "'오픈 강의'에서 다양한 강의를 만나보세요!",
"view_lecture_collection": "강의 모음 살펴보기",
"no_studying_lecture_collect_1": "학습 중인 강의 모음이 없습니다.",
"no_studying_lecture_collect_2": "'오픈 강의'에서 학습을 시작해보세요!",
"my_lecture": "나의 강의",
"markedGroup": "학급 관심",
"markedGroup_lecture": "학급 관심 강의",
"markedGroup_curriculum": "학급 관심 강의모음",
"marked_lecture": "관심 강의",
"marked_lecture_collection": "나의 관심 강의 모음",
"marked_marked_curriculum": "관심 강의 모음",
"studying_lecture": "학습 중인 강의",
"completed_lecture": "학습 완료 강의",
"my_lecture_collection": "나의 강의 모음",
"my": "나의",
"studying_lecture_collection": "학습 중인 강의 모음",
"completed_lecture_collection": "학습 완료한 강의 모음",
"my_curriculum": "나의 강의 모음",
"studying_curriculum": "학습 중인 강의 모음",
"completed_curriculum": "학습 완료한 강의 모음",
"materialCC": "엔트리에서 제공하는 모든 교육 자료는 CC-BY 2.0 라이선스에 따라 자유롭게 이용할 수 있습니다.",
"pdf": "PDF",
"helper": "도움말",
"youtube": "영상",
"tvcast": "영상",
"goal": "목표",
"basicproject": "시작단계",
"hw": "하드웨어",
"object": "오브젝트",
"console": "콘솔",
"download_info": "모든 교육자료는 각각의 제목을 클릭 하시면 다운받으실 수 있습니다.",
"entry_materials_all": "엔트리 교육자료 모음",
"recommand_grade": "추천학년",
"g3_4_grades": "3-4 학년",
"g5_6_grades": "5-6 학년",
"middle_grades": "중학생 이상",
"entry_go_go": "엔트리 고고!",
"entry_go_go_desc": "학년별, 난이도 별로 준비된 교재를 만나보세요. 각 과정별로 교육과정, 교재, 교사용 지도자료 3종 세트가 제공됩니다.",
"stage_beginner": "초급",
"stage_middle": "중급",
"stage_high": "고급",
"middle_school_short": "중등",
"learn_entry_programming": "따라하며 배우는 엔트리 프로그래밍",
"entry_programming_desc": "차근차근 따라 하다 보면 어느새 나도 엔트리 고수!",
"ebs": "EBS",
"ebs_material_desc": "방송 영상과 교사용 지도서를 활용하여 수업을 해보세요!",
"season_1_material": "시즌1 교사용 지도서",
"season_2_material": "시즌2 교사용 지도서",
"compute_think_textbook": "교과서로 배우는 컴퓨팅 사고력",
"computational_sw": "국어, 수학, 과학, 미술... 학교에서 배우는 다양한 교과와 연계하여 sw를 배워보세요!",
"entry_x_hardware": "엔트리 X 하드웨어 교육자료 모음",
"e_sensor": "E 센서보드",
"e_sensor_board": "E 센서보드",
"e_sensor_robot": "E 센서로봇",
"arduino": "아두이노",
"arduinoExt": "아두이노 Uno 확장모드",
"arduinoNano": "아두이노 Nano",
"orange_board": "오렌지보드",
"joystick": "조이스틱 센서 쉴드",
"ardublock": "아두블럭",
"mkboard": "몽키보드",
"memaker": "미메이커",
"edumaker": "에듀메이커 보드",
"codingtoolbox": "코딩툴박스",
"materials_etc_all": "기타 교육자료 모음",
"materials_teaching": "교원 연수 자료",
"materials_etc": "기타 참고 자료",
"materials_teaching_1": "SW교육의 필요성과 교육 방법론",
"materials_teaching_2": "엔트리와 함께하는 언플러그드 활동",
"materials_teaching_3": "게임하듯 알고리즘을 배우는 엔트리 미션 해결하기",
"materials_teaching_4": "실생활 문제해결을 위한 엔트리 프로그래밍",
"materials_teaching_5": "교과연계 SW교육1 (미술,수학,사회)",
"materials_teaching_6": "교과연계 SW교육2 (국어,과학,음악)",
"materials_teaching_7": "피지컬 컴퓨팅 실습1(E센서보드)",
"materials_teaching_8": "피지컬 컴퓨팅 실습2(햄스터)",
"materials_teaching_9": "수업에 필요한 학급/강의 기능 알아보기",
"materials_etc_1": "엔트리 첫 사용자를 위한 스타트 가이드",
"materials_etc_2": "수업에 바로 활용할 수 있는 다양한 콘텐츠 모음집",
"materials_etc_3": "월간 엔트리",
"materials_etc_4": "엔트리 설명서",
"materials_etc_5": "엔트리 소개 자료",
"materials_etc_6": "엔트리 블록 책받침",
"materials_etc_7": "엔트리파이선 예제 및 안내",
"jr_if_1": "만약",
"jr_if_2": "앞에 있다면",
"jr_fail_no_pencil": "이런 그곳에는 연필이 없어. 연필이 있는 곳에서 사용해보자~",
"jr_fail_forgot_pencil": "앗! 책가방에 넣을 연필을 깜빡했어. 연필을 모아서 가자~",
"jr_fail_much_blocks": "너무많은 블록을 사용했어, 다시 도전해볼래?",
"cparty_jr_success_1": "좋아! 책가방을 챙겼어!",
"go_right": "오른쪽",
"go_down": " 아래쪽",
"go_up": " 위쪽",
"go_left": " 왼쪽",
"go_forward": "앞으로 가기",
"jr_turn_left": "왼쪽으로 돌기",
"jr_turn_right": "오른쪽으로 돌기",
"go_slow": "천천히 가기",
"repeat_until_reach_1": "만날 때 까지 반복하기",
"repeat_until_reach_2": "",
"pick_up_pencil": "연필 줍기",
"repeat_0": "",
"repeat_1": "반복",
"when_start_clicked": "시작 버튼을 눌렀을 때",
"age_0": "작품체험",
"create_character": "캐릭터 만들기",
"age_7_9": "초등 저학년",
"going_school": "엔트리 학교가기",
"age_10_12_1": "초등 고학년1",
"collect_parts": "로봇공장 부품모으기",
"age_10_12_2": "초등 고학년2",
"driving_elec_car": "전기자동차 운전하기",
"age_13": "중등",
"travel_space": "우주여행하기",
"people": "사람",
"all": "전체",
"life": "일상생활",
"nature": "자연",
"animal_insect": "동물/곤충",
"environment": "자연환경",
"things": "사물",
"vehicles": "이동수단",
"others": "기타",
"fantasy": "판타지",
"instrument": "악기",
"piano": "피아노",
"marimba": "마림바",
"drum": "드럼",
"janggu": "장구",
"sound_effect": "효과음",
"others_instrument": "기타타악기",
"aboutEntryDesc_1": "엔트리는 누구나 무료로 소프트웨어 교육을 받을 수 있게 개발된 소프트웨어 교육 플랫폼입니다.",
"aboutEntryDesc_2": "학생들은 소프트웨어를 쉽고 재미있게 배울 수 있고,",
"aboutEntryDesc_3": "선생님은 효과적으로 학생들을 가르치고 관리할 수 있습니다.",
"aboutEntryDesc_4": "엔트리는 공공재와 같이",
"aboutEntryDesc_5": "비영리로 운영됩니다.",
"viewProjectTerms": "이용정책 보기",
"openSourceTitle": "오픈소스를 통한 생태계 조성",
"openSourceDesc_1": "엔트리의 소스코드 뿐 아니라",
"openSourceDesc_2": "모든 교육 자료는 CC라이센스를 ",
"openSourceDesc_3": "적용하여 공개합니다.",
"viewOpenSource": "오픈소스 보기",
"eduPlatformTitle": "국내교육 현장에 맞는 교육 플랫폼",
"eduPlatformDesc_1": "국내 교육 현장에 적합한 교육 도구가",
"eduPlatformDesc_2": "될 수 있도록 학교 선생님들과 함께",
"eduPlatformDesc_3": "개발하고 있습니다.",
"madeWith": "자문단",
"researchTitle": "다양한 연구를 통한 전문성 강화",
"researchDesc_1": "대학/학회 등과 함께 다양한 연구를",
"researchDesc_2": "진행하여 전문성을 강화해나가고",
"researchDesc_3": "있습니다.",
"viewResearch": "연구자료 보기",
"atEntry": "엔트리에서는",
"entryLearnDesc_1": "재미있게 배우는 학습공간",
"entryLearnDesc_2": "<학습하기>에서는 컴퓨터를 활용해 논리적으로 문제를 해결할 수 있는 다양한 학습",
"entryLearnDesc_3": "콘텐츠가 준비되어 있습니다. 게임을 하듯이 재미있게 주어진 미션들을 프로그래밍으로",
"entryLearnDesc_4": "해결해볼 수 있고 유익한 동영상을 통해 소프트웨어의 원리를 배울 수 있습니다.",
"entryMakeDesc_1": "<만들기>에서는 미국 MIT에서 개발한 Scratch와 같은 블록형 프로그래밍 언어를",
"entryMakeDesc_2": "사용하여 프로그래밍을 처음 접하는 사람들도 쉽게 자신만의 창작물을 만들 수 있습니다.",
"entryMakeDesc_3": "또한 블록 코딩과 텍스트 코딩의 중간다리 역할을 하는 '엔트리파이선' 모드에서는",
"entryMakeDesc_4": "텍스트 언어의 구조와 문법을 자연스럽게 익힐 수 있습니다.",
"entryMakeDesc_5": "",
"entryShareDesc_1": "<공유하기>에서는 엔트리를 통해 제작한 작품을 다른 사람들과 공유할 수 있습니다.",
"entryShareDesc_2": "또한 공유된 작품이 어떻게 구성되었는지 살펴보고 발전시켜 자신만의 작품을 만들 수",
"entryShareDesc_3": "있습니다. 공동 창작도 가능하여 친구들과 협업해 더 멋진 작품을 만들어 볼 수 있습니다.",
"entryGroup": "학급기능",
"entryGroupTitle": "우리 반 학습 공간",
"entryGroupDesc_1": "<학급기능>은 선생님이 학급별로 학생들을 관리할 수 있는 기능입니다. 학급끼리 학습하고",
"entryGroupDesc_2": "작품을 공유할 수 있으며 과제를 만들고 학생들의 결과물을 확인할 수 있습니다.",
"entryGroupDesc_3": "또한 선생님은 강의 기능을 활용하여 학생들의 수준에 맞는 학습환경을",
"entryGroupDesc_4": "맞춤형으로 제공함으로써 효율적이고 편리하게 수업을 진행할 수 있습니다.",
"entryGroupDesc_5": "",
"unpluggedToPhysical": "언플러그드 활동부터 피지컬 컴퓨팅까지",
"algorithmActivity": "기초 알고리즘",
"programmignLang": "교육용 프로그래밍 언어",
"unpluggedDesc_1": "엔트리봇 보드게임과 카드게임을 통해 컴퓨터 없이도",
"unpluggedDesc_2": "소프트웨어의 기본 개념과 원리(순차, 반복, 선택, 함수)를 익힐 수 있습니다.",
"entryMaze": "엔트리봇 미로탈출",
"entryAI": "엔트리봇 우주여행",
"algorithmDesc_1": "게임을 하듯이 미션을 해결하고 인증서를 받아보세요.",
"algorithmDesc_2": "소프트웨어의 기본적인 원리를 쉽고 재미있게 배울 수 있습니다.",
"programmingLangDesc_1": "엔트리에서는 블록을 쌓듯이 프로그래밍을 하기 때문에 누구나 쉽게",
"programmingLangDesc_2": "자신만의 게임, 애니메이션, 미디어아트와 같은 멋진 작품을 만들고 공유할 수 있어 교육용으로 적합합니다.",
"viewSupporHw": "연결되는 하드웨어 보기",
"supportHwDesc_1": "엔트리와 피지컬 컴퓨팅 도구를 연결하면 현실세계와 상호작용하는 멋진 작품들을 만들어낼 수 있습니다.",
"supportHwDesc_2": "국내, 외 다양한 하드웨어 연결을 지원하며, 계속적으로 추가될 예정입니다.",
"entryEduSupport": "엔트리 교육 지원",
"eduSupportDesc_1": "엔트리에서는 소프트웨어 교육을 위한 다양한 교육 자료를 제작하여 무상으로 배포하고 있습니다.",
"eduSupportDesc_2": "모든 자료는 교육자료 페이지에서 다운받으실 수 있습니다.",
"materials_1_title": "수준별 교재",
"materials_1_desc_1": "학년별 수준에 맞는 교재를 통해 차근차근",
"materials_1_desc_2": "따라하며 쉽게 엔트리를 익혀보세요!",
"materials_2_title": "EBS 방송 연계 교안",
"materials_2_desc_1": "EBS 소프트웨어야 놀자 방송과 함께",
"materials_2_desc_2": "교사용 수업 지도안을 제공합니다.",
"materials_3_title": "초, 중등 교과 연계 수업자료",
"materials_3_title_2": "",
"materials_3_desc_1": "다양한 과목에서 만나는 실생활 문제를",
"materials_3_desc_2": "컴퓨팅 사고력으로 해결해 보세요.",
"moreMaterials": "더 많은 교육 자료 보러가기",
"moreInfoAboutEntry_1": "더 많은 엔트리의 소식들을 확인하고 싶다면 아래의 링크들로 접속해보세요.",
"moreInfoAboutEntry_2": "교육자료 외에도 다양한 SW 교육과 관련한 정보를 공유하고 있습니다.",
"blog": "블로그",
"post": "포스트",
"tvCast": "TV캐스트",
"albertSchool": "알버트 스쿨버전",
"arduinoBoard": "아두이노 정품보드",
"arduinoCompatible": "아두이노 호환보드",
"bitBlock": "비트블록",
"bitbrick": "비트브릭",
"byrobot_dronefighter_controller": "바이로봇 드론파이터 조종기",
"byrobot_dronefighter_drive": "바이로봇 드론파이터 자동차",
"byrobot_dronefighter_flight": "바이로봇 드론파이터 드론",
"byrobot_petrone_v2_controller": "바이로봇 페트론V2 조종기",
"byrobot_petrone_v2_drive": "바이로봇 페트론V2 자동차",
"byrobot_petrone_v2_flight": "바이로봇 페트론V2 드론",
"trueRobot": "뚜루뚜루",
"codeino": "코드이노",
"e-sensor": "E-센서보드",
"e-sensorUsb": "E-센서보드(유선연결)",
"e-sensorBT": "E-센서보드(무선연결)",
"mechatronics_4d": "4D 메카트로닉스",
"hamster": "햄스터",
"hummingbirdduo": "허밍버드 듀오",
"roboid": "로보이드",
"turtle": "거북이",
"littlebits": "리틀비츠",
"orangeBoard": "오렌지 보드",
"robotis_carCont": "로보티즈 로봇자동차",
"robotis_IoT": "로보티즈 IoT",
"robotis_IoT_Wireless": "로보티즈 IoT(무선연결)",
"dplay": "디플레이",
"iboard": " 아이보드",
"nemoino": "네모이노",
"Xbot": "엑스봇(원터치 동글/USB)",
"XbotBT": "엑스봇 에뽀/엣지 블투투스",
"robotori": "로보토리",
"rokoboard": "로코보드",
"Neobot": "네오봇",
"about": "알아보기",
"articles": "토론하기",
"gallery": "구경하기",
"learn": "학습하기",
"login": "로그인",
"logout": "로그아웃",
"make": "만들기",
"register": "가입하기",
"Join": "회원가입",
"Edit_info": "내 정보 수정",
"Discuss": "글 나누기",
"Explore": "구경하기",
"Load": "불러오기",
"My_lesson": "오픈 강의",
"Resources": "교육 자료",
"play_software": "소프트웨어야 놀자!",
"problem_solve": "엔트리 학습하기",
"Learn": "학습하기",
"teaching_tools": "엔트리 교구",
"about_entry": "엔트리 소개",
"what_entry": "엔트리는?",
"create": "만들기",
"create_new": "새로 만들기",
"start_programming": "소프트웨어 교육의 첫걸음",
"Entry": "엔트리",
"intro_learning": "누구나 쉽고 재밌게 소프트웨어를 배울 수 있어요. ",
"intro_learning_anyone": "지금 바로 시작해보세요! ",
"start_now": "For Free, Forever.",
"welcome_entry": "엔트리에 오신걸 환영합니다.",
"student": "학생",
"non_menber": "일반인",
"teacher": "선생님",
"terms_conditions": "이용약관",
"personal_information": "개인정보 수집 및 이용에 대한 안내",
"limitation_liability": "책임의 한계와 법적 고지",
"entry_agree": "엔트리의 이용약관에 동의 합니다.",
"info_agree": "개인정보 수집 및 이용에 동의합니다.",
"next": "다음",
"enter_id": "아이디 입력",
"enter_password": "비밀번호 입력",
"confirm_password": "비밀번호 확인",
"enter_password_again": "비밀번호를 한번 더 입력하세요.",
"validation_password": "5자 이상의 영문/숫자 등을 조합하세요.",
"validation_id": "4~20자의 영문/숫자를 조합하세요",
"prev": "이전",
"born_year": "태어난 연도",
"select_born": "태어난 연도를 선택 하세요",
"year": "년",
"gender": "성별",
"choose_gender": "성별을 선택 하세요",
"male": "남성",
"female": "여성",
"language": "언어",
"best_language": "주 언어를 선택 하세요",
"korean": "한국어",
"english": "영어",
"viet": "베트남",
"option_email": "이메일(선택)",
"insert_email": "이메일 주소를 입력 하세요",
"sign_up_complete": "회원 가입이 완료 되었습니다",
"agree_terms_conditions": "이용약관에 동의해 주세요.",
"agree_personal_information": "개인정보 수집 및 이용에 대한 안내에 동의해 주세요.",
"insert_studying_stage": "작품을 공유하고 싶은 학급을 선택해 주세요.",
"insert_born_year": "태어난 연도를 입력해 주세요.",
"insert_gender": "성별을 입력해 주세요.",
"select_language": "언어를 선택해 주세요.",
"check_email": "이메일 형식을 확인해 주세요.",
"already_exist_id": "이미 존재하는 아이디 입니다.",
"id_validation_id": "아이디는 4~20자의 영문/숫자를 조합하세요",
"password_validate_pwd": "패스워드는 5자 이상의 영문/숫자 등을 조합하세요.",
"insert_same_pwd": "같은 비밀번호를 입력해 주세요.",
"studying_stage_group": "작품 공유 학급",
"studying_stage": "작품을 공유하고 싶은 학급을 선택해 주세요.",
"password": "비밀번호 입력",
"save_id": "아이디 저장",
"auto_login": "자동 로그인",
"forgot_password": "아이디와 비밀번호가 기억나지 않으세요 ?",
"did_not_join": "아직 엔트리 회원이 아니세요?",
"go_join": "회원가입하기 ",
"first_step": "소프트웨어 교육의 첫걸음",
"entry_content_one": "상상했던 것들을 블록 놀이하듯 하나씩 쌓아보세요.",
"entry_content_two": "게임, 애니메이션, 미디어아트와 같은 멋진 작품이 완성된답니다!",
"entry_content_three": "재미있는 놀이로 배우고, 나만의 멋진 작품을 만들어 친구들과 공유할 수 있는 멋진 엔트리의 세상으로 여러분을 초대합니다!",
"funny_space": "재미있게 배우는 학습공간",
"in_learn_section": "< 학습하기 > 에서는",
"learn_problem_solving": "컴퓨터를 활용해 논리적으로 문제를 해결할 수 있는 다양한 학습 콘텐츠가 준비되어 있습니다. 게임을 하듯이 주어진 미션들을 프로그래밍으로 해결해볼 수도 있고 재미있는 동영상으로 소프트웨어의 원리를 배울 수도 있습니다 .",
"joy_create": "창작의 즐거움",
"in_make": "< 만들기 > 는",
"make_contents": "미국 MIT에서 개발한 Scratch와 같은 비주얼 프로그래밍 언어를 사용하여 프로그래밍을 처음 접하는 사람들도 쉽게 나만의 창작물을 만들 수 있습니다. 또 엔트리를 통해 만들 수 있는 컨텐츠의 모습은 무궁무진합니다. 과학 시간에 배운 물리 법칙을 실험해 볼 수도 있고 좋아하는 캐릭터로 애니메이션을 만들거나 직접 게임을 만들어 볼 수 있습니다.",
"and_content": "또 엔트리를 통해 만들 수 있는 콘텐츠의 모습은 무궁무진합니다. 과학 시간에 배운 물리 법칙을 실험해 볼 수도 있고 좋아하는 캐릭터로 애니메이션을 만들거나 직접 게임을 만들어 볼 수 있습니다.",
"share_collaborate": "공유와 협업",
"explore_contents": "< 구경하기 > 에서는 엔트리를 통해 제작한 작품을 다른 사람들과 쉽게 공유할 수 있습니다. 또한 공유된 작품이 어떻게 구성되었는지 살펴볼 수 있고, 이를 발전시켜 자신만의 프로젝트를 만들 수 있습니다. 그리고 엔트리에서는 공동 창작도 가능합니다. 친구들과 협업하여 더 멋진 프로젝트를 만들어볼 수 있습니다.",
"why_software": "왜 소프트웨어 교육이 필요할까?",
"speak_obama_contents": "컴퓨터 과학을 배우는 것은 단지 여러분의 미래에만 중요한 일이 아닙니다. 이것은 우리 미국의 미래를 위해 중요한 일 입니다.",
"obama": "버락 오바마",
"us_president": "미국 대통령",
"billgates_contents": "컴퓨터 프로그래밍은 사고의 범위를 넓혀주고 더 나은 생각을 할 수 있게 만들며 분야에 상관없이 모든 문제에 대해 새로운 해결책을 생각할 수 있는 힘을 길러줍니다.",
"billgates": "빌게이츠",
"chairman_micro": "Microsoft 회장",
"eric_contents": "현재 디지털 혁명은 지구상 대부분의 사람들에게 아직 시작도 안된 수준입니다. 프로그래밍을 통해 향후 10년간 모든 것이 변화할 것 입니다.",
"eric": "에릭 슈미츠",
"sandbug_contents": "오늘날 컴퓨터 과학에 대한 이해는 필수가 되었습니다. 우리의 국가 경쟁력은 우리가 아이들에게 이것을 얼마나 잘 가르칠 수 있느냐에 달려있습니다.",
"sandbug": "쉐릴 샌드버그",
"view_entry_tools": "엔트리와 함께할 수 있는 교구들을 살펴볼 수 있습니다.",
"solve_problem": "미션 해결하기",
"solve_problem_content": "게임을 하듯 미션을 하나 하나 해결하며 소프트웨어의 기본 원리를 배워보세요!",
"find_extra_title": "엔트리봇 부품 찾기 대작전",
"all_ages": "전 연령",
"total": "총",
"step": "단계",
"find_extra_contents": "로봇 강아지를 생산하던 루츠 공장에 어느 날 갑자기 일어난 정전 사태로 태어난 특별한 강아지 엔트리 봇. 아직 조립이 덜 된 나머지 부품들을 찾아 공장을 탈출 하도록 도와주면서 소프트웨어의 동작 원리를 익혀보자!",
"software_play_contents": "EBS에서 방영한 '소프트웨어야 놀자' 프로그램을 실습해볼 수 있습니다.",
"resources_contents": "엔트리를 활용한 다양한 교육자료들을 무료로 제공합니다.",
"from": " 출처",
"sw_camp": "미래부 SW 창의캠프",
"elementary": "초등학교",
"middle": "중학교",
"grades": "학년",
"lesson": "차시",
"sw_contents_one": "5차시 분량으로 초등학생이 엔트리와 피지컬 컴퓨팅을 경험할 수 있는 교재입니다. 학생들은 엔트리 사용법을 학습하고, 그림판과 이야기 만들기를 합니다. 마지막에는 아두이노 교구를 활용하여 키보드를 만들어보는 활동을 합니다.",
"sw_camp_detail": "미래창조과학부 SW창의캠프",
"sw_contents_two": "5차시 분량으로 중학생이 엔트리와 피지컬 컴퓨팅을 경험할 수 있는 교재입니다. 학생들은 엔트리 사용법을 학습하고, 미로찾기 게임과, 퀴즈 프로그램을 만들어 봅니다. 마지막에는 아두이노 교구를 활용하여 키보드로 자동차를 조종하는 활동을 합니다.",
"sw_contents_three": "선생님들이 학교에서 시작할 수 있는 소프트웨어 수업 지도서입니다. 다양한 언플러그드 활동과, '소프트웨어야 놀자' 방송을 활용한 수업 지도안이 담겨 있습니다.",
"naver_sw": "NAVER 소프트웨어야 놀자",
"teacher_teaching": "교사용지도서 (초등학교 5~6학년 이상)",
"funny_sw": "즐거운 SW놀이 교실",
"sw_contents_four": "소프트웨어를 놀이하듯 재미있게 배울 수 있는 교재로 엔트리보드게임을 비롯한 다양한 언플러그드 활동과 엔트리 학습모드로 소프트웨어를 만드는 기본 원리를 배우게 됩니다. 기본 원리를 배웠다면 학생들은 이제 엔트리로 이야기, 게임, 예술작품, 응용프로그램을 만드는 방법을 배우고, 자신이 생각한 소프트웨어를 만들고 발표할 수 있도록 교재가 구성되어 있습니다.",
"ct_text_5": "교과서와 함께 키우는 컴퓨팅 사고력",
"teacher_grade_5": "교원 (초등학교 5학년)",
"ct_text_5_content": "실생활의 문제를 해결하자는 테마로 준비된 총 8개의 학습콘텐츠가 담긴 교사용 지도안입니다. 각 콘텐츠는 개정된 교육과정을 반영한 타교과와의 연계를 통해 다양한 문제를 만나고 해결해볼 수 있도록 설계되었습니다. 아이들이 컴퓨팅 사고력을 갖춘 융합형 인재가 될 수 있도록 지금 적용해보세요!",
"ct_text_6": "교과서와 함께 키우는 컴퓨팅 사고력",
"teacher_grade_6": "교원 (초등학교 6학년)",
"ct_text_6_content": "실생활의 문제를 해결하자는 테마로 준비된 총 8개의 학습콘텐츠가 담긴 교사용 지도안입니다. 각 콘텐츠는 개정된 교육과정을 반영한 타교과와의 연계를 통해 다양한 문제를 만나고 해결해볼 수 있도록 설계되었습니다. 아이들이 컴퓨팅 사고력을 갖춘 융합형 인재가 될 수 있도록 지금 적용해보세요!",
"sw_use": "모든 교재들은 비영리 목적에 한하여 저작자를 밝히고 자유롭게 이용할 수 있습니다.",
"title": "제목",
"writer": "작성자",
"view": "보기",
"date": "등록일",
"find_id_pwd": "아이디와 비밀번호 찾기",
"send_email": "이메일로 비밀번호 변경을 위한 링크를 발송해드립니다.",
"user_not_exist": "존재하지 않는 이메일 주소 입니다.",
"not_signup": "아직 회원이 아니세요?",
"send": "발송하기",
"sensorboard": "엔트리봇 센서보드",
"physical_computing": "피지컬 컴퓨팅",
"sensorboard_contents": "아두이노를 사용하기 위해서 더 이상 많은 케이블을 사용해 회로를 구성할 필요가 없습니다. 엔트리 보드는 아두이노 위에 끼우기만 하면 간단하게 LED, 온도센서, 소리센서, 빛, 슬라이더, 스위치를 활용할 수 있습니다. 이제 엔트리 보드를 활용해 누구라도 쉽게 자신만의 특별한 작품을 만들어보세요!",
"entrybot_boardgame": "엔트리봇 보드게임",
"unplugged": "언플러그드 활동",
"unplugged_contents": "재밌는 보드게임을 통해 컴퓨터의 작동 원리를 배워보세요. 로봇강아지인 엔트리봇이 정전된 공장에서 필요한 부품을 찾아 탈출하도록 돕다보면 컴퓨터 전문가처럼 문제를 바라 볼 수 있게됩니다.",
"entrybot_cardgame": "엔트리봇 카드게임 : 폭탄 대소동",
"entrybot_cardgame_contents": "갑자기 엔트리도시에 나타난 12종류의 폭탄들! 과연 폭탄들을 안전하게 해체할 수 있을까요? 폭탄들을 하나씩 해체하며 엔트리 블록과 함께 소프트웨어의 원리를 배워봐요! 순차, 반복, 조건을 통해 폭탄을 하나씩 해체하다 보면 엔트리도시를 구한 영웅이 될 수 있답니다!",
"basic_learn": "엔트리 기본 학습",
"basic_learn_contents": "엔트리를 활용한 다양한 교육 콘텐츠를 제공합니다.",
"troubleshooting": "문제해결 학습",
"playsoftware": "소프트웨어야 놀자",
"make_own_lesson": "나만의 수업을 만들어 다른 사람과 공유할 수 있습니다.",
"group_lecture": "우리 반 강의",
"group_curriculum": "우리 반 강의 모음",
"group_homework": "우리 반 과제",
"group_noproject": "전시된 작품이 없습니다.",
"group_nolecture": "생성된 강의가 없습니다.",
"group_nocurriculum": "생성된 강의 모음이 없습니다.",
"lecture_contents": "필요한 기능만 선택하여 나만의 수업을 만들어 볼 수 있습니다.",
"curriculum_contents": "여러개의 강의를 하나의 강의 모음으로 묶어 차근차근 따라할 수 있는 수업을 만들 수 있습니다.",
"grade_info": "학년 정보",
"difficulty": "난이도",
"usage": "사용요소",
"learning_concept": "학습개념",
"related_subject": "연계 교과",
"show_more": "더보기",
"close": "닫기",
"latest": "최신순",
"viewCount": "조회수",
"viewer": "조회순",
"like": "좋아요순",
"comment": "댓글순",
"entire_period": "전체기간",
"today": "오늘",
"latest_week": "최근 1주일",
"latest_month": "최근 1개월",
"latest_three_month": "최근 3개월",
"current_password": "현재 비밀번호",
"change_password": "비밀번호 변경",
"incorrect_password": "비밀번호가 일치하지 않습니다.",
"blocked_user": "승인되지 않은 사용자 입니다.",
"new_password": "새로운 비밀번호",
"password_option_1": "영문과 숫자의 조합으로 5자 이상이 필요합니다.",
"again_new_password": "새로운 비밀번호 재입력",
"enter_new_pwd": "새로운 비밀번호를 입력하세요.",
"confirm_new_pwd": "새로운 비밀번호를 확인하세요.",
"enter_new_pwd_again": "새로운 비밀번호를 다시 입력하세요.",
"password_match": "비밀번호가 일치하지 않습니다.",
"incorrect_email": "유효한 이메일이 아닙니다",
"edit_button": "정보수정",
"edit_profile": "관리",
"my_project": "나의 작품",
"my_group": "나의 학급",
"mark": "관심 작품",
"prev_state": "이전",
"profile_image": "자기소개 이미지",
"insert_profile_image": "프로필 이미지를 등록해 주세요.",
"at_least_180": "180 x 180 픽셀의 이미지를 권장합니다.",
"upload_image": "이미지 업로드",
"about_me": "자기소개",
"save_change": "변경사항 저장",
"basic_image": "기본 이미지",
"profile_condition": "자기소개를 입력해 주세요. 50자 내외",
"profile_back": "돌아가기",
"make_project": "작품 만들기",
"exhibit_project": "작품 전시하기",
"art_list_shared": "개인",
"art_list_group_shared": "학급",
"view_project": "코드 보기",
"noResult": "검색 결과가 없습니다.",
"comment_view": "댓글",
"upload_project": "올리기",
"edit": "수정",
"save_complete": "저장",
"just_like": "좋아요",
"share": "공유",
"who_likes_project": "작품을 좋아하는 사람",
"people_interest": "작품을 관심있어 하는 사람",
"none_person": "없음",
"inserted_date": "등록일",
"last_modified": "최종 수정일",
"original_project": "원본 작품",
"for_someone": "님의",
"original_project_deleted": "원본 작품이 삭제되었습니다.",
"delete_project": "삭제",
"delete_group_project": "목록에서 삭제",
"currnet_month_time": "월",
"current_day_time": "일",
"game": "게임",
"animation": "애니메이션",
"media_art": "미디어 아트",
"physical": "피지컬",
"etc": "기타",
"connected_contents": "연계되는 콘텐츠",
"connected_contents_content": "엔트리와 함께 할 수 있는 다양한 콘텐츠를 만나보세요. 처음 소프트웨어를 배우는 사람이라면 쉽게 즐기는 보드게임부터 아두이노와 같은 피지컬 컴퓨팅을 활용하여 자신만의 고급스러운 창작물을 만들어 볼 수 있습니다.",
"basic_mission": "기본 미션: 엔트리봇 미로찾기",
"basic_mission_content": "강아지 로봇을 만드는 공장에서 우연한 정전으로 혼자서 생각할 수 있게 된 엔트리봇! 공장을 탈출하고 자유를 찾을 수 있도록 엔트리봇을 도와주세요!",
"application_mission": "응용미션: 엔트리봇 우주여행",
"write_article": "글쓰기",
"view_all_articles": "모든 글 보기",
"view_own_articles": "내가 쓴 글 보기",
"learning_materials": "교육자료",
"ebs_software_first": "<소프트웨어야 놀자>는 네이버와 EBS가 함께 만든 교육 콘텐츠입니다. 여기에서는 엔트리를 활용하여 실제로 간단한 프로그램을 만들어보며 소프트웨어의 기초 원리를 배워나갈 수 있습니다. 또한 각 콘텐츠에서는 동영상을 통해 컴퓨터과학에 대한 선행지식이 없더라도 충분히 재미와 호기심을 느끼며 진행할 수 있도록 준비되어있습니다.",
"go_software": "소프트웨어야 놀자 가기",
"ebs_context": "EBS 동영상 가기",
"ebs_context_hello": "EBS 가기",
"category": "카테고리",
"add_picture": "사진첨부",
"upload_article": "글 올리기",
"list": "목록",
"report": "신고하기",
"upload": "올리기",
"staff_picks": "스태프 선정",
"popular_picks": "인기 작품",
"lecture_header_more": "더 만들어 보기",
"lecture_header_reset": "초기화",
"lecture_header_reset_exec": "초기화 하기",
"lecture_header_save": "저장",
"lecture_header_save_content": "학습내용 저장하기",
"lecture_header_export_project": "내 작품으로 저장하기",
"lecture_header_undo": "취소",
"lecture_header_redo": "복원",
"lecture_er_bugs": "버그신고",
"lecture_container_tab_object": "오브젝트",
"lecture_container_tab_video": "강의 동영상",
"lecture_container_tab_project": "완성된 작품",
"lecture_container_tab_help": "블록 도움말",
"illigal": "불법적인 내용 또는 사회질서를 위반하는 활동",
"verbal": "언어 폭력 또는 개인 정보를 침해하는 활동",
"commertial": "상업적인 목적을 가지고 활동",
"explicit": "음란물",
"other": "기타",
"check_one_more": "하나이상 표기해주세요.",
"enter_content": "기타의 내용을 입력해 주세요.",
"report_result": "결과 회신을 원하시면 메일을 입력해 주세요.",
"report_success": "신고하기가 정상적으로 처리 되었습니다.",
"etc_detail": "기타 항목 선택후 입력해주세요.",
"lecture_play": "강의 보기",
"list_view_link": "다른 강의 모음 보기",
"lecture_intro": "강의 소개 보기",
"study_goal": "학습목표",
"study_description": "설명",
"study_created": "등록일",
"study_last_updated": "최종 수정일",
"study_remove": "삭제",
"study_group_lecture_remove": "목록에서 삭제",
"study_group_curriculum_remove": "목록에서 삭제",
"study_edit": "강의 모음 수정",
"study_comments": "댓글",
"study_comment_post": "올리기",
"study_comment_remove": "삭제",
"study_comment_edit": "수정",
"study_comment_save": "저장",
"study_guide_video": "안내 영상",
"study_basic_project": "기본 작품",
"study_done_project": "완성 작품을 선택하세요.",
"study_usage_element": "사용요소",
"study_concept_element": "적용개념",
"study_subject_element": "연계교과",
"study_computing_element": "컴퓨팅요소",
"study_element_none": "없음",
"study_label_like": "좋아요",
"study_label_interest": "관심 강의",
"study_label_share": "공유",
"study_label_like_people": "강좌를 좋아하는 사람",
"study_label_interest_people": "강좌를 관심있어 하는 사람",
"study_related_lectures": "강의 목록",
"study_expand": "전체보기",
"study_collapse": "줄이기",
"aftercopy": "주소가 복사되었습니다.",
"study_remove_curriculum": "강의 모음을 삭제하시겠습니까?",
"content_required": "내용을 입력하세요",
"study_remove_lecture": "강의를 삭제하시겠습니까?",
"lecture_build": "강의 만들기",
"lecture_build_step1": "1. 강의를 소개하기 위한 정보를 입력해주세요",
"lecture_build_step2": "2. 학습에 사용되는 기능들만 선택해주세요",
"lecture_build_step3": "3. 모든 정보를 올바르게 입력했는지 확인해주세요",
"lecture_build_choice": "어떤 것을 올리시겠습니까?",
"lecture_build_project": "엔트리 작품",
"lecture_build_video": "강의 영상",
"lecture_build_grade": "추천학년",
"lecture_build_goals": "학습목표",
"lecture_build_add_goal": "이곳을 클릭하여 목표를 추가",
"lecture_build_attach": "파일 첨부",
"lecture_build_attach_text": "20MB 이내의 파일을 업로드해 주세요.",
"lecture_build_assist": "보조 영상",
"lecture_build_youtube_url": "Youtube 공유 링크를 넣어주세요.",
"lecture_build_project_done": "완성 작품을 선택하세요.",
"lecture_build_scene_text1": "장면기능을 끄면 새로운 장면을 추가하거나,",
"lecture_build_scene_text2": "삭제할 수 없습니다.",
"lecture_build_object_text": "오브젝트 추가하기를 끄면 새로운 오브젝트를 추가하거나 삭제할 수 없습니다.",
"lecture_build_blocks_text1": "학습에 필요한 블록들만 선택해주세요.",
"lecture_build_blocks_text2": "선택하지 않은 블록은 숨겨집니다.",
"lecture_build_basic1": "학습을 시작할때 사용할 작품을 선택해 주세요.",
"lecture_build_basic2": "학습자는 선택한 작품을 가지고 학습을 하게 됩니다.",
"lecture_build_help": "이 도움말을 다시 보시려면 눌러주세요.",
"lecture_build_help_never": "다시보지 않기",
"lecture_build_close": "닫기",
"lecture_build_scene": "장면 1",
"lecture_build_add_object": "오브젝트 추가하기",
"lecture_build_start": "시작하기",
"lecture_build_tab_code": "블록",
"lecture_build_tab_shape": "모양",
"lecture_build_tab_sound": "소리",
"lecture_build_tab_attribute": "속성",
"lecture_build_block_category": "블록 카테고리를 선택하세요.",
"lecture_build_attr_all": "전체",
"lecture_build_attr_var": "변수",
"lecture_build_attr_signal": "신호",
"lecture_build_attr_list": "리스트",
"lecture_build_attr_func": "함수",
"lecture_build_edit": "강의 수정",
"lecture_build_remove": "삭제",
"curriculum_build": "강의 모음 만들기",
"curriculum_step1": "1. 강의 모음을 소개하는 정보를 입력해주세요.",
"curriculum_step2": "2. 강의 모음을 구성하는 강의를 선택해주세요.",
"curriculum_step3": "3. 올바르게 강의 모음이 구성되었는지 확인해주세요.",
"curriculum_lecture_upload": "강의 올리기",
"curriculum_lecture_edit": "강의 편집",
"curriculum_lecture_open": "불러오기",
"group_lecture_add": "우리 반 강의 추가하기",
"group_curriculum_add": "우리 반 강의 모음 추가하기",
"group_lecture_delete": "삭제",
"group_curriculum_delete": "삭제",
"group_select": "",
"group_studentNo": "학번",
"group_username": "이름",
"group_userId": "아이디",
"group_tempPassword": "비밀번호 수정",
"group_gender": "성별",
"group_studentCode": "코드",
"group_viewWorks": "작품 보기",
"added_group_lecture": "강의가 삭되었습니다.",
"added_group_curriculum": "강의 모음이 삭제되었습니다.",
"deleted_group_lecture": "강의가 삭제되었습니다.",
"deleted_group_curriculum": "강의 모음이 삭제되었습니다.",
"modal_my": "나의",
"modal_interest": "관심",
"modal_project": "작품",
"section": "단원",
"connect_hw": "하드웨어 연결",
"connect_message": "%1에 연결되었습니다.",
"connect_fail": "하드웨어 연결에 실패했습니다. 연결프로그램이 켜져 있는지 확인해 주세요.",
"interest_curriculum": "관심 강의 모음",
"marked_curriculum": "관심 강의 모음",
"searchword_required": "검색어를 입력하세요.",
"file_required": "파일은 필수 입력 항목입니다.",
"file_name_error": "올바른 파일이름을 입력해 주세요.",
"file_upload_max_count": "한번에 10개까지 업로드가 가능합니다.",
"image_file_only": "이미지 파일만 등록이 가능합니다.",
"file_upload_max_size": "10MB 이하만 업로드가 가능합니다.",
"curriculum_modal_lectures": "나의 강의",
"curriculum_modal_interest": "관심 강의",
"group_curriculum_modal_curriculums": "나의 강의 모음",
"group_curriculum_modal_interest": "관심 강의 모음",
"picture_import": "모양 가져오기",
"picture_select": "모양 선택",
"lecture_list_view": "다른 강의보기",
"play_software_2": "EBS 소프트웨어야 놀자2",
"play_software_2_content": "네이버와 EBS가 함께 만든 두 번째 이야기, <소프트웨어야 놀자> 시즌2를 만나보세요! 재미있는 동영상 강의를 통해 소프트웨어의 기본 개념을 배워보고, 다양하고 흥미로운 주제로 실생활 문제를 해결해 볼 수 있습니다. 방송영상과 특별영상을 보며 재미있는 프로그램들을 직접 만들어보세요. 소프트웨어 교육을 처음 접하는 친구들도 쉽게 소프트웨어와 친구가 될 수 있답니다!",
"open_project_to_all": "공개",
"close_project": "비공개",
"category_media_art": "미디어 아트",
"go_further": "더 나아가기",
"marked_project": "관심 작품",
"marked_group_project": "학급 관심 작품",
"basic": "기본",
"application": "응용",
"the_great_escape": "탈출 모험기",
"escape_guide_1": "강아지 로봇을 만드는 공장에서 우연한 정전으로 혼자서 생각할 수 있게 된 엔트리봇! ",
"escape_guide_1_2": " 공장을 탈출하고 자유를 찾을 수 있도록 엔트리봇을 도와주세요!",
"escape_guide_2": "엔트리봇이 먼 길을 가기엔 고쳐야 할 곳이 너무 많아 공장에서 탈출하면서 몸을 수리할 수 있는 부품들을 찾아보자! 아직 몸이 완전하지는 않지만 걷거나 뛰면서, 방향을 바꾸는 정도는 가능할 거야! ",
"escape_guide_2_2": "학습 목표: 순차적 실행",
"escape_guide_3": "드디어 공장을 탈출했어! 하지만 마을로 가기 위해서는 아직 가야 할 길이 멀어. 그래도 몸은 어느 정도 고쳐져서 똑같은 일을 많이 해도 무리는 없을 거야! 어? 근데 저 로봇은 뭐지? ",
"escape_guide_3_2": "학습 목표: 반복문과 조건문",
"escape_guide_4": "드디어 마을 근처까지 왔어! 아까부터 똑같은 일을 많이 했더니 이제 외울 지경이야! 차라리 쓰일 블록은 이제 기억해뒀다가 쓰면 좋을 것 같아. 여기서 배터리만 충전해 놓으면 이제 평생 자유롭게 살 수 있을 거야.",
"escape_guide_4_2": "학습 목표: 함수 정의와 호출",
"space_travel_log": "우주 여행기",
"space_guide_1": "머나먼 우주를 탐사하기 위해 떠난 엔트리봇. 드디어 탐사 임무를 마치고 고향별인 지구로 돌아오려 하는데 수많은 돌이 지구로 가는 길을 막고 있다! 엔트리봇이 안전하게 지구로 돌아올 수 있도록 도와주세요!",
"space_guide_2": "드디어 지구에 돌아갈 시간이야! 얼른 지구에 돌아가서 쉬고 싶어!앞에 돌들이 어떻게 되어 있는지 확인하고 언제 어디로 가야 하는지 알려줘! 그러면 내가 가르쳐준 방향으로 움직일게!",
"space_guide_2_2": "학습 목표: 조건문 중첩과 논리 연산",
"cfest_mission": "엔트리 체험 미션",
"maze_1_intro": "안녕 나는 엔트리봇이라고 해. 지금 나는 다친 친구들을 구하려고 하는데 너의 도움이 필요해. 나를 도와서 친구들을 구해줘! 먼저 앞으로 가기 블록을 조립하고 시작을 눌러봐",
"maze_1_title": "시작 방법",
"maze_1_content": "엔트리봇은 어떻게 움직이나요?",
"maze_1_detail": "1. 블록 꾸러미에서 원하는 블록을 꺼내어 “시작하기를 클릭했을 때” 블록과 연결해봐 <br> 2. 다 조립했으면, 시작을 눌러봐 <br> 3. 나는 네가 조립한 블록대로 위에서부터 순서대로 움직일게",
"maze_2_intro": "좋아! 덕분에 첫 번째 친구를 무사히 구할 수 있었어! 그럼 다음 친구를 구해볼까? 어! 그런데 앞에 벌집이 있어! 뛰어넘기 블록을 사용해서 벌집을 피하고 친구를 구해보자.",
"maze_2_title_1": "장애물 뛰어넘기",
"maze_2_content_1": "장애물이 있으면 어떻게 해야하나요?",
"maze_2_detail_1": "길을 가다보면 장애물을 만날 수 있어. <br> 장애물이 앞에 있을 때에는 뛰어넘기 블록을 사용해야 해.",
"maze_2_title_2": "시작 방법",
"maze_2_content_2": "엔트리봇은 어떻게 움직이나요?",
"maze_2_detail_2": "1. 블록 꾸러미에서 원하는 블록을 꺼내어 “시작하기를 클릭했을 때” 블록과 연결해봐 <br> 2. 다 조립했으면, 시작을 눌러봐 <br> 3. 나는 네가 조립한 블록대로 위에서부터 순서대로 움직일게",
"maze_3_intro": "멋졌어! 이제 또 다른 친구를 구하러 가자~ 이번에는 아까 구한 친구가 준 반복하기 블록을 이용해볼까? 반복하기를 이용하면 똑같은 동작을 쉽게 여러번 할 수 있어! 한 번 반복할 숫자를 바꿔볼래?",
"maze_3_title": "반복 블록(1)",
"maze_3_content": "(3)회 반복하기 블록은 어떻게 사용하나요?",
"maze_3_detail": "같은 행동을 여러번 반복하려면 ~번 반복하기 블록을 사용해야 해. <br> 반복하고 싶은 블록들을 ~번 반복하기 안에 넣고 반복 횟수를 입력하면 돼",
"maze_4_intro": "훌륭해! 이제 구해야 할 친구 로봇들도 별로 남지 않았어. 벌집에 닿지 않도록 뛰어넘기를 반복하면서 친구에게 갈 수 있게 해줘!",
"maze_4_title": "반복 블록(1)",
"maze_4_content": "(3)회 반복하기 블록은 어떻게 사용하나요?",
"maze_4_detail": "같은 행동을 여러번 반복하려면 ~번 반복하기 블록을 사용해야 해. <br> 반복하고 싶은 블록들을 ~번 반복하기 안에 넣고 반복 횟수를 입력하면 돼",
"maze_5_intro": "대단해! 이제 반복하기 블록과 만약 블록을 같이 사용해보자~ 만약 블록을 사용하면 앞에 벽이 있을 때 벽이 없는 쪽으로 회전할 수 있어. 그럼 친구를 구해주러 출발해볼까?",
"maze_5_title_1": "만약 블록",
"maze_5_content_1": "만약 ~라면 블록은 어떻게 동작하나요?",
"maze_5_detail_1": "만약 앞에 {이미지}가 있다면' 블록을 사용하면 앞에 {이미지}가 있을 때 어떤 행동을 할 지 정해줄 수 있어. <br> 앞에 {이미지}가 있을 때에만 블록 안의 블록들을 실행하고 <br> 그렇지 않으면 실행하지 않게 되는 거야.",
"maze_5_title_2": "반복 블록(2)",
"maze_5_content_2": "~를 만날 때 까지 반복하기 블록은 어떻게 사용하나요?",
"maze_5_detail_2": "~까지 반복하기'를 사용하면 같은 행동을 언제까지 반복할지를 정해줄 수 있어. <br> 반복하고 싶은 블록들을 ~까지 반복하기안에 넣으면 돼. <br> 그러면 {이미지}와 같은 타일 위에 있는 경우 반복이 멈추게 될 거야.",
"maze_6_intro": "이제 마지막 친구야! 아까 해본 것처럼만 하면 될거야! 그럼 마지막 친구를 구하러 가볼까?",
"maze_6_title_1": "만약 블록",
"maze_6_content_1": "만약 ~라면 블록은 어떻게 동작하나요?",
"maze_6_detail_1": "만약 앞에 {이미지}가 있다면' 블록을 사용하면 앞에 {이미지}가 있을 때 어떤 행동을 할 지 정해줄 수 있어. <br> 앞에 {이미지}가 있을 때에만 블록 안의 블록들을 실행하고 <br> 그렇지 않으면 실행하지 않게 되는 거야.",
"maze_6_title_2": "반복 블록(2)",
"maze_6_content_2": "~를 만날 때 까지 반복하기 블록은 어떻게 사용하나요?",
"maze_6_detail_2": "~까지 반복하기'를 사용하면 같은 행동을 언제까지 반복할지를 정해줄 수 있어. <br> 반복하고 싶은 블록들을 ~까지 반복하기안에 넣으면 돼. <br> 그러면 {이미지}와 같은 타일 위에 있는 경우 반복이 멈추게 될 거야.",
"maze_programing_mode_0": "블록 코딩",
"maze_programing_mode_1": "자바스크립트",
"maze_operation1_title": "1단계 – 자바스크립트모드 안내",
"maze_operation1_1_desc": "나는 로봇강아지 엔트리봇이야. 나에게 명령을 내려서 미션을 해결할 수 있게 도와줘! 미션은 시작할 때마다 <span class=\"textShadow\">\'목표\'</span>를 통해서 확인할 수 있어!",
"maze_operation1_2_desc": "미션을 확인했다면 <b>명령</b>을 내려야 해 <span class=\"textUnderline\">\'명령어 꾸러미\'</span>는 <b>명령어</b>가 있는 공간이야. <b>마우스</b>와 <b>키보드</b>로 <b>명령</b>을 내릴 수 있어. <span class=\"textShadow\">마우스</span>로는 명령어 꾸러미에 있는 <b>명령어</b>를 클릭하거나, <b>명령어</b>를 <span class=\"textUnderline\">\'명령어 조립소\'</span>로 끌고와서 나에게 <b>명령</b>을 내릴 수 있어!",
"maze_operation1_2_textset_1": "마우스로 명령어를 클릭하는 방법 ",
"maze_operation1_2_textset_2": "마우스로 명령어를 드래그앤드랍하는 방법 ",
"maze_operation1_3_desc": "<span class=\"textShadow\">키보드</span>로 명령을 내리려면 \'명령어 꾸러미\' 에 있는 <b>명령어를 키보드로 직접 입력하면 돼.</b></br> 명령어를 입력할 때 명령어 끝에 있는 <span class=\"textShadow\">()와 ;</span> 를 빼먹지 않도록 주의해야해!",
"maze_operation1_4_desc": "미션을 해결하기 위한 명령어를 다 입력했다면 <span class=\"textShadow\">[시작하기]</span>를 누르면 돼.</br> [시작하기]를 누르면 나는 명령을 내린대로 움직일 거야!</br> 각 명령어가 궁금하다면 <span class=\"textShadow\">[명령어 도움말]</span>을 확인해봐!",
"maze_operation7_title": "7단계 - 반복 명령 알아보기(횟수반복)",
"maze_operation7_1_desc": "<b>똑같은 일</b>을 반복해서 명령하는건 매우 귀찮은 일이야.</br>이럴땐 <span class=\"textShadow\">반복</span>과 관련된 명령어를 사용하면 훨씬 쉽게 명령을 내릴 수 있어.",
"maze_operation7_2_desc": "그렇다면 반복되는 명령을 쉽게 내리는 방법을 알아보자.</br>먼저 반복하기 명령어를 클릭한 다음, <span class=\"textShadow\">i<1</span> 의 숫자를 바꿔서 <span class=\"textShadow\">반복횟수</span>를 정하고</br><span class=\"textShadow\">괄호({ })</span> 사이에 반복할 명령어를 넣어주면 돼!",
"maze_operation7_3_desc": "예를 들어 이 명령어<span class=\"textBadge number1\"></span>은 move(); 를 10번 반복해서 실행해.</br><span class=\"textBadge number2\"></span>명령어와 동일한 명령어지.",
"maze_operation7_4_desc": "이 명령어를 사용할 때는 <span class=\"textShadow\">{ } 안에 반복할 명령어</span>를 잘 입력했는지,</br><span class=\"textShadow\">`;`</span>는 빠지지 않았는지 잘 살펴봐!</br>이 명령어에 대한 자세한 설명은 [명령어 도움말]에서 볼 수 있어.",
"maze_operation7_1_textset_1": "똑같은 명령어를 반복해서 사용하는 경우",
"maze_operation7_1_textset_2": "반복 명령어를 사용하는 경우",
"maze_operation7_2_textset_1": "반복 횟수",
"maze_operation7_2_textset_2": "반복할 명령",
"maze_operation7_4_textset_1": "괄호({})가 빠진 경우",
"maze_operation7_4_textset_2": "세미콜론(;)이 빠진 경우",
"study_maze_operation8_title": "8단계 - 반복 명령 알아보기(횟수반복)",
"study_maze_operation16_title": "4단계 - 반복 명령 알아보기(조건반복)",
"study_maze_operation1_title": "1단계 - 반복 명령 알아보기(횟수반복)",
"maze_operation9_title": "9단계 - 반복 명령 알아보기(조건반복)",
"maze_operation9_1_desc": "앞에서는 몇 번을 반복하는 횟수반복 명령어에 대해 배웠어.</br>이번에는 <span class=\"textShadow\">계속해서 반복하는 명령어</span>를 살펴보자.</br>이 명령어를 사용하면 미션이 끝날 때까지 <b>동일한 행동</b>을 계속 반복하게 돼.</br>이 명령어 역시 괄호({ }) 사이에 반복할 명령어를 넣어 사용할 수 있어!",
"maze_operation9_2_desc": "예를 들어 이 명령어 <span class=\"textBadge number1\"></span>은 미션을 완료할때까지 반복해서 move(); right()를 실행해.</br><span class=\"textBadge number2\"></span>명령어와 동일한 명령어지.",
"maze_operation9_3_desc": "이 명령어를 사용할 때도 <span class=\"textShadow\">{ } 안에 반복할 명령어</span>를 잘 입력했는지,</br><span class=\"textShadow\">`true`</span>가 빠지지 않았는지 잘 살펴봐!</br>이 명령어에 대한 자세한 설명은 [명령어 도움말]에서 볼 수 있어.",
"maze_operation9_1_textset_1": "반복할 명령",
"maze_operation9_3_textset_1": "괄호({})가 빠진 경우",
"maze_operation9_3_textset_2": "세미콜론(;)이 빠진 경우",
"maze_operation9_3_textset_3": "true가 빠진 경우",
"study_maze_operation3_title": "3단계 - 반복 명령 알아보기(조건반복)",
"study_maze_operation4_title": "4단계 - 조건 명령 알아보기",
"study_ai_operation4_title": "4단계 - 조건 명령과 레이더 알아보기",
"study_ai_operation6_title": "6단계 - 중첩조건문 알아보기",
"study_ai_operation7_title": "7단계 - 다양한 비교연산 알아보기",
"study_ai_operation8_title": "8단계 - 물체 레이더 알아보기",
"study_ai_operation9_title": "9단계 - 아이템 사용하기",
"maze_operation10_title": "10단계 - 조건 명령 알아보기",
"maze_operation10_1_desc": "앞에서는 미션이 끝날 때까지 계속 반복하는 반복 명령어에 대해 배웠어.</br>이번에는 특정한 조건에서만 행동을 하는 <span class=\"textShadow\">조건 명령어</span>를 살펴보자.</br><span class=\"textBadge number2\"></span>에서 보는것처럼 조건 명령어를 사용하면 <b>명령을 보다 효율적으로 잘 내릴 수 있어.</b>",
"maze_operation10_2_desc": "조건 명령어는 크게 <span class=\"textShadow\">`조건`</span> 과 <span class=\"textShadow\">`조건이 발생했을때 실행되는 명령`</span>으로 나눌수 있어.</br>먼저 <span class=\"textUnderline\">조건</span> 부분을 살펴보자. If 다음에 나오는 <span class=\"textUnderline\">( ) 부분</span>이 조건을 입력하는 부분이야.</br><span class=\"textBadge number1\"></span>과 같은 명령어를 예로 살펴보자. <span class=\"textUnderline\">if(front == \“wall\”)</span> 는 만약 내 앞에(front) \"wall(벽)\"이 있다면을 뜻해",
"maze_operation10_3_desc": "이제 <span class=\"textUnderline\">`조건이 발생했을 때 실행되는 명령`</span>을 살펴보자.</br>이 부분은 <span class=\"textShadow\">괄호{}</span>로 묶여 있고, 조건이 발생했을때 괄호안의 명령을 실행하게 돼!</br>조건이 발생하지 않으면 이 부분은 무시하고 그냥 넘어가게 되지.</br><span class=\"textBadge number1\"></span>의 명령어를 예로 살펴보자. 조건은 만약에 `내 앞에 벽이 있을 때` 이고,</br><b>이 조건이 발생했을 때 나는 괄호안의 명령어 right(); 처럼 오른쪽으로 회전하게 돼!</b>",
"maze_operation10_4_desc": "<span class=\"textShadow\">조건 명령어</span>는 <span class=\"textShadow\">반복하기 명령어</span>와 함께 쓰이는 경우가 많아.</br>앞으로 쭉 가다가, 벽을 만났을때만 회전하게 하려면</br><span class=\"textUnderline pdb5\"><span class=\"textBadge number1\"></span><span class=\"textBadge number2\"></span><span class=\"textBadge number3\"></span>순서</span>와 같이 명령을 내릴 수 있지!",
"maze_operation10_1_textset_1": "<b>[일반명령]</b>",
"maze_operation10_1_textset_2": "<span class=\"textMultiline\">앞으로 2칸 가고</br>오른쪽으로 회전하고,</br>앞으로 3칸가고,</br>오른쪽으로 회전하고, 앞으로...</span>",
"maze_operation10_1_textset_3": "<b>[조건명령]</b>",
"maze_operation10_1_textset_4": "<span class=\"textMultiline\">앞으로 계속 가다가</br><span class=\"textEmphasis\">`만약에 벽을 만나면`</span></br>오른쪽으로 회전해~!</span>",
"maze_operation10_2_textset_1": "조건",
"maze_operation10_2_textset_2": "조건이 발생했을 때 실행되는 명령",
"maze_operation10_3_textset_1": "조건",
"maze_operation10_3_textset_2": "조건이 발생했을 때 실행되는 명령",
"maze_operation10_4_textset_1": "<span class=\"textMultiline\">미션이 끝날때 까지</br>계속 앞으로 간다.</span>",
"maze_operation10_4_textset_2": "<span class=\"textMultiline\">계속 앞으로 가다가,</br>만약에 벽을 만나면</span>",
"maze_operation10_4_textset_3": "<span class=\"textMultiline\">계속 앞으로 가다가,</br>만약에 벽을 만나면</br>오른쪽으로 회전한다.</span>",
"study_maze_operation18_title": "6단계 - 조건 명령 알아보기",
"maze_operation15_title": "15단계 - 함수 명령 알아보기",
"maze_operation15_1_desc": "자주 사용하는 명령어들을 매번 입력하는건 매우 귀찮은 일이야.</br>자주 사용하는 <span class=\"textUnderline\">명령어들을 묶어서 이름</span>을 붙이고,</br><b>필요할 때마다 그 명령어 묶음을 불러온다면 훨씬 편리하게 명령을 내릴 수 있어!</b></br>이런 명령어 묶음을 <span class=\"textShadow\">`함수`</span>라고 해. 이제 함수 명령에 대해 자세히 알아보자.",
"maze_operation15_2_desc": "함수 명령어는 명령어를 묶는 <b>`함수만들기` 과정</b>과,</br>묶은 명령어를 필요할 때 사용하는 <b>`함수 불러오기` 과정</b>이 있어.</br>먼저 함수만들기 과정을 살펴보자.</br>함수를 만들려면 함수의 이름과, 그 함수에 들어갈 명령어를 입력해야 해.</br><span class=\"textShadow\">function</span>을 입력한 다음 <span class=\"textShadow\">함수의 이름</span>을 정할 수 있어. 여기서는 <span class=\"textShadow\">promise</span>로 만들거야.</br>함수 이름을 만들었으면 <span class=\"textUnderline\">()</span>를 붙여줘. 그 다음 <span class=\"textUnderline\">괄호({})</span>를 입력해.</br>그리고 <span class=\"textUnderline\">이 괄호 안에 함수에 들어갈 명령어들을 입력하면</span> 함수가 만들어져!",
"maze_operation15_3_desc": "이 명령어를 예로 살펴보자. 나는 <span class=\"textShadow\">promise</span> 라는 함수를 만들었어.</br>이 함수를 불러서 실행하면 <span class=\"textUnderline\">괄호({})</span>안에 있는</br>move();</br>move();</br>left(); 가 실행돼!",
"maze_operation15_4_desc": "함수를 불러와서 실행하려면 아까 만든 <b>함수의 이름을 입력하고 뒤에 `();`를 붙이면 돼.</b></br>promise 라는 이름으로 함수를 만들었으니 <span class=\"textShadow\">promise();</span> 를 입력하면 앞에서 묶어놓은</br>명령어들이 실행되는거지!</br><span class=\"number1 textBadge\"></span>과 같이 명령을 내리면 <span class=\"number2 textBadge\"></span>처럼 동작하게 돼!</br>함수 명령어를 사용하려면 <span class=\"number1 textBadge\"></span>과 같이 함수를 만들고 함수를 불러와야해!",
"maze_operation15_1_textset_1": "자주 사용하는 명령어 확인하기",
"maze_operation15_1_textset_2": "명령어들을 묶어서 이름 붙이기",
"maze_operation15_1_textset_3": "명령어 묶음 불러오기",
"maze_operation15_2_textset_1": "명령어 묶음의 이름(함수 이름)",
"maze_operation15_2_textset_2": "묶을 명령어들",
"maze_operation15_3_textset_1": "명령어 묶음의 이름(함수 이름)",
"maze_operation15_3_textset_2": "묶을 명령어들",
"maze_operation15_4_textset_1": "함수 만들기",
"maze_operation15_4_textset_2": "함수 불러오기",
"maze_operation15_4_textset_3": "실제 상황",
"maze_object_title": "오브젝트 정보",
"maze_object_parts_box": "부품 상자",
"maze_object_trap": "함정",
"maze_object_monster": "몬스터",
"maze_object_obstacle1": "장애물",
"maze_object_obstacle2": "bee",
"maze_object_obstacle3": "banana",
"maze_object_friend": "친구",
"maze_object_wall1": "wall",
"maze_object_wall2": "wall",
"maze_object_wall3": "wall",
"maze_object_battery": "베터리",
"maze_command_ex": "예시",
"maze_command_title": "명령어 도움말",
"maze_command_move_desc": "엔트리봇을 한 칸 앞으로 이동시킵니다.",
"maze_command_jump_desc": "아래 이미지와 같은 장애물 앞에서 장애물을 뛰어 넘습니다.</br><div class=\"obstacleSet\"></div>",
"maze_command_jump_desc_elec": "아래 이미지와 같은 장애물 앞에서 장애물을 뛰어 넘습니다.</br><div class=\"obstacle_elec\"></div>",
"maze_command_right_desc": "제자리에서 오른쪽으로 90도 회전합니다.",
"maze_command_left_desc": "제자리에서 왼쪽으로 90도 회전합니다.",
"maze_command_for_desc": "괄호<span class=\"textShadow\">{}</span> 안에 있는 명령을 <span class=\"textShadow\">입력한 횟수</span> 만큼 반복해서 실행합니다.",
"maze_command_while_desc": "미션이 끝날 때가지 괄호<span class=\"textShadow\">{}</span> 안에 있는 명령을 계속 반복해서 실행합니다.",
"maze_command_slow_desc": "아래 이미지와 같은 방지턱을 넘습니다.</br><div class=\"hump\"></div>",
"maze_command_if1_desc": "조건 <span class=\"textShadow\">`바로 앞에 벽이 있을때`</span>이 발생했을 때,</br>괄호<span class=\"textShadow\">{}</span> 안에 있는 명령을 실행합니다.",
"maze_command_if2_desc": "조건 <span class=\"textShadow\">`바로 앞에 벌집이 있을때`</span>이 발생했을 때,</br>괄호<span class=\"textShadow\">{}</span> 안에 있는 명령을 실행합니다.",
"maze_command_if3_desc": "조건 <span class=\"textShadow\">`바로 앞에 바나나가 있을때`</span>이 발생했을 때,</br>괄호<span class=\"textShadow\">{}</span> 안에 있는 명령을 실행합니다.",
"maze_command_promise_desc": "promise 라는 <span class=\"textShadow\">함수</span>를 만들고 실행하면 괄호<span class=\"textShadow\">{}</span> 안에</br>있던 명령어가 실행합니다.",
"perfect": "아주 완벽해! ",
"succeeded_using_blocks": " 개의 블록을 사용해서 성공했어!",
"succeeded_using_commands": " 개의 명령어를 사용해서 성공했어!",
"awesome": "대단한 걸!",
"succeeded_go_to_next": "개의 블록만으로 성공했어! <br> 다음 단계로 넘어가자.",
"good": "좋아! ",
"but": "<br> 하지만, ",
"try_again": " 개의 블록만으로 성공하는 방법도 있어. <br> 다시 도전해 보는건 어때?",
"try_again_commands": " 개의 명렁어만으로 성공하는 방법도 있어. <br> 다시 도전해 보는건 어때?",
"cfest_success": "대단한걸! 덕분에 친구들을 구할 수 있었어! <br> 아마도 너는 타고난 프로그래머 인가봐! <br> 나중에 또 만나자~!",
"succeeded_and_cert": "개의 블록만으로 성공했어! <br>인증서를 받으러 가자.",
"cause_msgs_1": "에구, 앞으로 갈 수 없는 곳이였어. 다시 해보자.",
"cause_msgs_2": "히잉. 그냥 길에서는 뛰어 넘을 곳이 없어. 다시 해보자.",
"cause_msgs_3": "에고고, 아파라. 뛰어 넘었어야 했던 곳이였어. 다시 해보자.",
"cause_msgs_4": "아쉽지만, 이번 단계에서는 꼭 아래 블록을 써야만 해. <br> 다시 해볼래?",
"cause_msgs_5": "이런, 실행할 블록들이 다 떨어졌어. 다시 해보자.",
"cause_msgs_6": "이런, 실행할 명령어들이 다 떨어졌어. 다시 해보자.",
"close_experience": "체험<br>종료",
"replay": "다시하기",
"go_to_next_level": "다음단계 가기",
"move_forward": "앞으로 한 칸 이동",
"turn_left": "왼쪽",
"turn_right": "오른쪽",
"turn_en": "",
"turn_ko": "으로 회전",
"jump_over": "뛰어넘기",
"when_start_is_pressed": "시작하기를 클릭했을 때",
"repeat_until_ko": "만날 때 까지 반복",
"repeat_until_en": "",
"repeat_until": "만날 때 까지 반복",
"if_there_is_1": "만약 앞에 ",
"if_there_is_2": "있다면",
"used_blocks": "사용 블록",
"maximum": "목표 블록",
"used_command": "사용 명령어 갯수",
"maximum_command": "목표 명령어 갯수",
"block_box": "블록 꾸러미",
"block_assembly": "블록 조립소",
"command_box": "명령어 꾸러미",
"command_assembly": "명령어 조립소",
"start": "시작하기",
"engine_running": "실행중",
"engine_replay": "돌아가기",
"goto_show": "보러가기",
"make_together": "함께 만드는 엔트리",
"make_together_content": "엔트리는 학교에 계신 선생님들과 학생 친구들이 함께 고민하며 만들어갑니다.",
"project_nobody_like": "이 작품이 마음에 든다면 '좋아요'를 눌러 주세요.",
"project_nobody_interest": "'관심 작품'을 누르면 마이 페이지에서 볼 수 있어요.",
"lecture_nobody_like": "이 강의가 마음에 든다면 '좋아요'를 눌러 주세요.",
"lecture_nobody_interest": "'관심 강의'을 누르면 마이 페이지에서 볼 수 있어요.",
"course_nobody_like": "이 강의 모음이 마음에 든다면 '좋아요'를 눌러 주세요.",
"course_nobody_interest": "'관심 강의 모음'을 누르면 마이 페이지에서 볼 수 있어요.",
"before_changed": "변경전",
"after_changed": "변경후",
"from_changed": "( 2016년 04월 17일 부터 ) ",
"essential": "필수",
"access_term_title": "안녕하세요. 엔트리 교육연구소 입니다. <br> 엔트리를 사랑해주시는 여러분께 감사드리며, <br> 엔트리 교육연구소 웹사이트 이용약관이<br> 2016년 4월 17일 부로 다음과 같이 개정됨을 알려드립니다. ",
"member_info": "회원 안내",
"personal_info": "개인정보 수집 및 이용에 동의 합니다.",
"option": "선택",
"news": "최신소식",
"edu_material": "교육자료",
"latest_news": "최근소식",
"edu_data": "교육자료",
"training_program": "연수지원",
"footer_phrase": "엔트리는 누구나 무료로 소프트웨어 교육을 받을 수 있게 개발된 비영리 교육 플랫폼입니다.",
"footer_use_free": "모든 엔트리교육연구소의 저작물은 교육적 목적에 한하여 출처를 밝히고 자유롭게 이용할 수 있습니다.",
"footer_description_1": "엔트리는 비영리 교육 플랫폼으로써, 모든 엔트리의 저작물은 교육적 목적에 한하여 출처를 밝히고 자유롭게 이용할 수 있습니다.",
"footer_description_2": "",
"nonprofit_platform": "비영리 교육 플랫폼",
"this_is": "입니다.",
"privacy": "개인정보 처리방침",
"entry_addr": "서울특별시 강남구 강남대로 382 메리츠타워 7층 재단법인 커넥트",
"entry_addr_additional_phone": "02-6202-9783",
"entry_addr_additional_email": "entry@connect.or.kr",
"entry_addr_additional_opensource": "Open Source License",
"phone": "전화번호",
"alert_agree_term": "이용약관에 동의하여 주세요.",
"alert_private_policy": "개인정보 수집 약관에 동의하여 주세요.",
"agree": "동의",
"optional": "선택",
"start_software": "소프트웨어 교육의 첫걸음",
"analyze_procedure": "절차",
"analyze_repeat": "반복",
"analyze_condition": "분기",
"analyze_interaction": "상호작용",
"analyze_dataRepresentation": "데이터 표현",
"analyze_abstraction": "추상화",
"analyze_sync": "병렬 및 동기화",
"jr_intro_1": "안녕! 난 쥬니라고 해! 내 친구 엔트리봇이 오른쪽에 있어! 날 친구에게 데려다 줘!",
"jr_intro_2": "엔트리봇이 내 왼쪽에 있어! 왼쪽으로 가보자.",
"jr_intro_3": "엔트리봇이 위쪽에 있어! 친구를 만날 수 있도록 도와줘!",
"jr_intro_4": "어서 엔트리봇을 만나러 가자! 아래쪽으로 가보는거야~ ",
"jr_intro_5": "우왓! 내 친구가 멀리 떨어져있어. 엔트리봇이 있는 곳까지 안내해줄래? ",
"jr_intro_6": "저기 엔트리봇이 있어~ 얼른 만나러 가보자.",
"jr_intro_7": "예쁜 꽃이 있네. 꽃들을 모아 엔트리봇에게 가보자!",
"jr_intro_8": "가는 길에 꽃이 있어! 꽃을 모아 엔트리봇에게 가보자!",
"jr_intro_9": "엔트리봇이 멀리 떨어져 있네? 가장 빠른 길로 엔트리봇에게 가 보자.",
"jr_intro_10": "엔트리봇을 만나러 가는 길에 꽃을 모두 모아서 가보자.",
"jr_intro_11": "엔트리봇에게 가려면 오른쪽으로 다섯번이나 가야 하잖아? 반복하기 블록을 사용해서 좀 더 쉽게 가 보자.",
"jr_intro_12": "반복하기를 사용해서 엔트리봇을 만나러 가자.",
"jr_intro_13": "지금 블록으로는 친구에게 갈 수가 없어. 반복 횟수를 바꿔 엔트리봇에게 갈 수 있게 해줘.",
"jr_intro_14": "반복 블록을 사용하여 엔트리봇에게 데려다 줘.",
"jr_intro_15": "엔트리봇이 정~말 멀리 있잖아? 그래도 반복 블록을 사용하면 쉽게 엔트리봇에게 갈 수 있을 거야.",
"jr_whats_ur_name": "내가 받을 인증서에 적힐 이름은?",
"jr_down_cert": "인증서 받기",
"jr_popup_prefix_1": "좋아! 엔트리봇을 만났어!",
"jr_popup_prefix_2": "우왓! 엔트리봇을 만났어! <br> 하지만 엔트리봇을 만나기에는 더 적은 블록을 사용해서도 <br> 만날 수 있는데 다시 해볼래? ",
"jr_popup_prefix_3": "좋아! 책가방을 챙겼어!",
"jr_popup_prefix_4": "우왓! 책가방이 있는 곳으로 왔어! 하지만 더 적은 블록을 사용해도 책가방 쪽으로 갈 수 있는데 다시 해볼래?",
"jr_popup_suffix_1": "고마워~ 덕분에 책가방을 챙겨서 학교에 올 수 있었어~ 다음 학교 가는 길도 함께 가자~",
"jr_popup_suffix": "고마워~ 덕분에 엔트리봇이랑 재밌게 놀 수 있었어~ <br>다음에 또 엔트리봇이랑 놀자~",
"jr_fail_dont_go": "에궁, 그 곳으로는 갈 수 없어. 가야하는 길을 다시 알려줘~",
"jr_fail_dont_know": "어? 이제 어디로 가지? 어디로 가야하는 지 더 알려줘~",
"jr_fail_no_flower": "이런 그곳에는 꽃이 없어. 꽃이 있는 곳에서 사용해보자~",
"jr_fail_forgot_flower": "앗! 엔트리봇한테 줄 꽃을 깜빡했어. 꽃을 모아서 가자~",
"jr_fail_need_repeat": "반복 블록이 없잖아! 반복 블록을 사용해서 해보자~",
"jr_hint_1": "안녕! 난 쥬니라고 해! 내 친구 엔트리봇이 오른쪽에 있어! 날 친구에게 데려다 줘!",
"jr_hint_2": "엔트리봇이 내 왼쪽에 있어! 왼쪽으로 가보자.",
"jr_hint_3": "엔트리봇이 위쪽에 있어! 친구를 만날 수 있도록 도와줘!",
"jr_hint_4": "어서 엔트리봇을 만나러 가자! 아래쪽으로 가보는거야~",
"jr_hint_5": "우왓! 내 친구가 멀리 떨어져있어. 엔트리봇이 있는 곳까지 안내해줄래?",
"jr_hint_6": "잘못된 블록들 때문에 친구에게 가지 못하고 있어, 잘못된 블록을 지우고 엔트리봇에게 갈 수 있도록 해줘!",
"jr_hint_7": "예쁜 꽃이 있네. 꽃들을 모아 엔트리봇에게 가보자!",
"jr_hint_8": "가는 길에 꽃이 있어! 꽃을 모아 엔트리봇에게 가보자!",
"jr_hint_9": "엔트리봇이 멀리 떨어져 있네? 가장 빠른 길로 엔트리봇에게 가 보자.",
"jr_hint_10": "앗, 블록을 잘못 조립해서 제대로 갈 수가 없어. 가는 길에 꽃을 모두 모아 엔트리봇에게 가져다 줄 수 있도록 고쳐 보자.",
"jr_hint_11": "엔트리봇에게 가려면 오른쪽으로 다섯번이나 가야 하잖아? 반복하기 블록을 사용해서 좀 더 쉽게 가 보자.",
"jr_hint_12": "반복하기를 사용해서 엔트리봇을 만나러 가자.",
"jr_hint_13": "지금 블록으로는 친구에게 갈 수가 없어. 반복 횟수를 바꿔 엔트리봇에게 갈 수 있게 해줘.",
"jr_hint_14": "반복 블록을 사용하여 엔트리봇에게 데려다 줘.",
"jr_hint_15": "엔트리봇이 정~말 멀리 있잖아? 그래도 반복 블록을 사용하면 쉽게 엔트리봇에게 갈 수 있을 거야.",
"jr_certification": "인증서",
"jr_congrat": "축하드립니다!",
"jr_congrat_msg": "문제해결 과정을 성공적으로 마쳤습니다.",
"jr_share": "공유",
"go_see_friends": "친구들 만나러 가요~!",
"junior_naver": "쥬니어 네이버",
"junior_naver_contents_1": "의 멋진 곰 '쥬니'가 엔트리를 찾아 왔어요! ",
"junior_naver_contents_2": "그런데 쥬니는 길을 찾는 것이 아직 어렵나봐요.",
"junior_naver_contents_3": "쥬니가 엔트리봇을 만날 수 있도록 가야하는 방향을 알려주세요~",
"basic_content": "기초",
"jr_help": "도움말",
"help": "도움말",
"cparty_robot_intro_1": "안녕 나는 엔트리봇이야. 난 부품을 얻어서 내몸을 고쳐야해. 앞으로 가기 블록으로 부품을 얻게 도와줘!",
"cparty_robot_intro_2": "좋아! 앞에도 부품이 있는데 이번에는 잘못 가다간 감전되기 쉬울 것 같아. 뛰어넘기 블록을 써서 부품까지 데려다 줘.",
"cparty_robot_intro_3": "멋진걸! 저기에도 부품이 있어! 길이 조금 꼬여있지만 회전하기 블록을 쓰면 충분히 갈 수 있을 것 같아! ",
"cparty_robot_intro_4": "좋아 이제 움직이는 건 많이 편해졌어! 이번에는 회전과 뛰어넘기를 같이 써서 저 부품을 얻어보자! ",
"cparty_robot_intro_5": "덕분에 몸이 아주 좋아졌어! 이번에도 회전과 뛰어넘기를 같이 써야 할 거야! 어서 가보자!",
"cparty_robot_intro_6": "멋져! 이제 몸이 많이 좋아져서, 똑같은 일은 여러 번 해도 괜찮을 거야! 한 번 반복하기를 사용해서 가보자!",
"cparty_robot_intro_7": "어? 중간중간에 뛰어넘어야 할 곳이 있어! 그래도 반복하기로 충분히 갈 수 있을 거야!",
"cparty_robot_intro_8": "이런! 이번에는 부품이 저기 멀리 떨어져 있어. 그래도 반복하기를 사용하면 쉽게 갈수 있지! 얼른 도와줘!",
"cparty_robot_intro_9": "우와~ 이제 내 몸이 거의 다 고쳐진 것 같아! 이번에도 반복하기를 이용해서 부품을 구하러 가보자!",
"cparty_robot_intro_10": "대단해! 이제 마지막 부품만 있으면 내 몸을 완벽하게 고칠 수 있을 거야! 빨리 반복하기로 도와줘!",
"cparty_car_intro_1": "안녕! 나는 엔트리봇이라고 해, 자동차를 타고 계속 이동하려면 연료가 필요해! 앞에 있는 연료를 얻을 수 있게 도와줄래?",
"cparty_car_intro_2": "좋아! 그런데 이번에는 길이 직선이 아니네! 왼쪽/오른쪽 돌기 블록으로 잘 운전해서 함께 연료를 얻으러 가볼까?",
"cparty_car_intro_3": "잘했어! 이번 길 앞에는 과속방지턱이 있어. 빠르게 운전하면 사고가 날 수도 있을 것 같아, 천천히 가기 블록을 써서 연료를 얻으러 가보자!",
"cparty_car_intro_4": "야호, 이제 운전이 한결 편해졌어! 이 도로에서는 반복하기 블록을 사용해서 연료를 채우러 가볼까?",
"cparty_car_intro_5": "와 이번 도로는 조금 복잡해 보이지만, 앞으로 가기와 왼쪽/오른쪽 돌기 블록을 반복하면서 가보면 돼! 차분하게 연료까지 가보자",
"cparty_car_intro_6": "이번에는 도로에 장애물이 있어서 잘 돌아가야 될 것 같아, 만약에 장애물이 앞에 있다면 어떻게 해야 하는지 알려줘!",
"cparty_car_intro_7": "좋아 잘했어! 한번 더 만약에 블록을 사용해서 장애물을 피해 연료를 얻으러 가보자!",
"cparty_car_intro_8": "앗 아까 만났던 과속 방지턱이 두 개나 있네, 천천히 가기 블록을 이용해서 안전하게 연료를 채우러 가보자!",
"cparty_car_intro_9": "복잡해 보이는 길이지만, 앞에서 사용한 반복 블록과 만약에 블록을 잘 이용하면 충분히 운전할 수 있어, 연료를 채울 수 있도록 도와줘!",
"cparty_car_intro_10": "정말 멋져! 블록의 순서를 잘 나열해서 이제 마지막 남은 연료를 향해 힘을 내어 가보자!",
"cparty_car_popup_prefix_1": "좋아! 연료를 얻었어!",
"cparty_car_popup_prefix_2": "우왓! 연료를 얻었어! <br> 하지만 연료를 얻기에는 더 적은 블록을 사용해서도 <br> 얻을 수 있는데 다시 해볼래? ",
"cparty_car_popup_prefix_2_text": "우왓! 연료를 얻었어! <br> 하지만 연료를 얻기에는 더 적은 명령어 사용해서도 <br> 얻을 수 있는데 다시 해볼래? ",
"cparty_car_popup_suffix": "고마워~ 덕분에 모든 배터리를 얻을 수 있었어~ <br>다음에 또 나랑 놀자~",
"all_grade": "모든 학년",
"grade_e3_e4": "초등 3 ~ 4 학년 이상",
"grade_e5_e6": "초등 5 ~ 6 학년 이상",
"grade_m1_m3": "중등 1 ~ 3 학년 이상",
"entry_first_step": "엔트리 첫걸음",
"entry_monthly": "월간 엔트리",
"play_sw_2": "EBS 소프트웨어야 놀자2",
"entry_programming": "실전, 프로그래밍!",
"entry_recommanded_course": "엔트리 추천 코스",
"introduce_course": "누구나 쉽게 보고 따라하면서 재미있고 다양한 소프트웨어를 만들 수 있는 강의 코스를 소개합니다.",
"all_free": "*강의 동영상, 만들기, 교재 등이 모두 무료로 제공됩니다.",
"cparty_result_fail_1": "에궁, 그 곳으로는 갈 수 없어. 가야하는 길을 다시 알려줘~",
"cparty_result_fail_2": "에고고, 아파라. 뛰어 넘었어야 했던 곳이였어. 다시 해보자.",
"cparty_result_fail_3": "아이고 힘들다. 아래 블록들을 안 썼더니 너무 힘들어! 아래 블록들로 다시 만들어줘.",
"cparty_result_fail_4": "어? 이제 어디로 가지? 어디로 가야하는 지 더 알려줘~",
"cparty_result_fail_5": "앗! 과속방지턱에서는 속도를 줄여야해. 천천히 가기 블록을 사용해보자~",
"cparty_result_success_1": "좋아! 부품을 얻었어!",
"cparty_result_success_2": "우왓! 부품을 얻었어! <br>하지만 부품을 얻기에는 더 적은 블록을 사용해서도 얻을 수 있는데 다시 해볼래?",
"cparty_result_success_2_text": "우왓! 부품을 얻었어! <br>하지만 부품을 얻기에는 더 적은 명령어를 사용해서도 얻을 수 있는데 다시 해볼래?",
"cparty_result_success_3": "고마워~ 덕분에 내몸이 다 고쳐졌어~ 다음에 또 나랑 놀자~",
"cparty_insert_name": "이름을 입력하세요.",
"offline_file": "파일",
"offline_edit": "편집",
"offline_undo": "되돌리기",
"offline_redo": "다시실행",
"offline_quit": "종료",
"select_one": "선택해 주세요.",
"evaluate_challenge": "도전해본 미션의 난이도를 평가해 주세요.",
"very_easy": "매우쉬움",
"easy": "쉬움",
"normal": "보통",
"difficult": "어려움",
"very_difficult": "매우 어려움",
"save_dismiss": "바꾼 내용을 저장하지 않았습니다. 계속 하시겠습니까?",
"entry_info": "엔트리 정보",
"actual_size": "실제크기",
"zoom_in": "확대",
"zoom_out": "축소",
"cparty_jr_intro_1": "안녕! 난 엔트리봇 이라고 해! 학교가는 길에 책가방을 챙길 수 있도록 도와줘! ",
"cparty_jr_intro_2": "책가방이 내 왼쪽에 있어! 왼쪽으로 가보자.",
"cparty_jr_intro_3": "책가방이 위쪽에 있어! 책가방을 챙길 수 있도록 도와줘!",
"cparty_jr_intro_4": "어서 책가방을 챙기러 가자! 아래쪽으로 가보는 거야~",
"cparty_jr_intro_5": "우왓! 내 책가방이 멀리 떨어져 있어. 책가방이 있는 곳까지 안내해줄래?",
"cparty_jr_intro_6": "책가방이 있어! 얼른 가지러 가자~",
"cparty_jr_intro_7": "길 위에 내 연필이 있네. 연필들을 모아 책가방을 챙기러 가보자!",
"cparty_jr_intro_8": "학교 가는 길에 연필이 있어! 연필을 모아 책가방을 챙기러 가보자!",
"cparty_jr_intro_9": "내 책가방이 멀리 떨어져 있네? 가장 빠른 길로 책가방을 챙기러 가 보자.",
"cparty_jr_intro_10": "가는 길에 연필을 모두 모으고 책가방을 챙기자!",
"cparty_jr_intro_11": "책가방을 챙기러 가려면 오른쪽으로 다섯 번이나 가야 하잖아? 반복하기 블록을 사용해서 좀 더 쉽게 가 보자.",
"cparty_jr_intro_12": "반복하기를 사용해서 책가방을 챙기러 가자.",
"cparty_jr_intro_13": "지금 블록으로는 책가방이 있는 쪽으로 갈 수가 없어. 반복 횟수를 바꿔 책가방을 챙기러 갈 수 있게 해줘.",
"cparty_jr_intro_14": "반복 블록을 사용하여 책가방을 챙기러 가줘.",
"cparty_jr_intro_15": "학교가 정~말 멀리 있잖아? 그래도 반복 블록을 사용하면 쉽게 학교에 도착 할수 있을 거야.",
"make_new_project": "새로운 작품 만들기",
"open_old_project": "저장된 작품 불러오기",
"offline_download": "엔트리 다운로드",
"offline_release": "엔트리 오프라인 에디터 출시!",
"offline_description_1": "엔트리 오프라인 버전은",
"offline_description_2": "인터넷이 연결되어 있지 않아도 사용할 수 있습니다. ",
"offline_description_3": "지금 다운받아서 시작해보세요!",
"sw_week_2015": "2015 소프트웨어교육 체험 주간",
"cparty_desc": "두근두근 소프트웨어와의 첫만남",
"entry_offline_download": "엔트리 오프라인 \n다운로드",
"entry_download_detail": "다운로드\n바로가기",
"offline_desc_1": "엔트리 오프라인 버전은 인터넷이 연결되어 있지 않아도 사용할 수 있습니다.",
"offline_desc_2": "지금 다운받아서 시작해보세요!",
"download": "다운로드",
"version": "버전",
"file_size": "크기",
"update": "업데이트",
"use_range": "사용범위",
"offline_desc_free": "엔트리 오프라인은 기업과 개인 모두 제한 없이 무료로 사용하실 수 있습니다.",
"offline_required": "최소 요구사항",
"offline_required_detail": "디스크 여유 공간 500MB 이상, windows7 혹은 MAC OS 10.8 이상",
"offline_notice": "설치 전 참고사항",
"offline_notice_1": "1. 버전",
"offline_notice_1_1": "에서는 하드웨어 연결 프로그램이 내장되어 있습니다.",
"offline_notice_2": "2. 별도의 웹브라우져가 필요하지 않습니다.",
"offline_notice_3": "버전 별 변경 사항 안내",
"offline_notice_4": "버전별 다운로드",
"offline_notice_5": "버전별 자세한 변경 사항 보기",
"hardware_online_badge": "온라인",
"hardware_title": "엔트리 하드웨어 연결 프로그램 다운로드",
"hardware_desc": "엔트리 온라인 ‘작품 만들기’에서 하드웨어를 연결하여 엔트리를 이용하는 경우에만 별도로 설치가 필요합니다.",
"hardware_release": "하드웨어 연결 프로그램의 자세한 변경 사항은 아래 주소에서 확인 할 수 있습니다.",
"hardware_window_download": "Windows 다운로드",
"hardware_osx_download": "Mac 다운로드",
"cparty_jr_result_2": "고마워~ 덕분에 책가방을 챙겨서 학교에 올 수 있었어~ <br>다음 학교 가는 길도 함께 가자~ ",
"cparty_jr_result_3": "우왓! 학교까지 왔어! <br>하지만 더 적은 블록을 사용해도 학교에 갈 수 있는데<br> 다시 해볼래?",
"cparty_jr_result_4": "우왓! 책가방을 얻었어!<br> 하지만 더 적은 블록을 사용해도 책가방을 얻을 수 있는데 <br>다시 해볼래? ",
"lms_no_class": "아직 만든 학급이 없습니다.",
"lms_create_class": "학급을 만들어 주세요.",
"lms_add_class": "학급 만들기",
"lms_base_class": "기본",
"lms_delete_class": "삭제",
"lms_my_class": "나의 학급",
"lms_grade_1": "초등 1",
"lms_grade_2": "초등 2",
"lms_grade_3": "초등 3",
"lms_grade_4": "초등 4",
"lms_grade_5": "초등 5",
"lms_grade_6": "초등 6",
"lms_grade_7": "중등 1",
"lms_grade_8": "중등 2",
"lms_grade_9": "중등 3",
"lms_grade_10": "일반",
"lms_add_groupId_personal": "선생님께 받은 학급 아이디를 입력하여, 회원 정보에 추가하세요.",
"lms_add_groupId": "학급 아이디 추가하기",
"lms_add_group_account": "학급 계정 추가",
"lms_enter_group_info": "발급받은 학급 아이디와 비밀번호를 입력하세요.",
"lms_group_id": "학급 아이디",
"lms_group_pw": "비밀번호",
"lms_group_name": "소속 학급명",
"personal_pwd_alert": "올바른 비밀번호 양식을 입력해 주세요",
"personal_form_alert": "양식을 바르게 입력해 주세요",
"personal_form_alert_2": "모든 양식을 완성해 주세요",
"personal_no_pwd_alert": "비밀번호를 입력해 주세요",
"select_gender": "성별을 선택해 주세요",
"enter_group_id": "학급 아이디를 입력해 주세요",
"enter_group_pwd": "비밀번호를 입력해 주세요",
"info_added": "추가되었습니다",
"no_group_id": "학급 아이디가 존재하지 않습니다",
"no_group_pwd": "비밀번호가 일치하지 않습니다",
"lms_please_choice": "선택해 주세요.",
"group_lesson": "나의 학급 강의",
"lms_banner_add_group": "학급 기능 도입",
"lms_banner_entry_group": "엔트리 학급 만들기",
"lms_banner_desc_1": "우리 반 학생들을 엔트리에 등록하세요!",
"lms_banner_desc_2": "이제 보다 편리하고 쉽게 우리 반 학생들의 작품을 찾고,",
"lms_banner_desc_3": "성장하는 모습을 확인할 수 있습니다. ",
"lms_banner_download_manual": "메뉴얼 다운로드",
"lms_banner_detail": "자세히 보기",
"already_exist_email": "이미 존재하는 이메일 입니다.",
"remove_project": "작품을 삭제하시겠습니까?",
"study_lesson": "우리 반 학습하기",
"open_project": "작품 불러오기",
"make_group": "학급 만들기",
"project_share": "작품 공유하기",
"group_project_share": "학급 공유하기",
"group_discuss": "학급 글 나누기",
"my_profile": "마이 페이지",
"search_updated": "최신 작품",
"search_recent": "최근 조회수 높은 작품",
"search_complexity": "최근 제작에 공들인 작품",
"search_staffPicked": "스태프선정 작품 저장소",
"search_childCnt": "사본이 많은 작품",
"search_likeCnt": "최근 좋아요가 많은 작품",
"search_recentLikeCnt": "최근 좋아요가 많은 작품",
"gnb_share": "공유하기",
"gnb_community": "커뮤니티",
"lms_add_lectures": "강의 올리기",
"lms_add_course": "강의 모음 올리기",
"lms_add_homework": "과제 올리기",
"remove_lecture_confirm": "강의를 정말 삭제하시겠습니까?",
"popup_delete": "삭제하기",
"remove_course_confirm": "강의 모음을 정말 삭제하시겠습니까?",
"lms_no_lecture_teacher_1": "추가된 강의가 없습니다.",
"lms_no_lecture_teacher_2": "우리 반 강의를 추가해 주세요.",
"gnb_download": "다운로드",
"lms_no_lecture_student_1": "아직 올라온 강의가 없습니다.",
"lms_no_lecture_student_2": "선생님이 강의를 올려주시면,",
"lms_no_lecture_student_3": "학습 내용을 확인할 수 있습니다.",
"lms_no_class_teacher": "아직 만든 학급이 없습니다.",
"lms_no_course_teacher_1": "추가된 강의 모음이 없습니다.",
"lms_no_course_teacher_2": "우리 반 강의 모음을 추가해 주세요.",
"lms_no_course_student_1": "아직 올라온 강의 모음이 없습니다.",
"lms_no_course_student_2": "선생님이 강의 모음을 올려주시면,",
"lms_no_course_student_3": "학습 내용을 확인할 수 있습니다.",
"lms_no_hw_teacher_1": "추가된 과제가 없습니다.",
"lms_no_hw_teacher_2": "우리 반 과제를 추가해 주세요.",
"lms_no_hw_student_1": "아직 올라온 과제가 없습니다.",
"lms_no_hw_student_2": "선생님이 과제를 올려주시면,",
"lms_no_hw_student_3": "학습 내용을 확인할 수 있습니다.",
"modal_edit": "수정하기",
"modal_deadline": "마감일 설정",
"modal_hw_desc": "상세설명 (선택)",
"desc_optional": "",
"modal_create_hw": "과제 만들기",
"vol": "회차",
"hw_title": "과제명",
"hw_description": "내용",
"deadline": "마감일",
"do_homework": "과제하기",
"hw_progress": "진행 상태",
"hw_submit": "제출",
"view_list": "명단보기",
"view_desc": "내용보기",
"do_submit": "제출하기",
"popup_notice": "알림",
"no_selected_hw": "선택된 과제가 없습니다.",
"hw_delete_confirm": "선택한 과제를 정말 삭제하시겠습니까?",
"hw_submitter": "과제 제출자 명단",
"hw_student_desc_1": "* '제출하기'를 눌러 제출을 완료하기 전까지 얼마든지 수정이 가능합니다",
"hw_student_desc_2": "* 제출 기한이 지나면 과제를 제출할 수 없습니다.",
"popup_create_class": "학급 만들기",
"class_name": "학급 이름",
"image": "이미지",
"select_class_image": "학급 이미지를 선택해 주세요.",
"type_class_description": "학급 소개 입력",
"set_as_primary_group": "기본학급으로 지정",
"set_primary_group": "지정",
"not_primary_group": "지정안함",
"type_class_name": "학급 이름을 입력해주세요. ",
"type_class_description_long": "학급 소개를 입력해 주세요. 170자 이내",
"add_students": "학생 추가하기",
"invite_students": "학생 초대하기",
"invite_with_class": "1. 학급 코드로 초대하기",
"invite_code_expiration": "코드 만료시간",
"generate_code_button": "코드재발급",
"generate_code_desc": "학생의 학급 코드 입력 방법",
"generate_code_desc1": "엔트리 홈페이지에서 로그인을 해주세요.",
"generate_code_desc2": "메뉴바에서<나의 학급>을 선택해주세요.",
"generate_code_desc3": "<학급코드 입력하기>를 눌러 학급코드를 입력해주세요.",
"invite_with_url": "2. 학급 URL로 초대하기",
"copy_invite_url": "복사하기",
"download_as_pdf": "학급계정 PDF로 내려받기",
"download_as_excel": "학급계정 엑셀로 내려받기",
"temp_password": "임시 비밀번호 발급",
"step_name": "이름 입력",
"step_info": "정보 추가/수정",
"preview": "미리보기",
"type_name_enter": "학급에 추가할 학생의 이름을 입력하고 엔터를 치세요.",
"multiple_name_possible": "여러명의 이름 입력이 가능합니다.",
"id_auto_create": "학번은 별도로 수정하지 않으면 자동으로 생성됩니다.",
"student_id_desc_1": "학급 아이디는 별도의 입력없이 자동으로 생성됩니다.",
"student_id_desc_2": "단, 엔트리에 이미 가입된 학생을 학급에 추가한다면 학생의 엔트리 아이디를",
"student_id_desc_3": "입력해주세요. 해당 학생은 로그인 후, 학급 초대를 수락하면 됩니다.",
"student_number": "학번",
"temp_password_desc_1": "임시 비밀번호로 로그인 후,",
"temp_password_desc_2": "신규 비밀번호를 다시 설정할 수 있도록 안내해주세요.",
"temp_password_desc_3": "*한번 발급된 임시 비밀번호는 다시 볼 수 없습니다.",
"temp_password_demo": "로그인 불가능한 안내 용 예시 계정입니다.",
"temp_works": "작품 보기",
"student_delete_confirm": "학생을 정말 삭제하시겠습니까?",
"no_student_selected": "선택된 학생이 없습니다.",
"class_assignment": "학급 과제",
"class_list": "학급 목록",
"select_grade": "학년을 선택 하세요.",
"add_project": "작품 공유하기",
"no_project_display": "학생들이 전시한 작품이 없습니다.",
"plz_display_project": "나의 작품을 전시해 주세요.",
"refuse_confirm": "학급 초대를 정말 거절하시겠습니까?",
"select_class": "학급 선택",
"group_already_registered": "이미 가입된 학급입니다.",
"mon": "월",
"tue": "화",
"wed": "수",
"thu": "목",
"fri": "금",
"sat": "토",
"sun": "일",
"jan": "1월",
"feb": "2월",
"mar": "3월",
"apr": "4월",
"may": "5월",
"jun": "6월",
"jul": "7월",
"aug": "8월",
"sep": "9월",
"oct": "10월",
"nov": "11월",
"dec": "12월",
"plz_select_lecture": "강의를 선택해 주세요.",
"plz_set_deadline": "마감일을 설정해 주세요.",
"hide_entry": "엔트리 가리기",
"hide_others": "기타 가리기",
"show_all": "모두 보기",
"lecture_description": "선생님들이 직접 만드는 엔트리 학습 공간입니다. 강의에서 예시작품을 보고 작품을 만들며 배워 보세요.",
"curriculum_description": "학습 순서와 주제에 따라 여러 강의가 모아진 학습 공간입니다. 강의 모음의 순서에 맞춰 차근차근 배워보세요.",
"linebreak_off_desc_1": "글상자의 크기가 글자의 크기를 결정합니다.",
"linebreak_off_desc_2": "내용을 한 줄로만 작성할 수 있습니다.",
"linebreak_off_desc_3": "새로운 글자가 추가되면 글상자의 좌우 길이가 길어집니다.",
"linebreak_on_desc_1": "글상자의 크기가 글자가 쓰일 수 있는 영역을 결정합니다.",
"linebreak_on_desc_2": "내용 작성시 엔터키로 줄바꿈을 할 수 있습니다.",
"linebreak_on_desc_3": "내용을 작성하시거나 새로운 글자를 추가시 길이가 글상자의 가로 영역을 넘어서면 자동으로 줄이 바뀝니다.",
"not_supported_text": "해당 글씨체는 한자를 지원하지 않습니다.",
"entry_with": "함께 만드는 엔트리",
"ebs_season_1": "시즌 1 보러가기",
"ebs_season_2": "시즌 2 보러가기",
"hello_ebs": "헬로! EBS 소프트웨어",
"hello_ebs_desc": "<헬로! EBS 소프트웨어> 엔트리 버전의 양방향 서비스를 만나보세요! \n <헬로! EBS 소프트웨어>의 동영상 강의를 통해 \n 소프트웨어 코딩의 기본 개념을 배운 후 양방향 코딩 미션에 도전하세요!\n 방송에서는 볼 수 없었던 <대.소.동> 친구들의 \n 비하인드 스토리를 볼 수 있습니다!",
"hello_ebs_sub_1": "EBS 중학 엔트리 버전의 양방향 서비스를 ",
"hello_ebs_sub_2": "만나보세요! ",
"visang_edu_entry": "비상교육 엔트리 학습하기",
"cmass_edu_entry": "씨마스 엔트리 학습하기",
"chunjae_edu_entry": "천재교과서 엔트리 학습하기",
"partner": "파트너",
"project_term_popup_title": "작품 공개에 따른 엔트리 저작권 정책 동의",
"project_term_popup_description_1": "작품 공개를 위해",
"project_term_popup_description_2": "아래 정책을 확인해주세요.",
"project_term_popup_description_3": "",
"project_term_popup_description_4": "",
"project_term_agree_1_1": "내가 만든 작품과 그 소스코드의 공개를 동의합니다.",
"project_term_agree_2_1": "다른 사람이 나의 작품을 이용하는 것을 허락합니다.",
"project_term_agree_2_2": "( 복제 , 배포 , 공중송신 포함 )",
"project_term_agree_3_1": "다른 사람이 나의 작품을 수정하는 것을 허락합니다.",
"project_term_agree_3_2": "( 리믹스, 변형, 2차 제작물 작성 포함)",
"agree_all": "전체 동의",
"select_login": "로그인 선택",
"select": "선택하세요",
"with_login": "로그인 하고",
"without_login": "로그인 안하고",
"start_challenge": "미션 도전하기",
"start_challenge_2": "미션 도전하기",
"if_not_save_not_login": "* 로그인을 안하고 미션에 참여하시면 진행 상황이 저장되지 않습니다.",
"if_not_member_yet": "엔트리 회원이 아니라면?",
"join_entry": "엔트리 회원 가입하기",
"learned_computing": "기존에 소프트웨어 교육을 받아보셨나요?",
"cparty_index_description_1": "두근두근 소프트웨어와 첫 만남.",
"cparty_index_description_2": "소프트웨어랑 재미있게 놀다 보면 소프트웨어의 원리도 배우고, 생각하는 힘도 쑥쑥!",
"cparty_index_description_3": "엔트리를 통해 코딩 미션에 도전하고 인증서 받으세요.",
"cparty_index_description_4": "2015 Online Coding Party는",
"cparty_index_description_5": "SW교육 체험 주간",
"cparty_index_description_6": "의 일환으로써,",
"cparty_index_description_7": "초등컴퓨팅교사협회",
"cparty_index_description_8": "과 함께 만들어졌습니다.",
"cparty_index_description_9": "2016 Online Coding Party는",
"cparty_index_description_10": "2017 Online Coding Party는",
"cparty_index_description_11": "'SW교육을 준비하는 선생님들의 모임'",
"congratulation": "축하 드립니다!",
"warm_up": "체험",
"beginner": "입문",
"intermediate": "기본",
"advanced": "발전",
"applied": "응용",
"cert_msg_tail": "과정을 성공적으로 마쳤습니다.",
"cert_msg_head": "",
"maze_text_content_1": "안녕? 나는 엔트리봇이야. 지금 나는 공장에서 탈출을 해야 해! 탈출하기 위해서 먼저 몸을 고쳐야 할 것 같아. 앞에 있는 부품을 얻을 수 있게 도와줄래? move()",
"maze_text_content_2": "좋아 아주 잘했어! 덕분에 몸이 한결 가벼워졌어! 이번에도 부품상자까지 나를 이동시켜줘. 그런데 가는길에 장애물이 있어. 장애물 앞에서는 jump()",
"maze_text_content_3": "멋진걸! 저기에도 부품이 있어! 길이 조금 꼬여있지만 오른쪽, 왼쪽으로 회전할 수 있는 right(); left(); 명령어를 쓰면 충분히 갈 수 있을것 같아!",
"maze_text_content_4": "좋아 이제 움직이는 건 많이 편해졌어! 이번에는 지금까지 배운 명령어를 같이 써서 저 부품상자까지 가보자!",
"maze_text_content_5": "우와 부품이 두 개나 있잖아! 두 개 다 챙겨서 가자! 그러면 몸을 빨리 고칠 수 있을 것 같아!",
"maze_text_content_6": "이번이 마지막 부품들이야! 저것들만 있으면 내 몸을 다 고칠 수 있을 거야! 이번에도 도와줄 거지?",
"maze_text_content_7": "덕분에 몸이 아주 좋아졌어! 이제 똑같은 일을 여러 번 반복해도 무리는 없을 거야. 어? 그런데 앞에 있는 저 로봇은 뭐지? 뭔가 도움이 필요한 것 같아! 도와주자! for 명령어를 사용해서 저 친구한테 나를 데려다줘!",
"maze_text_content_8": "좋아! 덕분에 친구 로봇을 살릴 수 있었어! 하지만 앞에도 도움이 필요한 친구가 있네, 하지만 이번에는 벌집이 있으니까 조심해서 벌집에 안 닿게 뛰어넘어가자! 할 수 있겠지? 이번에도 for 명령어를 사용해서 친구가 있는곳까지 나를 이동시켜줘!",
"maze_text_content_9": "이번에는 for 명령어 대신 미션이 끝날때까지 같은 일을 반복하도록 하는 while 명령어를 사용해봐! 나를 친구에게 데려다주면 미션이 끝나!",
"maze_text_content_10": "이번에는 if 명령어가 나왔어! if와 while 명령어를 사용해서 내가 언제 어느 쪽으로 회전해야 하는지 알려줘!",
"maze_text_content_11": "좋아 아까 했던 것처럼 해볼까? 언제 왼쪽으로 돌아야 하는지 알려줄 수 있겠어?",
"maze_text_content_12": "이번에는 중간중간 벌집(bee)이 있네? 언제 뛰어넘어가야 할지 알려줄래?",
"maze_text_content_13": "여기저기 도움이 필요한 친구들이 많이 있네! 모두 가서 도와주자!",
"maze_text_content_14": "우와 이번에도 도와줘야 할 친구들이 많네. 먼저 조그마한 사각형을 돌도록 명령어를 만들고 만든 걸 반복해서 모든 친구를 구해보자.",
"maze_text_content_15": "오래 움직이다 보니 벌써 지쳐버렸어. 자주 쓰는 명령어를 function 명령어를 사용해서 함수로 만들어 놓았어! 함수를 사용하여 나를 배터리 까지 이동시켜줘!",
"maze_text_content_16": "좋아 멋진걸! 그럼 이번에는 함수에 들어갈 명령어들을 넣어서 나를 배터리까지 이동시켜줘!",
"maze_text_content_17": "좋아 이번에는 함수를 만들고, 함수를 사용해서 배터리를 얻을 수 있도록 도와줘! 함수를 만들때 jump();를 잘 섞어봐!",
"maze_text_content_18": "이번에는 길이 좀 복잡한걸? 그래도 언제 left();를 쓰고, 언제 right();를 쓰면 되는지 알려만 주면 배터리 까지 갈 수 있겠어!.",
"maze_text_content_19": "이번에는 함수가 미리 정해져 있어! 그런데 함수만 써서 배터리까지 가기 힘들것 같아. 함수와 다른 명령어들을 섞어 써서 배터리 까지 이동시켜줘!",
"maze_text_content_20": "좋아! 지금까지 정말 멋지게 잘 해줬어. 덕분에 이제 마지막 배터리만 채우면 앞으로는 충전이 필요 없을 거야. 함수를 이용해서 저 배터리를 얻고 내가 자유롭게 살 수 있도록 도와줘!",
"maze_content_1": "안녕 나는 엔트리봇이라고 해. 지금 나는 공장에서 탈출하려는데 먼저 몸을 고쳐야 할 것 같아. 앞에 있는 부품을 얻을 수 있게 도와줄래? 앞으로 가기 블록을 조립하고 시작을 눌러봐.",
"maze_content_2": "좋아 아주 잘했어! 덕분에 몸이 한결 가벼워졌어! 앞에도 부품이 있는데 이번에는 잘못 가다간 감전되기 쉬울 것 같아. 한 번 장애물 뛰어넘기 블록을 써서 부품까지 가볼까?",
"maze_content_3": "멋진걸! 저기에도 부품이 있어! 길이 조금 꼬여있지만 회전하기 블록을 쓰면 충분히 갈 수 있을 것 같아! 이번에도 도와줄 거지?",
"maze_content_4": "좋아 이제 움직이는 건 많이 편해졌어! 이번에는 회전과 뛰어넘기를 같이 써서 저 부품을 얻어보자!",
"maze_content_5": "우와 부품이 두 개나 있잖아! 두 개 다 챙겨서 가자! 그러면 몸을 빨리 고칠 수 있을 것 같아!",
"maze_content_6": "이번이 마지막 부품들이야! 저것들만 있으면 내 몸을 다 고칠 수 있을 거야! 이번에도 도와줄 거지?",
"maze_content_7": "덕분에 몸이 아주 좋아졌어! 이제 똑같은 일을 여러 번 반복해도 무리는 없을 거야. 어? 그런데 앞에 있는 저 로봇은 뭐지? 뭔가 도움이 필요한 것 같아! 도와주자! 얼른 반복하기의 숫자를 바꿔서 저 친구한테 나를 데려다줘!",
"maze_content_8": "좋아! 덕분에 친구 로봇을 살릴 수 있었어! 하지만 앞에도 도움이 필요한 친구가 있는 것 같아, 하지만 이번에는 벌집이 있으니까 조심해서 벌집에 안 닿게 뛰어넘어가자! 할 수 있겠지? 그럼 아까 했던 것처럼 반복을 써서 친구한테 갈 수 있게 해줄래?",
"maze_content_9": "이번에는 숫자만큼 반복하는 게 아니라 친구 로봇한테 갈 때까지 똑같은 일을 반복할 수 있어! 이번에도 친구를 구할 수 있도록 도와줘!",
"maze_content_10": "이번에는 만약 블록이란 게 있어! 만약 블록을 써서 언제 어느 쪽으로 돌아야 하는지 알려줘!",
"maze_content_11": "좋아 아까 했던 것처럼 해볼까? 언제 왼쪽으로 돌아야 하는지 알려줄 수 있겠어?",
"maze_content_12": "이번에는 중간중간 벌집이 있네? 언제 뛰어넘어가야 할지 알려줄래?",
"maze_content_13": "여기저기 도움이 필요한 친구들이 많이 있네! 모두 도와주자!",
"maze_content_14": "우와 이번에도 도와줘야 할 친구들이 많네. 먼저 조그마한 사각형을 돌도록 블록을 만들고 만든 걸 반복해서 모든 친구를 구해보자.",
"maze_content_15": "반복을 하도 많이 했더니 자주 쓰는 블록은 외울 수 있을 것 같아! 약속 블록은 지금 내가 외운 블록들이야! 일단은 오래 움직여서 지쳤으니까 배터리를 좀 채울 수 있게 약속 호출 블록을 써서 배터리를 채울 수 있게 해줘!",
"maze_content_16": "좋아 멋진걸! 그럼 이번에는 네가 자주 쓰일 블록을 나한테 가르쳐줘! 약속 정의 블록 안에 자주 쓰일 블록을 넣어보면 돼!",
"maze_content_17": "좋아 이번에도 그러면 약속을 이용해서 배터리를 얻을 수 있도록 도와줄 거지? 약속에 뛰어넘기를 잘 섞어봐!",
"maze_content_18": "이번에는 길이 좀 복잡한걸? 그래도 언제 왼쪽으로 돌고, 언제 오른쪽으로 돌면 되는지 알려만 주면 충전할 수 있을 것 같아.",
"maze_content_19": "이번에는 약속이 미리 정해져 있어! 그런데 바로 약속을 쓰기에는 안될 것 같아. 내가 갈 길을 보고 약속을 쓰면 배터리를 채울 수 있을 것 같은데 도와줄 거지?",
"maze_content_20": "좋아! 지금까지 정말 멋지게 잘 해줬어. 덕분에 이제 마지막 배터리만 채우면 앞으로는 충전이 필요 없을 거야. 그러니까 약속을 이용해서 저 배터리를 얻고 내가 자유롭게 살 수 있도록 도와줄래?",
"maze_content_21": "안녕? 나는 엔트리 봇이야. 지금 많은 친구들이 내 도움을 필요로 하고 있어. 반복하기를 이용해서 친구들을 도울수 있게 데려다 줘!",
"maze_content_22": "고마워! 이번에는 벌집을 뛰어넘어서 친구를 구하러 갈 수 있게 도와줘!",
"maze_content_23": "좋아! 이번에는 친구 로봇한테 갈 때까지 반복하기를 이용해서 친구를 도울 수 있게 도와줘!",
"maze_content_24": "안녕! 나는 엔트리 봇이야. 지금 나는 너무 오래 움직여서 배터리를 채워야 해. 약속 불러오기를 써서 배터리를 채울 수 있도록 도와줘!",
"maze_content_25": "멋져! 이번에는 여러 약속을 불러와서 배터리가 있는 곳까지 가보자!",
"maze_content_26": "좋아! 이제 약속할 블록을 나한테 가르쳐줘! 약속하기 블록 안에 자주 쓰일 블록을 넣으면 돼!",
"maze_content_27": "지금은 미리 약속이 정해져 있어. 그런데, 약속을 쓰기위해서는 내가 갈 방향을 보고 약속을 사용해야해. 도와줄거지?",
"maze_content_28": "드디어 마지막이야! 약속을 이용하여 마지막 배터리를 얻을 수 있게 도와줘!",
"ai_content_1": "안녕? 나는 엔트리봇이라고 해. 우주 탐사를 마치고 지구로 돌아가려는데 우주를 떠다니는 돌들 때문에 쉽지 않네. 내가 안전하게 집에 갈 수 있도록 도와줄래? 나의 우주선에는 나의 앞과 위, 아래에 무엇이 어느 정도의 거리에 있는지 알려주는 레이더가 있어 너의 판단을 도와줄 거야!",
"ai_content_2": "고마워! 덕분에 돌을 쉽게 피할 수 있었어. 그런데 이번엔 더 많은 돌이 있잖아? 블록들을 조립하여 돌들을 이리저리 잘 피해 보자!",
"ai_content_3": "좋았어! 안전하게 돌을 피했어. 그런데 앞을 봐! 아까보다 더 많은 돌이 있어. 하지만 걱정하지 마. 나에게 반복하기 블록이 있거든. 반복하기 블록 안에 움직이는 블록을 넣으면 목적지에 도착할 때까지 계속 움직일게!",
"ai_content_4": "대단해! 반복하기 블록을 쓰니 많은 돌을 피하기가 훨씬 수월한걸! 하지만 이렇게 일일이 조종하기는 피곤하다. 나에겐 레이더가 있으니 앞으로 무엇이 나올지 알 수 있어. 앞으로 계속 가다가 앞에 돌이 있으면 피할 수 있도록 해줄래?",
"ai_content_5": "잘했어! 여기까지 와서 아주 기뻐. 이번에는 레이더가 앞에 있는 물체까지의 거리를 말해줄 거야. 이 기능을 사용하여 돌을 피해 보자! 돌까지의 거리가 멀 때는 앞으로 계속 가다가, 거리가 가까워지면 피할 수 있도록 해줄래?",
"ai_content_6": "와~ 멋진걸? 레이더를 활용하여 돌을 잘 피해 나가고 있어! 이번에는 여러 개의 레이더를 사용하여 이리저리 돌들을 피해 나갈 수 있게 만들어줄래?",
"ai_content_7": "휴~ 지구에 점점 가까워지고 있어! 돌을 피할 때 기왕이면 더 안전한 길로 가고 싶어! 아마도 돌이 더 멀리 있는 쪽이 더 안전한 길이겠지? 위쪽 레이더와 아래쪽 레이더를 비교하여 더 안전한 쪽으로 움직이도록 해줄래?",
"ai_content_8": "좋아! 덕분에 무사히 비행하고 있어. 어? 그런데 저게 뭐지? 저건 내가 아주 위급한 상황에서 사용할 수 있는 특별한 에너지야! 이번에는 저 아이템들을 모두 모으며 움직이자!",
"ai_content_9": "훌륭해! 이제 지구까지 얼마 안 남았어. 그런데 앞을 보니 돌들로 길이 꽉 막혀서 지나갈 수가 없잖아? 하지만 걱정하지 마. 아이템을 획득해서 사용하면 앞에 있는 꽉 막힌 돌들을 없앨 수 있다고!",
"ai_content_10": "좋아! 드디어 저기 지구가 보여! 이럴 수가! 이제는 날아오는 돌들을 미리 볼 수가 없잖아? 돌들이 어떻게 날아올지 알지 못해도 지금까지처럼만 움직이면 잘 피할 수 있을 것 같아! 지구까지 가보는 거야!",
"maze_hints_title_1": "시작 방법",
"maze_hints_content_1": "엔트리봇은 어떻게 움직이나요?",
"maze_hints_detail_1": "1. 블록 꾸러미에서 원하는 블록을 꺼내어 “시작하기를 클릭했을 때” 블록과 연결해봐<br>2. 다 조립했으면, 시작을 눌러봐<br>3. 나는 네가 조립한 블록대로 위에서부터 순서대로 움직일게",
"maze_hints_title_2": "장애물 뛰어넘기",
"maze_hints_content_2": "장애물이 있으면 어떻게 해야하나요?",
"maze_hints_detail_2": "길을 가다보면 장애물을 만날 수 있어.<br>장애물이 앞에 있을 때에는 뛰어넘기 블록을 사용해야 해.",
"maze_hints_title_3": "반복 블록(1)",
"maze_hints_content_3": "(3)회 반복하기 블록은 어떻게 사용하나요?",
"maze_hints_detail_3": "같은 행동을 여러번 반복하려면 ~번 반복하기 블록을 사용해야 해.<br>반복하고 싶은 블록들을 ~번 반복하기 안에 넣고 반복 횟수를 입력하면 돼.",
"maze_hints_title_4": "반복 블록(2)",
"maze_hints_content_4": "~를 만날 때 까지 반복하기 블록은 어떻게 사용하나요?",
"maze_hints_detail_4": "~까지 반복하기'를 사용하면 같은 행동을 언제까지 반복할지를 정해줄 수 있어.<br>반복하고 싶은 블록들을 ~까지 반복하기안에 넣으면 돼.<br>그러면 {이미지}와 같은 타일 위에 있는 경우 반복이 멈추게 될 거야.",
"maze_hints_title_5": "만약 블록",
"maze_hints_content_5": "만약 ~라면 블록은 어떻게 동작하나요?",
"maze_hints_detail_5": "만약 앞에 {이미지}가 있다면' 블록을 사용하면 앞에 {이미지}가 있을 때 어떤 행동을 할 지 정해줄 수 있어.<br>앞에 {이미지}가 있을 때에만 블록 안의 블록들을 실행하고<br> 그렇지 않으면 실행하지 않게 되는 거야.",
"maze_hints_title_6": "반복 블록(3)",
"maze_hints_content_6": "모든 ~를 만날 때 까지 블록은 어떻게 동작하나요?",
"maze_hints_detail_6": "모든 {타일}에 한 번씩 도착할 때까지 그 안에 있는 블록을 반복해서 실행해.<br>모든 {타일}에 한 번씩 도착하면 반복이 멈추게 될 거야.",
"maze_hints_title_7": "특별 힌트",
"maze_hints_content_7": "너무 어려워요. 도와주세요.",
"maze_hints_detail_7": "내가 가야하는 길을 자세히 봐. 작은 사각형 4개가 보여?<br>작은 사각형을 도는 블록을 만들고, 반복하기를 사용해 보는것은 어때?",
"maze_hints_title_8": "약속",
"maze_hints_content_8": "약속하기/약속 불러오기 무엇인가요? 어떻게 사용하나요?",
"maze_hints_detail_8": "나를 움직이기 위해 자주 쓰는 블록들의 묶음을 '약속하기' 블록 아래에 조립하여 약속으로 만들 수 있어.<br>한번 만들어 놓은 약속은 '약속 불러오기' 블록을 사용하여 여러 번 꺼내 쓸 수 있다구.",
"ai_hints_title_1_1": "게임의 목표",
"ai_hints_content_1_1": "돌을 피해 오른쪽 행성까지 안전하게 이동할 수 있도록 도와주세요.",
"ai_hints_detail_1_1": "돌을 피해 오른쪽 행성까지 안전하게 이동할 수 있도록 도와주세요.",
"ai_hints_title_1_2": "시작 방법",
"ai_hints_content_1_2": "어떻게 시작할 수 있나요?",
"ai_hints_detail_1_2": "1. 블록 꾸러미에서 원하는 블록을 꺼내어 “시작하기를 클릭했을 때” 블록과 연결해봐<br>2. 다 조립했으면, 시작을 눌러봐<br>3. 나는 네가 조립한 블록대로 위에서부터 순서대로 움직일게",
"ai_hints_title_1_3": "움직이게 하기",
"ai_hints_content_1_3": "엔트리봇은 어떻게 움직이나요?",
"ai_hints_detail_1_3": "나는 위쪽으로 가거나 앞으로 가거나 아래쪽으로 갈 수 있어.<br>방향을 정할 때에는 돌이 없는 방향으로 안전하게 갈 수 있도록 해줘.<br>나를 화면 밖으로 내보내면 우주미아가 되어버리니 조심해!",
"ai_hints_title_2_1": "게임의 목표",
"ai_hints_content_2_1": "반복하기 블록으로 돌들을 피할 수 있도록 도와주세요.",
"ai_hints_detail_2_1": "반복하기 블록으로 돌들을 피할 수 있도록 도와주세요.",
"ai_hints_title_2_2": "반복 블록",
"ai_hints_content_2_2": "반복 블록은 무슨 블록인가요?",
"ai_hints_detail_2_2": "휴~ 이번에 가야 할 길은 너무 멀어서 하나씩 조립하기는 힘들겠는걸? 반복하기블록을 사용해봐.<br>똑같이 반복되는 블록들을 반복하기 블록으로 묶어주면 아주 긴 블록을 짧게 줄여줄 수 있어!",
"ai_hints_content_3_1": "만약 블록으로 돌을 피할 수 있도록 도와주세요.",
"ai_hints_title_3_2": "만약 블록(1)",
"ai_hints_content_3_2": "만약 ~라면 블록은 어떻게 동작하나요?",
"ai_hints_detail_3_2": "만약 앞에 ~가 있다면 / 아니면 블록을 사용하면 내 바로 앞에 돌이 있는지 없는지 확인해서 다르게 움직일 수 있어~<br>만약 내 바로 앞에 돌이 있다면 '만약' 아래에 있는 블록들을 실행하고 돌이 없으면 '아니면' 안에 있는 블록들을 실행할 거야.<br>내 바로 앞에 돌이 있을 때와 없을 때, 어떻게 움직일지 잘 결정해줘~",
"ai_hints_content_4_1": "레이더의 사용 방법을 익히고 돌을 피해보세요.",
"ai_hints_detail_4_1": "레이더의 사용 방법을 익히고 돌을 피해보세요.",
"ai_hints_title_4_2": "레이더(1)",
"ai_hints_content_4_2": "레이더란 무엇인가요? 어떻게 활용할 수 있나요?",
"ai_hints_detail_4_2": "레이더는 지금 내가 물체와 얼마나 떨어져 있는지 알려주는 기계야.<br>만약 바로 내 앞에 무엇인가 있다면 앞쪽 레이더는 '1'을 보여줘.<br>또, 레이더는 혼자 있을 때 보다 만약 <사실>이라면 / 아니면 블록과<br> 같이 쓰이면 아주 강력하게 쓸 수 있어.<br>예를 들어 내 앞에 물체와의 거리가 1보다 크다면 나는 안전하게 앞으로 갈 수 있겠지만, 아니라면 위나 아래쪽으로 피하도록 할 수 있지.",
"ai_hints_title_4_3": "만약 블록(2)",
"ai_hints_content_4_3": "만약 <사실>이라면 블록은 어떻게 사용하나요?",
"ai_hints_detail_4_3": "만약 <사실>이라면 / 아니면 블록은 <사실> 안에 있는 내용이 맞으면 '만약' 아래에 있는 블록을 실행하고, 아니면 '아니면' 아래에 있는 블록을 실행해.<br>어떤 상황에서 다르게 움직이고 싶은 지를 잘 생각해서 <사실> 안에 적절한 판단 조건을 만들어 넣어봐.<br>판단 조건을 만족해서 '만약' 아래에 있는 블록을 실행하고 나면 '아니면' 아래에 있는 블록들은 실행되지 않는다는 걸 기억해!",
"ai_hints_content_5_1": "레이더를 활용해 돌을 쉽게 피할 수 있도록 도와주세요.",
"ai_hints_detail_5_1": "레이더를 활용해 돌을 쉽게 피할 수 있도록 도와주세요.",
"ai_hints_title_5_2": "만약 블록(3)",
"ai_hints_content_5_2": "만약 블록이 겹쳐져 있으면 어떻게 동작하나요?",
"ai_hints_detail_5_2": "만약 ~ / 아니면 블록안에도 만약 ~ / 아니면 블록을 넣을 수 있어! 이렇게 되면 다양한 상황에서 내가 어떻게 행동해야 할지 정할 수 있어.<br>예를 들어 앞에 돌이 길을 막고 있을때와 없을때의 행동을 정한다음, 돌이 있을때의 상황에서도 상황에 따라 위쪽으로 갈지 아래쪽으로 갈지 선택 할 수 있어",
"ai_hints_title_6_1": "레이더(2)",
"ai_hints_content_6_1": "위쪽 레이더와 아래쪽 레이더의 값을 비교하고 싶을 땐 어떻게 하나요?",
"ai_hints_detail_6_1": "([위쪽]레이더) 블록은 위쪽 물체까지의 거리를 뜻하는 블록이야.<br>아래쪽과 위쪽 중에서 어느 쪽에 돌이 더 멀리 있는지 확인하기 위해서 쓸 수 있는 블록이지.<br>돌을 피해가는 길을 선택할 때에는 돌이 멀리 떨어져 있는 쪽으로 피하는게 앞으로 멀리 가는데 유리할거야~",
"ai_hints_content_7_1": "아이템을 향해 이동하여 돌을 피해보세요.",
"ai_hints_detail_7_1": "아이템을 향해 이동하여 돌을 피해보세요.",
"ai_hints_title_7_2": "물체 이름 확인",
"ai_hints_content_7_2": "앞으로 만날 물체의 이름을 확인해서 무엇을 할 수 있나요?",
"ai_hints_detail_7_2": "아이템을 얻기위해서는 아이템이 어디에 있는지 확인할 필요가 있어. <br>그럴 때 사용할 수 있는 블록이 [위쪽] 물체는 [아이템]인가? 블록이야.<br>이 블록을 활용하면 아이템이 어느 위치에 있는지 알 수 있고 아이템이 있는 방향으로 움직이도록 블록을 조립할 수 있어.",
"ai_hints_content_8_1": "아이템을 적절하게 사용해서 돌을 피해보세요.",
"ai_hints_detail_8_1": "아이템을 적절하게 사용해서 돌을 피해보세요.",
"ai_hints_title_8_2": "아이템",
"ai_hints_content_8_2": "아이템은 어떻게 얻고 사용하나요?",
"ai_hints_detail_8_2": "돌들을 이리저리 잘 피해 나가더라도 앞이 모두 돌들로 꽉 막혀있을 땐 빠져나갈 방법이 없겠지? 그럴 때에는 아이템사용 블럭을 사용해봐. <br>이 블록은 내 앞의 돌들을 모두 없애는 블록이야.<br>단, 아이템이 있어야지만 블록을 사용할 수 있고, 아이템은 이미지를 지나면 얻을 수 있어.",
"ai_hints_content_9_1": "지금까지 배운 것들을 모두 활용해서 최대한 멀리 가보세요.",
"ai_hints_detail_9_1": "지금까지 배운 것들을 모두 활용해서 최대한 멀리 가보세요.",
"ai_hints_title_9_2": "그리고",
"ai_hints_content_9_2": "그리고 블록은 어떻게 사용하나요?",
"ai_hints_detail_9_2": "그리고 블록에는 여러개의 조건을 넣을 수 있어, 넣은 모든 조건이 사실일때만 사실이 되어 만약 블록 안에 있는 블록이 실행되고, 하나라도 거짓이 있으면 거짓으로 인식해서 그 안에 있는 블록을 실행하지 않아",
"maze_text_goal_1": "move(); 명령어를 사용하여 부품 상자까지 나를 이동시켜줘!",
"maze_text_goal_2": "jump(); 명령어로 장애물을 피해 부품 상자까지 나를 이동시켜줘!",
"maze_text_goal_3": "left(); right(); 명령어로 부품상자까지 나를 이동시켜줘!",
"maze_text_goal_4": "여러가지 명령어를 사용하여 부품상자까지 나를 이동시켜줘!",
"maze_text_goal_5": "두 부품상자에 다 갈 수 있도록 나를 이동시켜줘!",
"maze_text_goal_6": "두 부품상자에 다 갈 수 있도록 나를 이동시켜줘!",
"maze_text_goal_7": "for 명령어를 사용하여 친구가 있는 곳 까지 나를 이동시켜줘!",
"maze_text_goal_8": "for 명령어를 사용하고, 장애물을 피해 친구가 있는 곳 까지 나를 이동시켜줘!",
"maze_text_goal_9": "while 명령어를 사용하여 친구가 있는 곳 까지 나를 이동시켜줘!",
"maze_text_goal_10": "if와 while 명령어를 사용하여 친구가 있는 곳 까지 나를 이동시켜줘!",
"maze_text_goal_11": "if와 while 명령어를 사용하여 친구가 있는 곳 까지 나를 이동시켜줘!",
"maze_text_goal_12": "if와 while 명령어를 사용하여 친구가 있는 곳 까지 나를 이동시켜줘!",
"maze_text_goal_13": "while과 for 명령어를 사용하여 모든 친구들을 만날 수 있도록 나를 이동시켜줘!",
"maze_text_goal_14": "while과 for 명령어를 사용하여 모든 친구들을 만날 수 있도록 나를 이동시켜줘!",
"maze_text_goal_15": "함수를 불러와서 배터리까지 나를 이동시켜줘!",
"maze_text_goal_16": "함수에 명령어를 넣고 함수를 불러와서 배터리까지 나를 이동시켜줘!",
"maze_text_goal_17": "함수에 명령어를 넣고 함수를 불러와서 배터리까지 나를 이동시켜줘!",
"maze_text_goal_18": "함수에 명령어를 넣고 함수를 불러와서 배터리까지 나를 이동시켜줘!",
"maze_text_goal_19": "함수에 명령어를 넣고 함수를 불러와서 배터리까지 나를 이동시켜줘!",
"maze_text_goal_20": "함수와 다른명령어들을 섞어 사용하여 배터리까지 나를 이동시켜줘!",
"maze_attack_range": "공격 가능 횟수",
"maze_attack": "공격",
"maze_attack_both_sides": "양 옆 공격",
"above_radar": "위쪽 레이더",
"above_radar_text_mode": "radar_up",
"bottom_radar": "아래쪽 레이더",
"bottom_radar_text_mode": "radar_down",
"front_radar": "앞쪽 레이더",
"front_radar_text_mode": "radar_right",
"above_object": "위쪽 물체",
"above_object_text_mode": "object_up",
"front_object": "앞쪽 물체",
"front_object_text_mode": "object_right",
"below_object": "아래쪽 물체",
"below_object_text_mode": "object_down",
"destination": "목적지",
"asteroids": "돌",
"item": "아이템",
"wall": "벽",
"destination_text_mode": "destination",
"asteroids_text_mode": "stone",
"item_text_mode": "item",
"wall_text_mode": "wall",
"buy_now": "구매바로가기",
"goals": "목표",
"instructions": "이용 안내",
"object_info": "오브젝트 정보",
"entry_basic_mission": "엔트리 기본 미션",
"entry_application_mission": "엔트리 응용 미션",
"maze_move_forward": "앞으로 한 칸 이동",
"maze_when_run": "시작하기를 클릭했을때",
"maze_turn_left": "왼쪽으로 회전",
"maze_turn_right": "오른쪽으로 회전",
"maze_repeat_times_1": "",
"maze_repeat_times_2": "번 반복하기",
"maze_repeat_until_1": "",
"maze_repeat_until_2": "을 만날때까지 반복",
"maze_call_function": "약속 불러오기",
"maze_function": "약속하기",
"maze_repeat_until_all_1": "모든",
"maze_repeat_until_all_2": "만날 때 까지 반복",
"command_guide": "명령어 도움말",
"ai_success_msg_1": "덕분에 무사히 지구에 도착할 수 있었어! 고마워!",
"ai_success_msg_2": "다행이야! 덕분에",
"ai_success_msg_3": "번 만큼 앞쪽으로 갈 수 있어서 지구에 구조 신호를 보냈어! 이제 지구에서 구조대가 올거야! 고마워!",
"ai_success_msg_4": "좋았어!",
"ai_cause_msg_1": "이런, 어떻게 움직여야 할 지 더 말해줄래?",
"ai_cause_msg_2": "아이쿠! 정말로 위험했어! 다시 도전해보자",
"ai_cause_msg_3": "우와왓! 가야할 길에서 벗어나버리면 우주 미아가 되버릴꺼야. 다시 도전해보자",
"ai_cause_msg_4": "너무 복잡해, 이 블록을 써서 움직여볼래?",
"ai_move_forward": "앞으로 가기",
"ai_move_above": "위쪽으로 가기",
"ai_move_under": "아래쪽으로 가기",
"ai_repeat_until_dest": "목적지에 도달 할 때까지 반복하기",
"ai_if_front_1": "만약 앞에",
"ai_if_front_2": "가 있다면",
"ai_else": "아니면",
"ai_if_1": "만약",
"ai_if_2": "이라면",
"ai_use_item": "아이템 사용",
"ai_radar": "레이더",
"ai_above": "위쪽",
"ai_front": "앞쪽",
"ai_under": "아래쪽",
"ai_object_is_1": "",
"ai_object_is_2": "물체는",
"challengeMission": "다른 미션 도전하기",
"nextMission": "다음 미션 도전하기",
"withTeacher": "함께 만든 선생님들",
"host": "주최",
"support": "후원",
"subjectivity": "주관",
"learnMore": " 더 배우고 싶어요",
"ai_object_is_3": "인가?",
"stage_is_not_available": "아직 진행할 수 없는 스테이지입니다. 순서대로 스테이지를 진행해 주세요.",
"progress_not_saved": "진행상황이 저장되지 않습니다.",
"want_refresh": "이 페이지를 새로고침 하시겠습니까?",
"monthly_entry_grade": "초등학교 3학년 ~ 중학교 3학년",
"monthly_entry_contents": "매월 발간되는 월간엔트리와 함께 소프트웨어 교육을 시작해 보세요! 차근차근 따라하며 쉽게 익힐 수 있도록 가볍게 구성되어있습니다. 기본, 응용 콘텐츠와 더 나아가기까지! 매월 업데이트되는 8개의 콘텐츠와 교재를 만나보세요~",
"monthly_entry_etc1": "*메인 페이지의 월간 엔트리 추천코스를 활용하면 더욱 쉽게 수업을 할 수 있습니다.",
"monthly_entry_etc2": "*월간엔트리는 학기 중에만 발간됩니다.",
"group_make_lecture_1": "내가 만든 강의가 없습니다.",
"group_make_lecture_2": "'만들기>오픈 강의 만들기'에서",
"group_make_lecture_3": "우리반 학습내용에 추가하고 싶은 강의를 만들어 주세요.",
"group_make_lecture_4": "강의 만들기",
"group_add_lecture_1": "관심 강의가 없습니다.",
"group_add_lecture_2": "'학습하기>오픈 강의> 강의'에서 우리반 학습내용에",
"group_add_lecture_3": "추가하고 싶은 강의를 관심강의로 등록해 주세요.",
"group_add_lecture_4": "강의 보기",
"group_make_course_1": "내가 만든 강의 모음이 없습니다.",
"group_make_course_2": "'만들기 > 오픈 강의 만들기> 강의 모음 만들기'에서",
"group_make_course_3": "학습내용에 추가하고 싶은 강의 모음을 만들어 주세요.",
"group_make_course_4": "강의 모음 만들기",
"group_add_course_1": "관심 강의 모음이 없습니다.",
"group_add_course_2": "'학습하기 > 오픈 강의 > 강의 모음'에서 우리반 학습내용에",
"group_add_course_3": "추가하고 싶은 강의 모음을 관심 강의 모음으로 등록해 주세요.",
"group_add_course_4": "강의 모음 보기",
"hw_main_title": "프로그램 다운로드",
"hw_desc_wrapper": "엔트리 하드웨어 연결 프로그램과 오프라인 버전이 \n서비스를 한층 더 강화해 업그레이드 되었습니다.\n업데이트 된 프로그램을 설치해주세요!",
"hw_downolad_link": "하드웨어 연결 \n프로그램 다운로드",
"save_as_image_all": "모든 코드 이미지로 저장하기",
"save_as_image": "이미지로 저장하기",
"maze_perfect_success": "멋져! 완벽하게 성공했어~",
"maze_success_many_block_1": "좋아",
"maze_fail_obstacle_remain": "친구들이 다치지 않도록 모든 <span class='bitmap_obstacle_spider'></span>을 없애줘.",
"maze_fail_item_remain": "샐리 공주를 구하기 위해 모든 미네랄을 모아 와줘.",
"maple_fail_item_remain": "음식을 다 먹지 못해서 힘이 나지 않아. 모든 음식을 다 먹을 수 있도록 도와줘.",
"maze_fail_not_found_destory_object": "아무것도 없는 곳에 능력을 낭비하면 안 돼!",
"maze_fail_not_found_destory_monster": "몬스터가 없는 곳에 공격을 하면 안 돼!",
"maple_fail_not_found_destory_monster": "공격 블록은 몬스터가 있을 때에만 해야 돼!",
"maze_fail_more_move": "목적지까지는 좀 더 움직여야 해!",
"maze_fail_wall_crash": "으앗! 거긴 갈 수 없는 곳이야!",
"maze_fail_contact_brick": "에구구… 부딪혔다!",
"maze_fail_contact_iron1": "으앗! 장애물에 부딪혀버렸어",
"maze_fail_contact_iron2": "으앗! 장애물이 떨어져서 다쳐버렸어. 장애물이 내려오기전에 움직여줘..",
"maze_fail_fall_hole": "앗, 함정에 빠져 버렸어...",
"maze_fail_hit_unit": "몬스터에게 당해버렸어! 위험한 몬스터를 물리치기 위해 하트 날리기 블록을 사용해줘!",
"maze_fail_hit_unit2": "윽, 몬스터에게 공격당했다! 두 칸 떨어진 곳에서 공격해줘!",
"maze_fail_hit_unit_by_mushroom": "주황버섯에게 당해버렸어!<br /><img src='/img/assets/maze/icon/mushroom.png' /> 공격하기 블록을 사용해서 나쁜 몬스터를 혼내줘!",
"maze_fail_hit_unit_by_lupin": "루팡에게 당해버렸어!<br /><img src='/img/assets/maze/icon/lupin.png' /> 공격하기 블록을 두 칸 떨어진 곳에서 사용해서 나쁜 몬스터를 혼내줘!",
"maze_fail_elnath_fail": "으앗! 나쁜 몬스터가 나를 공격했어.<br/>나쁜 몬스터가 나에게 다가오지 못하게 혼내줘!",
"maze_fail_pepe": "",
"maze_fail_yeti": "그 몬스터는 너무 강해서 <img width='24px' src='/img/assets/week/blocks/yeti.png'/> 공격하기 블록으로는 혼내줄 수 없어<br/><img width='24px' src='/img/assets/week/blocks/bigYeti.png'/> 공격하기 블록을 사용해보자.",
"maze_fail_peti": "그 몬스터에게 <img width='24px' src='/img/assets/week/blocks/bigYeti.png'/> 공격하기 블록을 사용하면,<br/>강한 몬스터인 <img width='24px' src='/img/assets/week/blocks/bigYeti.png'/>가 나왔을 때 혼내줄 수 없어<br/><img width='24px' src='/img/assets/week/blocks/yeti.png'/> 공격하기 블록을 사용해보자.",
"maze_fail_both_side": "양 옆 공격하기는 양쪽에 몬스터가 있을 때에만 사용해야 돼!",
"maze_wrong_attack_obstacle": "이 곳에서는 <img src='/img/assets/maze/icon/lupin.png' /> 공격하기 블록을 사용할 수 없어<br/>주황 버섯에게는 <img src='/img/assets/maze/icon/mushroom.png' /> 공격하기 블록을 사용해보자.",
"maze_fail_contact_spider": "거미집에 걸려 움직일 수가 없어...",
"maze_success_perfect": "멋져! 완벽하게 성공했어~",
"maze_success_block_excess": "좋아! %1개의 블록을 사용해서 성공했어! <br> 하지만, %2개의 블록만으로 성공하는 방법도 있어. 다시 도전해 보는 건 어때?",
"maze_success_not_essential": "좋아! %1개의 블록을 사용해서 성공했어! <br>하지만 이 블록을 사용하면 더 쉽게 해결할 수 있어. 다시 도전해 보는 건 어때?",
"maze_success_final_perfect_basic": "좋아! 샐리 공주가 어디 있는지 찾았어! 이제 샐리 공주를 구할 수 있을 거야!",
"maze_success_final_block_excess_basic": "좋아! 샐리 공주가 어디 있는지 찾았어! 이제 샐리 공주를 구할 수 있을 거야!%1개의 블록을 사용했는데, %2개의 블록만으로 성공하는 방법도 있어. 다시 해볼래?",
"maze_success_final_perfect_advanced": "샐리 공주가 있는 곳까지 도착했어! 이제 악당 메피스토를 물리치고 샐리를 구하면 돼!",
"maze_success_final_block_excess_advanced": "샐리 공주가 있는 곳까지 도착했어! 이제 악당 메피스토를 물리치고 샐리를 구하면 돼!%1개의 블록을 사용했는데, %2개의 블록만으로 성공하는 방법도 있어. 다시 해볼래?",
"maze_success_final_distance": "좋아! 드디어 우리가 샐리 공주를 무사히 구해냈어. 구할 수 있도록 도와줘서 정말 고마워!<br>%1칸 움직였는데 다시 한 번 다시해서 60칸까지 가볼래?",
"maze_success_final_perfect_ai": "좋았어! 드디어 우리가 샐리 공주를 무사히 구해냈어. 구할 수 있도록 도와줘서 정말 고마워!",
"maple_success_perfect": "좋아! 완벽하게 성공했어!!",
"maple_success_block_excess": "좋아! %1개의 블록을 사용해서 성공했어! <br> 그런데 %2개의 블록으로도 성공하는 방법이 있어. 다시 도전해 보는건 어때?",
"maple_success_not_essential": "좋아! %1개의 블록을 사용해서 성공했어! <br>그런데 이 블록을 사용하면 더 쉽게 해결할 수 있어. 다시 도전해 보는 건 어때?",
"maple_success_final_perfect_henesys": "멋져! 헤네시스 모험을 훌륭하게 해냈어.",
"maple_success_final_perfect_excess_henesys": "멋져! 헤네시스 모험을 잘 해냈어.<br />그런데 %2개의 블록으로도 성공하는 방법이 있어. 다시 도전해 보는 건 어때?",
"maple_success_final_not_essential_henesys": "멋져! 헤네시스 모험을 잘 해냈어.<br />그런데 이 블록을 사용하면 더 쉽게 해결할 수 있어. 다시 도전해 보는 건 어때?",
"maple_success_final_perfect_ellinia": "우와! 이 곳에서 정말 재밌는 모험을 했어!<br/>다음 모험도 같이 할거지? ",
"maple_success_final_perfect_excess_ellinia": "우와! 이 곳에서 정말 재밌는 모험을 했어!<br />그런데 %2개의 블록으로도 성공하는 방법이 있어. 다시 도전해 보는 건 어때?",
"maple_success_final_not_essential_ellinia": "우와! 이 곳에서 정말 재밌는 모험을 했어!<br />그런데 이 블록을 사용하면 더 쉽게 해결할 수 있어. 다시 도전해 보는 건 어때?",
"maple_fail_fall_hole": "으앗! 빠져버렸어!<br />뛰어넘기 블록을 사용해서 건너가보자.",
"maple_fail_ladder_fall_hole": "으앗! 빠져버렸어!<br />사다리 타기 블록을 사용해서 다른 길로 가보자.",
"maple_fail_more_move": "성공하려면 목적지까지 조금 더 움직여야 해!",
"maple_fail_not_found_ladder": "이런, 여기엔 탈 수 있는 사다리가 없어.<br />사다리 타기 블록은 사다리가 있는 곳에서만 사용 해야해.",
"maple_fail_not_found_meat": "이런, 여기엔 먹을 수 있는 음식이 없어!<br />음식 먹기 블록은 음식이 있는 곳에서만 사용 해야해.",
"maple_cert_input_title": "내가 받을 인증서에 적힐 이름은?",
"maze_distance1": "거리 1",
"maze_distance2": "거리 2",
"maze_distance3": "거리 3",
"ev3": "EV3",
"roduino": "로두이노",
"schoolkit": "스쿨키트",
"smartboard": "과학상자 코딩보드",
"codestar": "코드스타",
"cobl": "코블",
"block_coding": "블록코딩",
"python_coding": "엔트리파이선",
"dadublock": "다두블럭",
"dadublock_car": "다두블럭 자동차",
"blacksmith": "대장장이 보드",
"course_submit_homework": "과제 제출",
"course_done_study": "학습 완료",
"course_show_list": "목록",
"modi": "모디",
"chocopi": "초코파이보드",
"coconut": "코코넛",
"jdkit": "제이디키트",
"jdcode": "제이디코드",
"practical_course": "교과용 만들기",
"entry_scholarship_title": "엔트리 학술 자료",
"entry_scholarship_content": "엔트리는 대학/학회 등과 함께 다양한 연구를 진행하여 전문성을 강화해나가고 있습니다. 엔트리에서 제공하는 연구용 자료를 확인해보세요",
"entry_scholarship_content_sub": "*엔트리에서 제공하는 데이터는 연구 및 분석에 활용될 수 있도록 온라인코딩파티에 참여한 사용자들이 미션을 해결하는 일련의 과정을 로그 형태로 저장한 데이터 입니다.",
"entry_scholarship_download": "자료 다운로드",
"codingparty_2016_title": "2016 온라인 코딩파티",
"codingparty_2016_content": "미션에 참여한 사용자들의 블록 조립 순서, 성공/실패 유무가 학년, 성별 정보와 함께 제공됩니다.",
"scholarship_go_mission": "미션 확인하기",
"scholarship_guide": "자료 활용 방법",
"scholarship_see_guide": "가이드 보기",
"scholarship_guide_desc": "연구용 자료를 읽고 활용할 수 있는 방법이 담긴 개발 가이드 입니다. ",
"scholarship_example": "자료 활용 예시",
"scholarship_example_desc": "연구용 자료를 활용하여 발표된 논문을 확인 할 수 있습니다.",
"scholarship_see_example": "논문 다운로드",
"Altino": "알티노",
"private_project": "비공개 작품입니다.",
"learn_programming_entry_mission": "\"엔트리봇\"과 함께 미션 해결하기",
"learn_programming_line_mission": "\"라인레인저스\"와 샐리구하기",
"learn_programming_choseok": "\"마음의 소리\"의 조석과 게임 만들기",
"learn_programming_maple": "\"핑크빈\"과 함께 신나는 메이플 월드로!",
"learn_programming_level_novice": "기초",
"learn_programming_level_inter": "중급",
"learn_programming_level_advanced": "고급",
"line_look_for": "샐리를 찾아서",
"line_look_for_desc_1": "라인 레인저스의 힘을 모아 강력한 악당 메피스토를 물리치고 샐리를 구해주세요!",
"line_save": "샐리 구하기",
"line_save_desc_1": "메피스토 기지에 갇힌 샐리. 라인 레인저스가 장애물을 피해 샐리를 찾아갈 수 있도록 도와주세요!",
"line_escape": "샐리와 탈출하기",
"line_escape_desc_1": "폭파되고 있는 메피스토 기지에서 샐리와 라인 레인저스가 무사히 탈출할 수 있도록 도와주세요!",
"solve_choseok": "가위바위보 만들기",
"solve_choseok_desc_1": "만화 속 조석이 가위바위보 게임을 만들 수 있도록 도와주세요!",
"solve_henesys": "헤네시스",
"solve_ellinia": "엘리니아",
"solve_elnath": "엘나스",
"solve_henesys_desc_1": "마을을 모험하며, 배고픈 핑크빈이 음식을 배불리 먹을 수 있도록 도와주세요!",
"solve_ellinia_desc_1": "숲 속을 탐험하며, 나쁜 몬스터들을 혼내주고 친구 몬스터들을 구해주세요!",
"solve_elnath_desc_1": "나쁜 몬스터가 점령한 설산을 지나, 새로운 모험을 시작할 수 있는 또 다른 포털을 찾아 떠나보세요 !",
"save_modified_shape": "수정된 내용을 저장하시겠습니까?",
"attach_file": "첨부",
"enter_discuss_title": "제목을 입력해 주세요(40자 이하)",
"enter_discuss_title_alert": "제목을 입력해 주세요",
"discuss_upload_warn": "10MB이하의 파일을 올려주세요.",
"discuss_list": "목록보기",
"discuss_write_notice": "우리반 공지사항으로 지정하여 게시판 최상단에 노출합니다.",
"discuss_write_notice_open": "공지사항으로 지정하여 게시판 최상단에 노출합니다.",
"search_전체": "전체",
"search_게임": "게임",
"search_애니메이션": "애니메이션",
"search_미디어아트": "미디어 아트",
"search_피지컬": "피지컬",
"search_기타": "기타",
"discuss_write_textarea_placeholer": "내용을 입력해 주세요(10000자 이하)",
"maze_road": "길",
"account_deletion": "회원탈퇴",
"bug_report_too_many_request": "신고 내용이 전송 되고 있습니다. 잠시 후에 다시 시도해주시길 바랍니다.",
"pinkbean_index_title": "핑크빈과 함께 신나는 메이플 월드로!",
"pinkbean_index_content": "심심함을 참지 못한 핑크빈이 메이플 월드로 모험을 떠났습니다.<br />핑크빈과 함께 신나는 메이플 월드를 탐험하여 모험일지를 채워주세요.<br />각 단계를 통과하면서 자연스럽게 소프트웨어를 배워볼 수 있고, 미션을 마치면 인증서도 얻을 수 있습니다.",
"rangers_index_title": "라인 레인저스와 함께 샐리를 구하러 출동!",
"rangers_index_content": "악당 메피스토에게 납치된 샐리를 구하기 위해 라인 레인저스가 뭉쳤습니다.<br />소프트웨어의 원리를 통해 장애물을 극복하고, 샐리를 구출하는 영웅이 되어주세요.<br />각 단계를 통과하면서 자연스럽게 소프트웨어를 배워볼 수 있고, 미션을 마치면 인증서도<br />얻을 수 있습니다.",
"rangers_replay_button": "영상 다시보기",
"rangers_start_button": "미션 시작",
"bug_report_title": "버그 리포트",
"bug_report_content": "이용 시 발생하는 오류나 버그 신고 및 엔트리를 위한 좋은 제안을 해주세요."
};
Lang.Msgs = {
"monthly_intro_0": "<월간 엔트리>는 소프트웨어 교육에 익숙하지 않은 선생님들도 쉽고 재미있게 소프트웨어 교육을 하실 수 있도록 만들어진 ",
"monthly_intro_1": "SW교육 잡지입니다. 재미있는 학습만화와 함께 하는 SW 교육 컨텐츠를 만나보세요!",
"monthly_title_0": "강아지 산책시키기 / 선대칭 도형 그리기",
"monthly_title_1": "동영상의 원리 / 음악플레이어 만들기",
"monthly_title_2": "대한민국 지도 퍼즐 / 벚꽃 애니메이션",
"monthly_title_3": "마우스 졸졸, 물고기 떼 / 태양계 행성",
"monthly_title_4": "감자 캐기 / 딸기 우유의 진하기",
"monthly_description_0": "키보드 입력에 따라 움직이는 강아지와 신호와 좌표를 통해 도형을 그리는 작품을 만들어 봅시다.",
"monthly_description_1": "변수를 활용하여 사진 영상 작품과 음악 플레이어 작품을 만들어 봅시다.",
"monthly_description_2": "~인 동안 반복하기를 이용한 퍼즐 게임과 복제본, 무작위 수를 이용한 애니메이션 작품을 만들어 봅시다.",
"monthly_description_3": "계속 반복하기 블록과 수학 연산 블록을 활용하여 물고기 미디어 아트 작품과 태양계를 만들어 봅시다.",
"monthly_description_4": "신호와 변수, 수학 연산 블록을 활용하여 감자 캐기 작품과 딸기 우유 만들기 작품을 만들어 봅시다.",
"save_canvas_alert": "저장 중입니다.",
"feedback_too_many_post": "신고하신 내용이 전송되고 있습니다. 10초 뒤에 다시 시도해주세요.",
"usable_object": "사용가능 오브젝트",
"shared_varaible": "공유 변수",
"invalid_url": "영상 주소를 다시 확인해 주세요.",
"auth_only": "인증된 사용자만 이용이 가능합니다.",
"runtime_error": "실행 오류",
"to_be_continue": "준비 중입니다.",
"warn": "경고",
"error_occured": "다시 한번 시도해 주세요. 만약 같은 문제가 다시 발생 하면 '제안 및 건의' 게시판에 문의 바랍니다. ",
"error_forbidden": "저장할 수 있는 권한이 없습니다. 만약 같은 문제가 다시 발생 하면 '제안 및 건의' 게시판에 문의 바랍니다. ",
"list_can_not_space": "리스트의 이름은 빈 칸이 될 수 없습니다.",
"sign_can_not_space": "신호의 이름은 빈 칸이 될 수 없습니다.",
"variable_can_not_space": "변수의 이름은 빈 칸이 될 수 없습니다.",
"training_top_title": "연수 프로그램",
"training_top_desc": "엔트리 연수 지원 프로그램을 안내해 드립니다.",
"training_main_title01": "선생님을 위한 강사 연결 프로그램",
"training_target01": "교육 대상 l 선생님",
"training_sub_title01": "“우리 교실에 SW날개를 달자”",
"training_desc01": "소프트웨어(SW) 교원 연수가 필요한 학교인가요?\nSW 교원 연수가 필요한 학교에 SW교육 전문 선생님(고투티처) 또는 전문 강사를 연결해드립니다.",
"training_etc_ment01": "* 강의비 등 연수 비용은 학교에서 지원해주셔야합니다.",
"training_main_title02": "소프트웨어(SW) 선도학교로 찾아가는 교원연수",
"training_target02": "교육 대상 l SW 선도, 연구학교",
"training_sub_title02": "“찾아가, 나누고, 이어가다”",
"training_desc02": "SW 교원 연수를 신청한 선도학교를 무작위로 추첨하여 상반기(4,5,6월)와\n하반기(9,10,11월)에 각 지역의 SW교육 전문 선생님(고투티처)께서 알차고\n재미있는 SW 기초 연수 진행 및 풍부한 교육사례를 공유하기 위해 찾아갑니다.",
"training_etc_ment02": "",
"training_main_title03": "학부모와 학생을 위한 연결 프로그램",
"training_target03": "교육 대상 l 학부모, 학생",
"training_sub_title03": "“SW를 더 가까이 만나는 시간”",
"training_desc03": "학부모와 학생들을 대상으로 소프트웨어(SW) 연수가 필요한 학교에 각 지역의 SW교육 전문 선생님(고투티처) 또는 전문 강사를 연결해드립니다.",
"training_etc_ment03": "* 강의비 등 연수 비용은 학교에서 지원해주셔야합니다.",
"training_apply": "신청하기",
"training_ready": "준비중입니다.",
"new_version_title": "최신 버전 설치 안내",
"new_version_text1": "하드웨어 연결 프로그램이",
"new_version_text2": "<strong>최신 버전</strong>이 아닙니다.",
"new_version_text3": "서비스를 한층 더 강화해 업데이트 된",
"new_version_text4": "최신 버전의 연결 프로그램을 설치해 주세요.",
"new_version_download": "최신 버전 다운로드<span class='download_icon'></span>",
"not_install_title": "미설치 안내",
"hw_download_text1": "하드웨어 연결을 위해서",
"hw_download_text2": "<strong>하드웨어 연결 프로그램</strong>을 설치해 주세요.",
"hw_download_text3": "하드웨어 연결 프로그램이 설치되어 있지 않습니다.",
"hw_download_text4": "최신 버전의 연결 프로그램을 설치해 주세요.",
"hw_download_btn": "연결 프로그램 다운로드<span class='download_icon'></span>",
"not_support_browser": "지원하지 않는 브라우저입니다.",
"quiz_complete1": "퀴즈 풀기 완료!",
"quiz_complete2": "총 {0}문제 중에 {1}문제를 맞췄습니다.",
"quiz_incorrect": "이런 다시 한 번 생각해보자",
"quiz_correct": "정답이야!",
"hw_connection_success": "하드웨어 연결 성공",
"hw_connection_success_desc": "하드웨어 아이콘을 더블클릭하면, 센서값만 확인할 수 있습니다.",
"hw_connection_success_desc2": "하드웨어와 정상적으로 연결되었습니다.",
"ie_page_title": "이 브라우저는<br/>지원하지 않습니다.",
"ie_page_desc": "엔트리는 인터넷 익스플로어 10 버전 이상 또는 크롬 브라우저에서 이용하실 수 있습니다.<br/>윈도우 업데이트를 진행하시거나, 크롬 브라우저를 설치해주세요.<br/>엔트리 오프라인 버전은 인터넷이 연결되어 있지 않아도 사용할 수 있습니다. 지금 다운받아서 시작해보세요!",
"ie_page_chrome_download": "크롬 브라우저<br/>다운로드",
"ie_page_windows_update": "윈도우 최신버전<br>업데이트",
"ie_page_offline_32bit_download": "엔트리 오프라인 32bit<br>다운로드",
"ie_page_offline_64bit_download": "엔트리 오프라인 64bit<br>다운로드",
"ie_page_offline_mac_download": "엔트리 오프라인<br>다운로드",
"cancel_deletion_your_account": "$1님의<br />회원탈퇴 신청을 취소하시겠습니까?",
"account_deletion_canceled_complete": "회원탈퇴 신청이 취소되었습니다.",
"journal_henesys_no1_title": "헤네시스 첫번째 모험일지",
"journal_henesys_no2_title": "헤네시스 두번째 모험일지",
"journal_henesys_no1_content": "헤네시스에서 첫 번째 모험 일지야. 오늘 헤네시스 터줏대감이라는 대장장이 집에 가려고 점프를 하다가 떨어질 뻔했어. 그 아저씨는 집 마당 앞에 왜 그렇게 구멍을 크게 만들어 놓는 거지? 나같이 대단한 몬스터가 아니고서야 이런 구멍을 뛰어넘을 수 있는 애들은 없을 거 같은데! 여하튼 정보도 얻었으니 아저씨가 추천한 맛 집으로 가볼까?",
"journal_henesys_no2_content": "진짜 과식했다. 특히 그 식당의 고기는 정말 맛있었어. 어떻게 그렇게 부드럽게 만들었을까! 그렇지만 그 옆집 빵은 별로였어. 보니까 주방장 아저씨가 요리 수련을 한답시고 맨날 놀러 다니는 거 같더라고. 그럴 시간에 빵 하나라도 더 만들어 보는 게 나을 텐데. 후 이제 배도 채웠으니 본격적인 모험을 시작해볼까!",
"journal_ellinia_no1_title": "엘리니아 첫번째 모험일지",
"journal_ellinia_no2_title": "엘리니아 두번째 모험일지",
"journal_ellinia_no1_content": "휴, 모르고 주황버섯을 깔고 앉아버렸지 뭐야. 걔네가 화날만 하지.. 그래도 그렇게 나에게 다같이 몰려들어 공격할 건 뭐람! 정말 무서운 놈들이야. 슬라임들이 힘들어 할만했어. 하지만 이 핑크빈님께서 다 혼내주었으니깐 걱정 없어. 이제 슬라임들이 친구가 되어주었으니 더욱 신나게 멋진 숲으로 모험을 이어가볼까.",
"journal_ellinia_no2_content": "모험하면서 만난 친구 로얄패어리가 요즘 엘나스에 흉흉한 소문이 돈다고 했는데, 그게 뭘까? 오늘밤에 친구들이랑 집에서 놀기로 했는데 그때 물어봐야겠어. 완전 궁금한걸! 그런데 뭘 입고 가야하나.. 살이 너무쪄서 입을만 한게 없을거같은데.. 뭐 나는 늘 귀여우니까 어떤걸 입고가도 다들 좋아해줄거라구!",
"journal_elnath_no1_title": "엘나스 첫번째 모험일지",
"journal_elnath_no2_title": "엘나스 두번째 모험일지",
"journal_elnath_no1_content": "세상에! 이게 말로만 듣던 눈인가? 내가 사는 마을은 항상 봄이여서 눈은 처음 봤어. 몬스터들을 혼내주느라 제대로 구경을 못했는데 지금보니 온세상이 이렇게나 하얗고 차갑다니 놀라워! 푹신 푹신하고 반짝거리는게 맛있어 보였는데 맛은 특별히 없네. 그런데 왠지 달콤한 초코 시럽을 뿌려먹으면 맛있을 거 같아. 조금 들고가고 싶은데 방법이 없다니 너무 아쉬운걸.",
"journal_elnath_no2_content": "에퉤퉤, 실수로 석탄가루를 먹어버렸네. 나쁜 몬스터들! 도망가려면 조용히 도망갈 것이지 석탄을 잔뜩 뿌리면서 도망가버렸어. 덕분에 내 윤기나고 포송포송한 핑크색 피부가 갈수록 더러워지고 있잖아. 어서 여기를 나가서 깨끗하게 목욕부터 해야겠어. 아무리 모험이 좋다지만 이렇게 더럽게 돌아다니는 건 이 핑크빈님 자존심이 허락하지 않지.",
"bug_report_alert_msg": "소중한 의견 감사합니다.",
"version_update_msg1": "엔트리 오프라인 새 버전(%1)을 사용하실 수 있습니다.",
"version_update_msg2": "엔트리 하드웨어 새 버전(%1)을 사용하실 수 있습니다.",
"version_update_msg3": "지금 업데이트 하시겠습니까?"
};
Lang.Users = {
"auth_failed": "인증에 실패하였습니다",
"birth_year": "태어난 해",
"birth_year_before_1990": "1990년 이전",
"edit_personal": "정보수정",
"email": "이메일",
"email_desc": "새 소식이나 정보를 받을 수 있 이메일 주소",
"email_inuse": "이미 등록된 메일주소 입니다",
"email_match": "이메일 주소를 올바르게 입력해 주세요",
"forgot_password": "암호를 잊으셨습니까?",
"job": "직업",
"language": "언어",
"name": "이름",
"name_desc": "사이트내에서 표현될 이름 또는 별명",
"name_not_empty": "이름을 반드시 입력하세요",
"password": "암호",
"password_desc": "최소 4자이상 영문자와 숫자, 특수문자",
"password_invalid": "암호가 틀렸습니다",
"password_long": "암호는 4~20자 사이의 영문자와 숫자, 특수문자로 입력해 주세요",
"password_required": "암호는 필수입력 항목입니다",
"project_list": "작품 조회",
"regist": "가입 완료",
"rememberme": "자동 로그인",
"repeat_password": "암호 확인",
"repeat_password_desc": "암호를 한번더 입력해 주세요",
"repeat_password_not_match": "암호가 일치하지 않습니다",
"sex": "성별",
"signup_required_for_save": "저장을 하려면 로그인이 필요합니다.",
"username": "아이디",
"username_desc": "로그인시 사용할 아이디",
"username_inuse": "이미 사용중인 아이디 입니다",
"username_long": "아이디는 4~20자 사이의 영문자로 입력해 주세요",
"username_unknown": "존재하지 않는 사용자 입니다",
"already_verified": "이미 인증된 메일 주소입니다.",
"email_address_unavailable": "유효하지 않은 인증 메일입니다.",
"verification_complete": "이메일 주소가 인증되었습니다."
};
Lang.Workspace = {
"SaveWithPicture": "저장되지 않은 그림이 있습니다. 저장하시겠습니까?",
"RecursiveCallWarningTitle": "함수 호출 제한",
"RecursiveCallWarningContent": "한 번에 너무 많은 함수가 호출되었습니다. 함수의 호출 횟수를 줄여주세요.",
"SelectShape": "이동",
"SelectCut": "자르기",
"Pencil": "펜",
"Line": "직선",
"Rectangle": "사각형",
"Ellipse": "원",
"Text": "글상자",
"Fill": "채우기",
"Eraser": "지우기",
"Magnifier": "확대/축소",
"block_helper": "블록 도움말",
"new_project": "새 프로젝트",
"add_object": "오브젝트 추가하기",
"all": "전체",
"animal": "동물",
"arduino_entry": "아두이노 연결 프로그램",
"arduino_program": "아두이노 프로그램",
"arduino_sample": "엔트리 연결블록",
"arduino_driver": "아두이노 드라이버",
"cannot_add_object": "실행중에는 오브젝트를 추가할 수 없습니다.",
"cannot_add_picture": "실행중에는 모양을 추가할 수 없습니다.",
"cannot_add_sound": "실행중에는 소리를 추가할 수 없습니다.",
"cannot_edit_click_to_stop": "실행중에는 수정할 수 없습니다.\n클릭하여 정지하기.",
"cannot_open_private_project": "비공개 작품은 불러올 수 없습니다. 홈으로 이동합니다.",
"cannot_save_running_project": "실행 중에는 저장할 수 없습니다.",
"character_gen": "캐릭터 만들기",
"check_runtime_error": "빨간색으로 표시된 블록을 확인해 주세요.",
"context_download": "PC에 저장",
"context_duplicate": "복제",
"context_remove": "삭제",
"context_rename": "이름 수정",
"coordinate": "좌표",
"create_function": "함수 만들기",
"direction": "이동 방향",
"drawing": "직접 그리기",
"enter_list_name": "새로운 리스트의 이름을 입력하세요(10글자 이하)",
"enter_name": "새로운 이름을 입력하세요",
"enter_new_message": "새로운 신호의 이름을 입력하세요.",
"enter_variable_name": "새로운 변수의 이름을 입력하세요(10글자 이하)",
"family": "엔트리봇 가족",
"fantasy": "판타지/기타",
"file_new": "새로 만들기",
"file_open": "온라인 작품 불러오기",
"file_upload": "오프라인 작품 불러오기",
"file_upload_login_check_msg": "오프라인 작품을 불러오기 위해서는 로그인을 해야 합니다.",
"file_save": "저장하기",
"file_save_as": "복사본으로 저장하기",
"file_save_download": "내 컴퓨터에 저장하기",
"func": "함수",
"function_create": "함수 만들기",
"function_add": "함수 추가",
"interface": "인터페이스",
"landscape": "배경",
"list": "리스트",
"list_add_calcel": "리스트 추가 취소",
"list_add_calcel_msg": "리스트 추가를 취소하였습니다.",
"list_add_fail": "리스트 추가 실패",
"list_add_fail_msg1": "같은 이름의 리스트가 이미 존재합니다.",
"list_add_fail_msg2": "리스트의 이름이 적절하지 않습니다.",
"list_add_ok": "리스트 추가 완료",
"list_add_ok_msg": "을(를) 추가하였습니다.",
"list_create": "리스트 추가",
"list_dup": "같은 이름의 리스트가 이미 존재합니다.",
"list_newname": "새로운 이름",
"list_remove": "리스트 삭제",
"list_rename": "리스트 이름 변경",
"list_rename_failed": "리스트 이름 변경 실패",
"list_rename_ok": "리스트의 이름이 성공적으로 변경 되었습니다.",
"list_too_long": "리스트의 이름이 너무 깁니다.",
"message": "신호",
"message_add_cancel": "신호 추가 취소",
"message_add_cancel_msg": "신호 추가를 취소하였습니다.",
"message_add_fail": "신호 추가 실패",
"message_add_fail_msg": "같은 이름의 신호가 이미 존재합니다.",
"message_add_ok": "신호 추가 완료",
"message_add_ok_msg": "을(를) 추가하였습니다.",
"message_create": "신호 추가",
"message_dup": "같은 이름의 신호가 이미 존재합니다.",
"message_remove": "신호 삭제",
"message_remove_canceled": "신호 삭제를 취소하였습니다.",
"message_rename": "신호 이름을 변경하였습니다.",
"message_rename_failed": "신호 이름 변경에 실패하였습니다. ",
"message_rename_ok": "신호의 이름이 성공적으로 변경 되었습니다.",
"message_too_long": "신호의 이름이 너무 깁니다.",
"no_message_to_remove": "삭제할 신호가 없습니다",
"no_use": "사용되지 않음",
"no_variable_to_remove": "삭제할 변수가 없습니다.",
"no_variable_to_rename": "변경할 변수가 없습니다.",
"object_not_found": "블록에서 지정한 오브젝트가 존재하지 않습니다.",
"object_not_found_for_paste": "붙여넣기 할 오브젝트가 없습니다.",
"people": "일반 사람들",
"picture_add": "모양 추가",
"plant": "식물",
"project": "작품",
"project_copied": "의 사본",
"PROJECTDEFAULTNAME": ['멋진', '재밌는', '착한', '큰', '대단한', '잘생긴', '행운의'],
"remove_object": "오브젝트 삭제",
"remove_object_msg": "(이)가 삭제되었습니다.",
"removed_msg": "(이)가 성공적으로 삭제 되었습니다.",
"rotate_method": "회전방식",
"rotation": "방향",
"run": "시작하기",
"saved": "저장완료",
"saved_msg": "(이)가 저장되었습니다.",
"save_failed": "저장시 문제가 발생하였습니다. 다시 시도해 주세요.",
"select_library": "오브젝트 선택",
"select_sprite": "적용할 스프라이트를 하나 이상 선택하세요.",
"shape_remove_fail": "모양 삭제 실패",
"shape_remove_fail_msg": "적어도 하나 이상의 모양이 존재하여야 합니다.",
"shape_remove_ok": "모양이 삭제 되었습니다. ",
"shape_remove_ok_msg": "이(가) 삭제 되었습니다.",
"sound_add": "소리 추가",
"sound_remove_fail": "소리 삭제 실패",
"sound_remove_ok": "소리 삭제 완료",
"sound_remove_ok_msg": "이(가) 삭제 되었습니다.",
"stop": "정지하기",
"pause": "일시정지",
"restart": "다시시작",
"speed": "속도 조절하기",
"tab_attribute": "속성",
"tab_code": "블록",
"tab_picture": "모양",
"tab_sound": "소리",
"tab_text": "글상자",
"textbox": "글상자",
"textbox_edit": "글상자 편집",
"textbox_input": "글상자의 내용을 입력해주세요.",
"things": "물건",
"textcoding_tooltip1": "블록코딩과 엔트리파이선을<br/>선택하여 자유롭게<br/>코딩을 해볼 수 있습니다.",
"textcoding_tooltip2": "실제 개발 환경과 동일하게<br/>엔트리파이선 모드의 실행 결과를<br/>확인할 수 있습니다.",
"textcoding_tooltip3": "엔트리파이선에 대한<br/>기본사항이 안내되어 있습니다.<br/><엔트리파이선 이용안내>를 확인해 주세요!",
"upload": "파일 업로드",
"upload_addfile": "파일추가",
"variable": "변수",
"variable_add_calcel": "변수 추가 취소",
"variable_add_calcel_msg": "변수 추가를 취소하였습니다.",
"variable_add_fail": "변수 추가 실패",
"variable_add_fail_msg1": "같은 이름의 변수가 이미 존재합니다.",
"variable_add_fail_msg2": "변수의 이름이 적절하지 않습니다.",
"variable_add_ok": "변수 추가 완료",
"variable_add_ok_msg": "을(를) 추가하였습니다.",
"variable_create": "변수 만들기",
"variable_add": "변수 추가",
"variable_dup": "같은 이름의 변수가 이미 존재합니다.",
"variable_newname": "새로운 이름",
"variable_remove": "변수 삭제",
"variable_remove_canceled": "변수 삭제를 취소하였습니다.",
"variable_rename": "변수 이름을 변경합니다. ",
"variable_rename_failed": "변수 이름 변경에 실패하였습니다. ",
"variable_rename_msg": "'변수의 이름이 성공적으로 변경 되었습니다.'",
"variable_rename_ok": "변수의 이름이 성공적으로 변경 되었습니다.",
"variable_select": "변수를 선택하세요",
"variable_too_long": "변수의 이름이 너무 깁니다.",
"vehicle": "탈것",
"add_object_alert_msg": "오브젝트를 추가해주세요",
"add_object_alert": "경고",
"create_variable_block": "변수 만들기",
"create_list_block": "리스트 만들기",
"Variable_Timer": "초시계",
"Variable_placeholder_name": "변수 이름",
"Variable_use_all_objects": "모든 오브젝트에서 사용",
"Variable_use_this_object": "이 오브젝트에서 사용",
"Variable_used_at_all_objects": "모든 오브젝트에서 사용되는 변수",
"Variable_create_cloud": "공유 변수로 사용 <br>(서버에 저장됩니다)",
"Variable_used_at_special_object": "특정 오브젝트에서만 사용되는 변수 입니다. ",
"draw_new": "새로 그리기",
"draw_new_ebs": "직접 그리기",
"painter_file": "파일 ▼",
"painter_file_save": "저장하기",
"painter_file_saveas": "새 모양으로 저장",
"painter_edit": "편집 ▼",
"get_file": "가져오기",
"copy_file": "복사하기",
"cut_picture": "자르기",
"paste_picture": "붙이기",
"remove_all": "모두 지우기",
"new_picture": "새그림",
"picture_size": "크기",
"picture_rotation": "회전",
"thickness": "굵기",
"regular": "보통",
"bold": "굵게",
"italic": "기울임",
"textStyle": "글자",
"add_picture": "모양 추가",
"select_picture": "모양 선택",
"select_sound": "소리 선택",
"Size": "크기",
"show_variable": "변수 보이기",
"default_value": "기본값 ",
"slide": "슬라이드",
"min_value": "최솟값",
"max_value": "최댓값",
"number_of_list": "리스트 항목 수",
"use_all_objects": "모든 오브젝트에 사용",
"list_name": "리스트 이름",
"list_used_specific_objects": "특정 오브젝트에서만 사용되는 리스트 입니다. ",
"List_used_all_objects": "모든 오브젝트에서 사용되는 리스트",
"Scene_delete_error": "장면은 최소 하나 이상 존재해야 합니다.",
"Scene_add_error": "장면은 최대 20개까지 추가 가능합니다.",
"replica_of_object": "의 복제본",
"will_you_delete_scene": "장면은 한번 삭제하면 취소가 불가능 합니다. \n정말 삭제 하시겠습니까?",
"will_you_delete_function": "함수는 한번 삭제하면 취소가 불가능 합니다. \n정말 삭제 하시겠습니까?",
"duplicate_scene": "복제하기",
"block_explain": "블록 설명 ",
"block_intro": "블록을 클릭하면 블록에 대한 설명이 나타납니다.",
"blocks_reference": "블록 설명",
"hardware_guide": "하드웨어 연결 안내",
"robot_guide": "로봇 연결 안내",
"python_guide": "엔트리파이선 이용 안내",
"show_list_workspace": "리스트 보이기",
"List_create_cloud": "공유 리스트로 사용 <br>(서버에 저장됩니다)",
"confirm_quit": "바꾼 내용을 저장하지 않았습니다.",
"confirm_load_temporary": "저장되지 않은 작품이 있습니다. 여시겠습니까?",
"login_to_save": "로그인후에 저장 바랍니다.",
"cannot_save_in_edit_func": "함수 편집중에는 저장할 수 없습니다.",
"new_object": "새 오브젝트",
"arduino_connect": "하드웨어 연결",
"arduino_connect_success": "하드웨어가 연결되었습니다.",
"confirm_load_header": "작품 복구",
"uploading_msg": "업로드 중입니다",
"upload_fail_msg": "업로드에 실패하였습니다.</br>다시 한번 시도해주세요.",
"upload_not_supported_msg": "지원하지 않는 형식입니다.",
"upload_not_supported_file_msg": "지원하지 않는 형식의 파일입니다.",
"file_converting_msg": "파일 변환 중입니다.",
"file_converting_fail_msg": "파일 변환에 실패하였습니다.",
"fail_contact_msg": "문제가 계속된다면</br>entry@connect.or.kr 로 문의해주세요.",
"saving_msg": "저장 중입니다",
"saving_fail_msg": "저장에 실패하였습니다.</br>다시 한번 시도해주세요.",
"loading_msg": "불러오는 중입니다",
"loading_fail_msg": "불러오기에 실패하였습니다.</br>다시 한번 시도해주세요.",
"restore_project_msg": "정상적으로 저장되지 않은 작품이 있습니다. 해당 작품을 복구하시겠습니까?",
"quit_stop_msg": "저장 중에는 종료하실 수 없습니다.",
"ent_drag_and_drop": "업로드 하려면 파일을 놓으세요",
"not_supported_file_msg": "지원하지 않은 형식의 파일입니다.",
"broken_file_msg": "파일이 깨졌거나 잘못된 파일을 불러왔습니다.",
"check_audio_msg": "MP3 파일만 업로드가 가능합니다.",
"check_entry_file_msg": "ENT 파일만 불러오기가 가능합니다.",
"hardware_version_alert_text": "5월 30일 부터 구버전의 연결프로그램의 사용이 중단 됩니다.\n하드웨어 연결 프로그램을 최신 버전으로 업데이트 해주시기 바랍니다.",
"variable_name_auto_edited_title": "변수 이름 자동 변경",
"variable_name_auto_edited_content": "변수의 이름은 10글자를 넘을 수 없습니다.",
"list_name_auto_edited_title": "리스트 이름 자동 변경",
"list_name_auto_edited_content": "리스트의 이름은 10글자를 넘을 수 없습니다.",
"cloned_scene": "복제본_",
"default_mode": "기본형",
"practical_course_mode": "교과형",
"practical_course": "실과",
"select_mode": "모드선택",
"select_mode_popup_title": "엔트리 만들기 환경을 선택해 주세요.",
"select_mode_popup_lable1": "기본형",
"select_mode_popup_lable2": "교과형",
"select_mode_popup_desc1": "엔트리의 모든 기능을 이용하여<br/>자유롭게 작품을 만듭니다.",
"select_mode_popup_desc2": "실과 교과서에 등장하는 기능만을<br/>이용하여 작품을 만듭니다.",
"practical_course_notice": "안내",
"practical_course_desc": "<span class='practical_cource_title'>교과용 만들기</span>는<br />실과 교과서로 소프트웨어를 배울 때<br />필요한 기능만을 제공합니다.",
"practical_course_desc2": "*기본형 작품 만들기를 이용하면 더 많은 기능을<br />이용해 작품을 만들 수 있습니다.",
"practical_course_tooltip": "모든 기능을 이용하기 위해서는<br/>기본형을 선택해 주세요.",
"name_already_exists": "이름이 중복 되었습니다.",
"enter_the_name": "이름을 입력하여 주세요.",
"object_not_exist_error": "오브젝트가 존재하지 않습니다. 오브젝트를 추가한 후 시도해주세요.",
"workspace_tutorial_popup_desc": "<span class='practical_cource_title'>작품 만들기</span>는<br />창의적인 작품을 만들 수 있도록<br /> 다양한 블록과 기능을 제공합니다.",
"start_guide_tutorial": "만들기 이용 안내"
};
Lang.code = "코드보기";
Lang.EntryStatic = {
"groupProject": "학급 공유하기",
"usage_parallel": "병렬",
"usage_hw": "하드웨어",
"usage_sequence": "순차",
"privateProject": "나만보기",
"privateCurriculum": "나만보기",
"publicCurriculum": "강의 모음 공유하기",
"publicProject": "작품 공유하기",
"group": "학급 공유하기",
"groupCurriculum": "학급 공유하기",
"private": "나만보기",
"public": "강의 공유하기",
"lecture_is_open_true": "공개",
"lecture_is_open_false": "비공개",
"category_all": "모든 작품",
"category_game": "게임",
"category_animation": "애니메이션",
"category_media_art": "미디어 아트",
"category_physical": "피지컬",
"category_etc": "기타",
"category_category_game": "게임",
"category_category_animation": "애니메이션",
"category_category_media_art": "미디어 아트",
"category_category_physical": "피지컬",
"category_category_etc": "기타",
"sort_created": "최신순",
"sort_updated": "최신순",
"sort_visit": "조회순",
"sort_likeCnt": "좋아요순",
"sort_comment": "댓글순",
"period_all": "전체기간",
"period_1": "오늘",
"period_7": "최근 1주일",
"period_30": "최근 1개월",
"period_90": "최근 3개월",
"lecture_required_time_1": " ~ 15분",
"lecture_required_time_2": "15분 ~ 30분",
"lecture_required_time_3": "30분 ~ 45분",
"lecture_required_time_4": "45 분 ~ 60분",
"lecture_required_time_5": "1시간 이상",
"usage_event": "이벤트",
"usage_signal": "신호보내기",
"usage_scene": "장면",
"usage_repeat": "반복",
"usage_condition_repeat": "조건반복",
"usage_condition": "선택",
"usage_clone": "복제본",
"usage_rotation": "회전",
"usage_coordinate": "좌표이동",
"usage_arrow_move": "화살표이동",
"usage_shape": "모양",
"usage_speak": "말하기",
"usage_picture_effect": "그림효과",
"usage_textBox": "글상자",
"usage_draw": "그리기",
"usage_sound": "소리",
"usage_confirm": "판단",
"usage_comp_operation": "비교연산",
"usage_logical_operation": "논리연산",
"usage_math_operation": "수리연산",
"usage_random": "무작위수",
"usage_timer": "초시계",
"usage_variable": "변수",
"usage_list": "리스트",
"usage_ask_answer": "입출력",
"usage_function": "함수",
"usage_arduino": "아두이노",
"concept_resource_analytics": "자료수집/분석/표현",
"concept_procedual": "알고리즘과 절차",
"concept_abstractive": "추상화",
"concept_individual": "문제분해",
"concept_automation": "자동화",
"concept_simulation": "시뮬레이션",
"concept_parallel": "병렬화",
"subject_korean": "국어",
"subject_english": "영어",
"subject_mathmatics": "수학",
"subject_social": "사회",
"subject_science": "과학",
"subject_music": "음악",
"subject_paint": "미술",
"subject_athletic": "체육",
"subject_courtesy": "도덕",
"subject_progmatic": "실과",
"lecture_grade_1": "초1",
"lecture_grade_2": "초2",
"lecture_grade_3": "초3",
"lecture_grade_4": "초4",
"lecture_grade_5": "초5",
"lecture_grade_6": "초6",
"lecture_grade_7": "중1",
"lecture_grade_8": "중2",
"lecture_grade_9": "중3",
"lecture_grade_10": "일반",
"lecture_level_1": "쉬움",
"lecture_level_2": "중간",
"lecture_level_3": "어려움",
"listEnable": "리스트",
"functionEnable": "함수",
"messageEnable": "신호",
"objectEditable": "오브젝트",
"pictureeditable": "모양",
"sceneEditable": "장면",
"soundeditable": "소리",
"variableEnable": "변수",
"e_1": "초등 1학년",
"e_2": "초등 2학년",
"e_3": "초등 3학년",
"e_4": "초등 4학년",
"e_5": "초등 5학년",
"e_6": "초등 6학년",
"m_1": "중등 1학년",
"m_2": "중등 2학년",
"m_3": "중등 3학년",
"general": "일반",
"curriculum_is_open_true": "공개",
"curriculum_open_false": "비공개",
"notice": "공지사항",
"qna": "묻고답하기",
"tips": "노하우&팁",
"free": "자유 게시판",
"report": "제안 및 건의",
"art_category_all": "모든 작품",
"art_category_game": "게임",
"art_category_animation": "애니메이션",
"art_category_physical": "피지컬",
"art_category_etc": "기타",
"art_category_media": "미디어 아트",
"art_sort_updated": "최신순",
"art_sort_visit": "조회순",
"art_sort_likeCnt": "좋아요순",
"art_sort_comment": "댓글순",
"art_period_all": "전체기간",
"art_period_day": "오늘",
"art_period_week": "최근 1주일",
"art_period_month": "최근 1개월",
"art_period_three_month": "최근 3개월",
"level_high": "상",
"level_mid": "중",
"level_row": "하",
"discuss_sort_created": "최신순",
"discuss_sort_visit": "조회순",
"discuss_sort_likesLength": "좋아요순",
"discuss_sort_commentsLength": "댓글순",
"discuss_period_all": "전체기간",
"discuss_period_day": "오늘",
"discuss_period_week": "최근 1주일",
"discuss_period_month": "최근 1개월",
"discuss_period_three_month": "최근 3개월"
};
Lang.Helper = {
"when_run_button_click": "시작하기 버튼을 클릭하면 아래에 연결된 블록들을 실행합니다.",
"when_some_key_pressed": "지정된 키를 누르면 아래에 연결된 블록들을 실행 합니다",
"mouse_clicked": "마우스를 클릭 했을 때 아래에 연결된 블록들을 실행 합니다.",
"mouse_click_cancled": "마우스 클릭을 해제 했을 때 아래에 연결된 블록들을 실행합니다.",
"when_object_click": "해당 오브젝트를 클릭했을 때 아래에 연결된 블록들을 실행합니다.",
"when_object_click_canceled": "해당 오브젝트 클릭을 해제 했을때 아래에 연결된 블록들을 실행 합니다.",
"when_message_cast": "해당 신호를 받으면 연결된 블록들을 실행합니다.",
"message_cast": "목록에 선택된 신호를 보냅니다.",
"message_cast_wait": "목록에 선택된 신호를 보내고, 해당 신호를 받는 블록들의 실행이 끝날때 까지 기다립니다.",
"when_scene_start": "장면이 시작되면 아래에 연결된 블록들을 실행 합니다. ",
"start_scene": "선택한 장면을 시작 합니다.",
"start_neighbor_scene": "이전 장면 또는 다음 장면을 시작합니다.",
"wait_second": "설정한 시간만큼 기다린 후 다음 블록을 실행 합니다.",
"repeat_basic": "설정한 횟수만큼 감싸고 있는 블록들을 반복 실행합니다.",
"repeat_inf": "감싸고 있는 블록들을 계속해서 반복 실행합니다.",
"repeat_while_true": "판단이 참인 동안 감싸고 있는 블록들을 반복 실행합니다.",
"stop_repeat": "이 블록을 감싸는 가장 가까운 반복 블록의 반복을 중단 합니다.",
"_if": "만일 판단이 참이면, 감싸고 있는 블록들을 실행합니다.",
"if_else": "만일 판단이 참이면, 첫 번째 감싸고 있는 블록들을 실행하고, 거짓이면 두 번째 감싸고 있는 블록들을 실행합니다.",
"restart_project": "모든 오브젝트를 처음부터 다시 실행합니다.",
"stop_object": "모든 : 모든 오브젝트들이 즉시 실행을 멈춥니다. <br> 자신 : 해당 오브젝트의 모든 블록들을 멈춥니다. <br> 이 코드 : 이 블록이 포함된 코드가 즉시 실행을 멈춥니다. <br> 자신의 다른 코드 : 해당 오브젝트 중 이 블록이 포함된 코드를 제외한 모든 코드가 즉시 실행을 멈춥니다.<br/>다른 오브젝트의 : 다른 오브젝트의 모든 블록들을 멈춥니다.",
"wait_until_true": "판단이 참이 될 때까지 실행을 멈추고 기다립니다.",
"when_clone_start": "해당 오브젝트의 복제본이 새로 생성되었을 때 아래에 연결된 블록들을 실행합니다.",
"create_clone": "선택한 오브젝트의 복제본을 생성합니다.",
"delete_clone": "‘복제본이 처음 생성되었을 때’ 블록과 함께 사용하여 생성된 복제본을 삭제합니다.",
"remove_all_clones": "해당 오브젝트의 모든 복제본을 삭제합니다.",
"move_direction": "설정한 값만큼 오브젝트의 이동방향 화살표가 가리키는 방향으로 움직입니다.",
"move_x": "오브젝트의 X좌표를 설정한 값만큼 바꿉니다. ",
"move_y": "오브젝트의 Y좌표를 설정한 값만큼 바꿉니다.",
"move_xy_time": "오브젝트가 입력한 시간에 걸쳐 x와 y좌표를 설정한 값만큼 바꿉니다",
"locate_object_time": "오브젝트가 입력한 시간에 걸쳐 선택한 오브젝트 또는 마우스 포인터의 위치로 이동합니다. (오브젝트의 중심점이 기준이 됩니다.)",
"locate_x": "오브젝트가 입력한 x좌표로 이동합니다. (오브젝트의 중심점이 기준이 됩니다.)",
"locate_y": "오브젝트가 입력한 y좌표로 이동합니다. (오브젝트의 중심점이 기준이 됩니다.)",
"locate_xy": "오브젝트가 입력한 x와 y좌표로 이동합니다. (오브젝트의 중심점이 기준이 됩니다.)",
"locate_xy_time": "오브젝트가 입력한 시간에 걸쳐 지정한 x, y좌표로 이동합니다. (오브젝트의 중심점이 기준이 됩니다.)",
"locate": "오브젝트가 선택한 오브젝트 또는 마우스 포인터의 위치로 이동합니다. (오브젝트의 중심점이 기준이 됩니다.)",
"rotate_absolute": "해당 오브젝트의 방향을 입력한 각도로 정합니다.",
"rotate_by_time": "오브젝트의 방향을 입력한 시간에 걸쳐 입력한 각도만큼 시계방향으로 회전합니다. (오브젝트의 중심점을 기준으로 회전합니다.)",
"rotate_relative": "오브젝트의 방향을 입력한 각도만큼 시계방향으로 회전합니다. (오브젝트의 중심점을 기준으로 회전합니다.)",
"direction_absolute": "해당 오브젝트의 이동 방향을 입력한 각도로 정합니다.",
"direction_relative": "오브젝트의 이동 방향을 입력한 각도만큼 회전합니다.",
"move_to_angle": "설정한 각도 방향으로 입력한 값만큼 움직입니다. (실행화면 위쪽이 0도, 시계방향으로 갈수록 각도 증가)",
"see_angle_object": "해당 오브젝트가 다른 오브젝트 또는 마우스 포인터 쪽을 바라봅니다. 오브젝트의 이동방향이 선택된 항목을 향하도록 오브젝트의 방향을 회전해줍니다.",
"bounce_wall": "해당 오브젝트가 화면 끝에 닿으면 튕겨져 나옵니다. ",
"show": "해당 오브젝트를 화면에 나타냅니다.",
"hide": "해당 오브젝트를 화면에서 보이지 않게 합니다.",
"dialog_time": "오브젝트가 입력한 내용을 입력한 시간 동안 말풍선으로 말한 후 다음 블록이 실행됩니다.",
"dialog": "오브젝트가 입력한 내용을 말풍선으로 말하는 동시에 다음 블록이 실행됩니다.",
"remove_dialog": "오브젝트가 말하고 있는 말풍선을 지웁니다.",
"change_to_some_shape": "오브젝트를 선택한 모양으로 바꿉니다. (내부 블록을 분리하면 모양의 번호를 사용하여 모양 선택 가능)",
"change_to_next_shape": "오브젝트의 모양을 다음 모양으로 바꿉니다.",
"set_effect_volume": "해당 오브젝트에 선택한 효과를 입력한 값만큼 줍니다.",
"set_effect_amount": "색깔 : 오브젝트에 색깔 효과를 입력한 값만큼 줍니다. (0~100을 주기로 반복됨)<br>밝기 : 오브젝트에 밝기 효과를 입력한 값만큼 줍니다. (-100~100 사이의 범위, -100 이하는 -100으로 100 이상은 100으로 처리 됨) <br> 투명도 : 오브젝트에 투명도 효과를 입력한 값만큼 줍니다. (0~100 사이의 범위, 0이하는 0으로, 100 이상은 100으로 처리됨)",
"set_effect": "해당 오브젝트에 선택한 효과를 입력한 값으로 정합니다.",
"set_entity_effect": "해당 오브젝트에 선택한 효과를 입력한 값으로 정합니다.",
"add_effect_amount": "해당 오브젝트에 선택한 효과를 입력한 값만큼 줍니다.",
"change_effect_amount": "색깔 : 오브젝트의 색깔 효과를 입력한 값으로 정합니다. (0~100을 주기로 반복됨) <br> 밝기 : 오브젝트의 밝기 효과를 입력한 값으로 정합니다. (-100~100 사이의 범위, -100 이하는 -100으로 100 이상은 100으로 처리 됨) <br> 투명도 : 오브젝트의 투명도 효과를 입력한 값으로 정합니다. (0~100 사이의 범위, 0이하는 0으로, 100 이상은 100으로 처리됨)",
"change_scale_percent": "해당 오브젝트의 크기를 입력한 값만큼 바꿉니다.",
"set_scale_percent": "해당 오브젝트의 크기를 입력한 값으로 정합니다.",
"change_scale_size": "해당 오브젝트의 크기를 입력한 값만큼 바꿉니다.",
"set_scale_size": "해당 오브젝트의 크기를 입력한 값으로 정합니다.",
"flip_x": "해당 오브젝트의 상하 모양을 뒤집습니다.",
"flip_y": "해당 오브젝트의 좌우 모양을 뒤집습니다.",
"change_object_index": "맨 앞으로 : 해당 오브젝트를 화면의 가장 앞쪽으로 가져옵니다. <br> 앞으로 : 해당 오브젝트를 한 층 앞쪽으로 가져옵니다. <br> 뒤로 : 해당 오브젝트를 한 층 뒤쪽으로 보냅니다. <br> 맨 뒤로 : 해당 오브젝트를 화면의 가장 뒤쪽으로 보냅니다.",
"set_object_order": "해당 오브젝트가 설정한 순서로 올라옵니다.",
"brush_stamp": "오브젝트의 모양을 도장처럼 실행화면 위에 찍습니다.",
"start_drawing": "오브젝트가 이동하는 경로를 따라 선이 그려지기 시작합니다. (오브젝트의 중심점이 기준)",
"stop_drawing": "오브젝트가 선을 그리는 것을 멈춥니다.",
"set_color": "오브젝트가 그리는 선의 색을 선택한 색으로 정합니다.",
"set_random_color": "오브젝트가 그리는 선의 색을 무작위로 정합니다. ",
"change_thickness": "오브젝트가 그리는 선의 굵기를 입력한 값만큼 바꿉니다. (1~무한의 범위, 1 이하는 1로 처리)",
"set_thickness": "오브젝트가 그리는 선의 굵기를 입력한 값으로 정합니다. (1~무한의 범위, 1 이하는 1로 처리)",
"change_opacity": "해당 오브젝트가 그리는 붓의 투명도를 입력한 값만큼 바꿉니다.",
"change_brush_transparency": "해당 오브젝트가 그리는 붓의 투명도를 입력한 값만큼 바꿉니다. (0~100의 범위, 0이하는 0, 100 이상은 100으로 처리)",
"set_opacity": "해당 오브젝트가 그리는 붓의 투명도를 입력한 값으로 정합니다.",
"set_brush_tranparency": "해당 오브젝트가 그리는 붓의 투명도를 입력한 값으로 정합니다. (0~100의 범위, 0이하는 0, 100 이상은 100으로 처리)",
"brush_erase_all": "해당 오브젝트가 그린 선과 도장을 모두 지웁니다.",
"sound_something_with_block": "해당 오브젝트가 선택한 소리를 재생하는 동시에 다음 블록을 실행합니다.",
"sound_something_second_with_block": "해당 오브젝트가 선택한 소리를 입력한 시간 만큼만 재생하는 동시에 다음 블록을 실행합니다.",
"sound_something_wait_with_block": "해당 오브젝트가 선택한 소리를 재생하고, 소리 재생이 끝나면 다음 블록을 실행합니다.",
"sound_something_second_wait_with_block": "해당 오브젝트가 선택한 소리를 입력한 시간 만큼만 재생하고, 소리 재생이 끝나면 다음 블록을 실행합니다.",
"sound_volume_change": "작품에서 재생되는 모든 소리의 크기를 입력한 퍼센트만큼 바꿉니다.",
"sound_volume_set": "작품에서 재생되는 모든 소리의 크기를 입력한 퍼센트로 정합니다.",
"sound_silent_all": "현재 재생중인 모든 소리를 멈춥니다.",
"is_clicked": "마우스를 클릭한 경우 ‘참’으로 판단합니다.",
"is_press_some_key": "선택한 키가 눌려져 있는 경우 ‘참’으로 판단합니다.",
"reach_something": "해당 오브젝트가 선택한 항목과 닿은 경우 ‘참’으로 판단합니다.",
"is_included_in_list": "선택한 리스트에 입력한 값을 가진 항목이 포함되어 있는지 확인합니다.",
"boolean_basic_operator": "= : 왼쪽에 위치한 값과 오른쪽에 위치한 값이 같으면 '참'으로 판단합니다.<br>> : 왼쪽에 위치한 값이 오른쪽에 위치한 값보다 크면 '참'으로 판단합니다.<br>< : 왼쪽에 위치한 값이 오른쪽에 위치한 값보다 작으면 '참'으로 판단합니다.<br>≥ : 왼쪽에 위치한 값이 오른쪽에 위치한 값보다 크거나 같으면 '참'으로 판단합니다.<br>≤ : 왼쪽에 위치한 값이 오른쪽에 위치한 값보다 작거나 같으면 '참'으로 판단합니다.",
"function_create": "자주 쓰는 코드를 이 블록 아래에 조립하여 함수로 만듭니다. [함수 정의하기]의 오른쪽 빈칸에 [이름]을 조립하여 함수의 이름을 정할 수 있습니다. 함수를 실행하는 데 입력값이 필요한 경우 빈칸에 [문자/숫자값], [판단값]을 조립하여 매개변수로 사용합니다.",
"function_field_label": "'함수 정의하기'의 빈칸 안에 조립하고, 이름을 입력하여 함수의 이름을 정해줍니다. ",
"function_field_string": "해당 함수를 실행하는데 문자/숫자 값이 필요한 경우 빈칸 안에 조립하여 매개변수로 사용합니다. 이 블록 내부의[문자/숫자값]을 분리하여 함수의 코드 중 필요한 부분에 넣어 사용합니다.",
"function_field_boolean": "해당 함수를 실행하는 데 참 또는 거짓의 판단이 필요한 경우 빈칸 안에 조립하여 매개변수로 사용합니다. 이 블록 내부의 [판단값]을 분리하여 함수의 코드 중 필요한 부분에 넣어 사용합니다.",
"function_general": "현재 만들고 있는 함수 블록 또는 지금까지 만들어 둔 함수 블록입니다.",
"boolean_and": "두 판단이 모두 참인 경우 ‘참’으로 판단합니다.",
"boolean_or": "두 판단 중 하나라도 참이 있는 경우 ‘참’으로 판단합니다.",
"boolean_not": "해당 판단이 참이면 거짓, 거짓이면 참으로 만듭니다.",
"calc_basic": "+ : 입력한 두 수를 더한 값입니다.<br>- : 입력한 두 수를 뺀 값입니다.<br>X : 입력한 두 수를 곱한 값입니다.<br>/ : 입력한 두 수를 나눈 값입니다.",
"calc_rand": "입력한 두 수 사이에서 선택된 무작위 수의 값입니다. (두 수 모두 정수를 입력한 경우 정수로, 두 수 중 하나라도 소수를 입력한 경우 소수로 무작위 수가 선택됩니다.)",
"get_x_coordinate": "해당 오브젝트의 x 좌푯값을 의미합니다.",
"get_y_coordinate": "해당 오브젝트의 y 좌푯값을 의미합니다.",
"coordinate_mouse": "마우스 포인터의 x 또는 y의 좌표 값을 의미합니다.",
"coordinate_object": "선택한 오브젝트 또는 자신의 각종 정보값(x좌표, y좌표, 방향, 이동방향, 크기, 모양번호, 모양이름)입니다.",
"quotient_and_mod": "몫 : 앞의 수에서 뒤의 수를 나누어 생긴 몫의 값입니다. <br> 나머지 : 앞의 수에서 뒤의 수를 나누어 생긴 나머지 값입니다.",
"get_rotation_direction": "해당 오브젝트의 방향값, 이동 방향값을 의미합니다.",
"calc_share": "앞 수에서 뒤 수를 나누어 생긴 몫을 의미합니다.",
"calc_mod": "앞 수에서 뒤 수를 나누어 생긴 나머지를 의미합니다.",
"calc_operation": "입력한 수에 대한 다양한 수학식의 계산값입니다.",
"get_date": "현재 연도, 월, 일, 시각과 같이 시간에 대한 값입니다.",
"distance_something": "자신과 선택한 오브젝트 또는 마우스 포인터 간의 거리 값입니다.",
"get_sound_duration": "선택한 소리의 길이(초) 값입니다.",
"get_project_timer_value": "이 블록이 실행되는 순간 초시계에 저장된 값입니다.",
"choose_project_timer_action": "시작하기: 초시계를 시작합니다. <br> 정지하기: 초시계를 정지합니다. <br> 초기화하기: 초시계의 값을 0으로 초기화합니다. <br> (이 블록을 블록조립소로 가져오면 실행화면에 ‘초시계 창’이 생성됩니다.)",
"reset_project_timer": "실행되고 있던 타이머를 0으로 초기화합니다.",
"set_visible_project_timer": "초시계 창을 화면에서 숨기거나 보이게 합니다.",
"ask_and_wait": "해당 오브젝트가 입력한 문자를 말풍선으로 묻고, 대답을 입력받습니다. (이 블록을 블록조립소로 가져오면 실행화면에 ‘대답 창’이 생성됩니다.)",
"get_canvas_input_value": "묻고 기다리기에 의해 입력된 값입니다.",
"set_visible_answer": "실행화면에 있는 ‘대답 창’을 보이게 하거나 숨길 수 있습니다.",
"combine_something": "입력한 두 자료를 결합한 값입니다.",
"get_variable": "선택된 변수에 저장된 값입니다.",
"change_variable": "선택한 변수에 입력한 값을 더합니다.",
"set_variable": "선택한 변수의 값을 입력한 값으로 정합니다.",
"robotis_carCont_sensor_value": "왼쪽 접속 센서 : 접촉(1), 비접촉(0) 값 입니다.<br/>오른쪽 접촉 센서 : 접촉(1), 비접촉(0) 값 입니다.<br/>선택 버튼 상태 : 접촉(1), 비접촉(0) 값 입니다.<br/>최종 소리 감지 횟수 : 마지막 실시간 소리 감지 횟수 값 입니다.<br/>실시간 소리 감지 횟수 : 약 1초 안에 다음 소리가 감지되면 1씩 증가합니다.<br/>왼쪽 적외선 센서 : 물체와 가까울 수록 큰 값 입니다.<br/>오른쪽 적외선 센서 : 물체와 가까울 수록 큰 값 값 입니다.<br/>왼쪽 적외선 센서 캘리브레이션 값 : 적외선 센서의 캘리브레이션 값 입니다.<br/>오른쪽 적외선 센서 캘리브레이션 값 : 적외선 센서의 캘리브레이션 값 입니다.<br/>(*캘리브레이션 값 - 적외선센서 조정 값)",
"robotis_carCont_cm_led": "4개의 LED 중 1번 또는 4번 LED 를 켜거나 끕니다.<br/>LED 2번과 3번은 동작 지원하지 않습니다.",
"robotis_carCont_cm_sound_detected_clear": "최종 소리 감지횟 수를 0 으로 초기화 합니다.",
"robotis_carCont_aux_motor_speed": "감속모터 속도를 0 ~ 1023 의 값(으)로 정합니다.",
"robotis_carCont_cm_calibration": "적외선센서 조정 값(http://support.robotis.com/ko/: 자동차로봇> 2. B. 적외선 값 조정)을 직접 정합니다.",
"robotis_openCM70_sensor_value": "최종 소리 감지 횟수 : 마지막 실시간 소리 감지 횟수 값 입니다.<br/>실시간 소리 감지 횟수 : 약 1초 안에 다음 소리가 감지되면 1씩 증가합니다.<br/>사용자 버튼 상태 : 접촉(1), 비접촉(0) 값 입니다.최종 소리 감지 횟수 : 마지막 실시간 소리 감지 횟수 값 입니다.<br/>실시간 소리 감지 횟수 : 약 1초 안에 다음 소리가 감지되면 1씩 증가합니다.<br/>사용자 버튼 상태 : 접촉(1), 비접촉(0) 값 입니다.",
"robotis_openCM70_aux_sensor_value": "서보모터 위치 : 0 ~ 1023, 중간 위치의 값은 512 입니다.<br/>적외선센서 : 물체와 가까울 수록 큰 값 입니다.<br/>접촉센서 : 접촉(1), 비접촉(0) 값 입니다.<br/>조도센서(CDS) : 0 ~ 1023, 밝을 수록 큰 값 입니다.<br/>온습도센서(습도) : 0 ~ 100, 습할 수록 큰 값 입니다.<br/>온습도센서(온도) : -20 ~ 100, 온도가 높을 수록 큰 값 입니다.<br/>온도센서 : -20 ~ 100, 온도가 높을 수록 큰 값 입니다.<br/>초음파센서 : -<br/>자석센서 : 접촉(1), 비접촉(0) 값 입니다.<br/>동작감지센서 : 동작 감지(1), 동작 미감지(0) 값 입니다.<br/>컬러센서 : 알수없음(0), 흰색(1), 검은색(2), 빨간색(3), 녹색(4), 파란색(5), 노란색(6) 값 입니다.<br/>사용자 장치 : 사용자 센서 제작에 대한 설명은 ROBOTIS e-매뉴얼(http://support.robotis.com/ko/)을 참고하세요.",
"robotis_openCM70_cm_buzzer_index": "음계를 0.1 ~ 5 초 동안 연주 합니다.",
"robotis_openCM70_cm_buzzer_melody": "멜로디를 연주 합니다.<br/>멜로디를 연속으로 재생하는 경우, 다음 소리가 재생되지 않으면 '흐름 > X 초 기다리기' 블록을 사용하여 기다린 후 실행합니다.",
"robotis_openCM70_cm_sound_detected_clear": "최종 소리 감지횟 수를 0 으로 초기화 합니다.",
"robotis_openCM70_cm_led": "제어기의 빨간색, 녹색, 파란색 LED 를 켜거나 끕니다.",
"robotis_openCM70_cm_motion": "제어기에 다운로드 되어있는 모션을 실행합니다.",
"robotis_openCM70_aux_motor_speed": "감속모터 속도를 0 ~ 1023 의 값(으)로 정합니다.",
"robotis_openCM70_aux_servo_mode": "서보모터를 회전모드 또는 관절모드로 정합니다.<br/>한번 설정된 모드는 계속 적용됩니다.<br/>회전모드는 서보모터 속도를 지정하여 서보모터를 회전 시킵니다.<br/>관절모드는 지정한 서보모터 속도로 서보모터 위치를 이동 시킵니다.",
"robotis_openCM70_aux_servo_speed": "서보모터 속도를 0 ~ 1023 의 값(으)로 정합니다.",
"robotis_openCM70_aux_servo_position": "서보모터 위치를 0 ~ 1023 의 값(으)로 정합니다.<br/>서보모터 속도와 같이 사용해야 합니다.",
"robotis_openCM70_aux_led_module": "LED 모듈의 LED 를 켜거나 끕니다.",
"robotis_openCM70_aux_custom": "사용자 센서 제작에 대한 설명은 ROBOTIS e-매뉴얼(http://support.robotis.com/ko/)을 참고하세요.",
"robotis_openCM70_cm_custom_value": "컨트롤 테이블 주소를 직접 입력하여 값을 확인 합니다.<br/>컨트롤 테이블 대한 설명은 ROBOTIS e-매뉴얼(http://support.robotis.com/ko/)을 참고하세요.",
"robotis_openCM70_cm_custom": "컨트롤 테이블 주소를 직접 입력하여 값을 정합니다.<br/>컨트롤 테이블 대한 설명은 ROBOTIS e-매뉴얼(http://support.robotis.com/ko/)을 참고하세요.",
"show_variable": "선택한 변수 창을 실행화면에 보이게 합니다.",
"hide_variable": "선택한 변수 창을 실행화면에서 숨깁니다.",
"value_of_index_from_list": "선택한 리스트에서 선택한 값의 순서에 있는 항목 값을 의미합니다. (내부 블록을 분리하면 순서를 숫자로 입력 가능)",
"add_value_to_list": "입력한 값이 선택한 리스트의 마지막 항목으로 추가됩니다.",
"remove_value_from_list": "선택한 리스트의 입력한 순서에 있는 항목을 삭제합니다.",
"insert_value_to_list": "선택한 리스트의 입력한 순서의 위치에 입력한 항목을 넣습니다. (입력한 항목의 뒤에 있는 항목들은 순서가 하나씩 밀려납니다.)",
"change_value_list_index": "선택한 리스트에서 입력한 순서에 있는 항목의 값을 입력한 값으로 바꿉니다.",
"length_of_list": "선택한 리스트가 보유한 항목 개수 값입니다.",
"show_list": "선택한 리스트를 실행화면에 보이게 합니다.",
"hide_list": "선택한 리스트를 실행화면에서 숨깁니다.",
"text": "해당 글상자가 표시하고 있는 문자값을 의미합니다.",
"text_write": "글상자의 내용을 입력한 값으로 고쳐씁니다.",
"text_append": "글상자의 내용 뒤에 입력한 값을 추가합니다.",
"text_prepend": "글상자의 내용 앞에 입력한 값을 추가합니다.",
"text_flush": "글상자에 저장된 값을 모두 지웁니다.",
"erase_all_effects": "해당 오브젝트에 적용된 효과를 모두 지웁니다.",
"char_at": "입력한 문자/숫자값 중 입력한 숫자 번째의 글자 값입니다.",
"length_of_string": "입력한 문자값의 공백을 포함한 글자 수입니다.",
"substring": "입력한 문자/숫자 값에서 입력한 범위 내의 문자/숫자 값입니다.",
"replace_string": "입력한 문자/숫자 값에서 지정한 문자/숫자 값을 찾아 추가로 입력한 문자/숫자값으로 모두 바꾼 값입니다. (영문 입력시 대소문자를 구분합니다.)",
"index_of_string": "입력한 문자/숫자 값에서 지정한 문자/숫자 값이 처음으로 등장하는 위치의 값입니다. (안녕, 엔트리!에서 엔트리의 시작 위치는 5)",
"change_string_case": "입력한 영문의 모든 알파벳을 대문자 또는 소문자로 바꾼 문자값을 의미합니다.",
"direction_relative_duration": "해당 오브젝트의 이동방향을 입력한 시간에 걸쳐 입력한 각도만큼 시계방향으로 회전합니다. ",
"get_sound_volume": "현재 작품에 설정된 소리의 크기값을 의미합니다.",
"sound_from_to": "해당 오브젝트가 선택한 소리를 입력한 시간 부분만을 재생하는 동시에 다음 블록을 실행합니다.",
"sound_from_to_and_wait": "해당 오브젝트가 선택한 소리를 입력한 시간 부분만을 재생하고, 소리 재생이 끝나면 다음 블록을 실행합니다.",
"Block_info": "블록 설명",
"Block_click_msg": "블록을 클릭하면 블록에 대한 설명이 나타납니다.",
"hamster_beep": "버저 소리를 짧게 냅니다.",
"hamster_change_both_wheels_by": "왼쪽과 오른쪽 바퀴의 현재 속도 값(%)에 입력한 값을 각각 더합니다. 더한 결과가 양수 값이면 바퀴가 앞으로 회전하고, 음수 값이면 뒤로 회전합니다.",
"hamster_change_buzzer_by": "버저 소리의 현재 음 높이(Hz)에 입력한 값을 더합니다. 소수점 둘째 자리까지 입력할 수 있습니다.",
"hamster_change_output_by": "선택한 외부 확장 포트의 현재 출력 값에 입력한 값을 더합니다. 더한 결과는 외부 확장 포트의 모드에 따라 다음의 범위를 가집니다.<br/>서보 출력: 유효한 값의 범위는 1 ~ 180도, 0이면 PWM 펄스 없이 항상 0을 출력<br/>PWM 출력: 0 ~ 100%, PWM 파형에서 ON 상태의 듀티비(%)<br/>디지털 출력: 0이면 LOW, 0이 아니면 HIGH",
"hamster_change_tempo_by": "연주하거나 쉬는 속도의 현재 BPM(분당 박자 수)에 입력한 값을 더합니다.",
"hamster_change_wheel_by": "왼쪽/오른쪽/양쪽 바퀴의 현재 속도 값(%)에 입력한 값을 더합니다. 더한 결과가 양수 값이면 바퀴가 앞으로 회전하고, 음수 값이면 뒤로 회전합니다.",
"hamster_clear_buzzer": "버저 소리를 끕니다.",
"hamster_clear_led": "왼쪽/오른쪽/양쪽 LED를 끕니다.",
"hamster_follow_line_until": "왼쪽/오른쪽/앞쪽/뒤쪽의 검은색/하얀색 선을 따라 이동하다가 교차로를 만나면 정지합니다.",
"hamster_follow_line_using": "왼쪽/오른쪽/양쪽 바닥 센서를 사용하여 검은색/하얀색 선을 따라 이동합니다.",
"hamster_hand_found": "근접 센서 앞에 손 또는 물체가 있으면 '참'으로 판단하고, 아니면 '거짓'으로 판단합니다.",
"hamster_move_backward_for_secs": "입력한 시간(초) 동안 뒤로 이동합니다.",
"hamster_move_forward_for_secs": "입력한 시간(초) 동안 앞으로 이동합니다.",
"hamster_move_forward_once": "말판 위에서 한 칸 앞으로 이동합니다.",
"hamster_play_note_for": "선택한 계이름과 옥타브의 음을 입력한 박자만큼 소리 냅니다.",
"hamster_rest_for": "입력한 박자만큼 쉽니다.",
"hamster_set_both_wheels_to": "왼쪽과 오른쪽 바퀴의 속도를 입력한 값(-100 ~ 100%)으로 각각 설정합니다. 양수 값을 입력하면 바퀴가 앞으로 회전하고, 음수 값을 입력하면 뒤로 회전합니다. 숫자 0을 입력하면 정지합니다.",
"hamster_set_buzzer_to": "버저 소리의 음 높이를 입력한 값(Hz)으로 설정합니다. 소수점 둘째 자리까지 입력할 수 있습니다. 숫자 0을 입력하면 버저 소리를 끕니다.",
"hamster_set_following_speed_to": "선을 따라 이동하는 속도(1 ~ 8)를 설정합니다. 숫자가 클수록 이동하는 속도가 빠릅니다.",
"hamster_set_led_to": "왼쪽/오른쪽/양쪽 LED를 선택한 색깔로 켭니다.",
"hamster_set_output_to": "선택한 외부 확장 포트의 출력 값을 입력한 값으로 설정합니다. 입력하는 값은 외부 확장 포트의 모드에 따라 다음의 범위를 가집니다.<br/>서보 출력: 유효한 값의 범위는 1 ~ 180도, 0이면 PWM 펄스 없이 항상 0을 출력<br/>PWM 출력: 0 ~ 100%, PWM 파형에서 ON 상태의 듀티비(%)<br/>디지털 출력: 0이면 LOW, 0이 아니면 HIGH",
"hamster_set_port_to": "선택한 외부 확장 포트의 입출력 모드를 선택한 모드로 설정합니다.",
"hamster_set_tempo_to": "연주하거나 쉬는 속도를 입력한 BPM(분당 박자 수)으로 설정합니다.",
"hamster_set_wheel_to": "왼쪽/오른쪽/양쪽 바퀴의 속도를 입력한 값(-100 ~ 100%)으로 설정합니다. 양수 값을 입력하면 바퀴가 앞으로 회전하고, 음수 값을 입력하면 뒤로 회전합니다. 숫자 0을 입력하면 정지합니다.",
"hamster_stop": "양쪽 바퀴를 정지합니다.",
"hamster_turn_for_secs": "입력한 시간(초) 동안 왼쪽/오른쪽 방향으로 제자리에서 회전합니다.",
"hamster_turn_once": "말판 위에서 왼쪽/오른쪽 방향으로 제자리에서 90도 회전합니다.",
"hamster_value": "왼쪽 근접 센서: 왼쪽 근접 센서의 값 (값의 범위: 0 ~ 255, 초기값: 0)<br/>오른쪽 근접 센서: 오른쪽 근접 센서의 값 (값의 범위: 0 ~ 255, 초기값: 0)<br/>왼쪽 바닥 센서: 왼쪽 바닥 센서의 값 (값의 범위: 0 ~ 100, 초기값: 0)<br/>오른쪽 바닥 센서: 오른쪽 바닥 센서의 값 (값의 범위: 0 ~ 100, 초기값: 0)<br/>x축 가속도: 가속도 센서의 X축 값 (값의 범위: -32768 ~ 32767, 초기값: 0) 로봇이 전진하는 방향이 X축의 양수 방향입니다.<br/>y축 가속도: 가속도 센서의 Y축 값 (값의 범위: -32768 ~ 32767, 초기값: 0) 로봇의 왼쪽 방향이 Y축의 양수 방향입니다.<br/>z축 가속도: 가속도 센서의 Z축 값 (값의 범위: -32768 ~ 32767, 초기값: 0) 로봇의 위쪽 방향이 Z축의 양수 방향입니다.<br/>밝기: 밝기 센서의 값 (값의 범위: 0 ~ 65535, 초기값: 0) 밝을 수록 값이 커집니다.<br/>온도: 로봇 내부의 온도 값 (값의 범위: 섭씨 -40 ~ 88도, 초기값: 0)<br/>신호 세기: 블루투스 무선 통신의 신호 세기 (값의 범위: -128 ~ 0 dBm, 초기값: 0) 신호의 세기가 셀수록 값이 커집니다.<br/>입력 A: 외부 확장 포트 A로 입력되는 신호의 값 (값의 범위: 아날로그 입력 0 ~ 255, 디지털 입력 0 또는 1, 초기값: 0)<br/>입력 B: 외부 확장 포트 B로 입력되는 신호의 값 (값의 범위: 아날로그 입력 0 ~ 255, 디지털 입력 0 또는 1, 초기값: 0)",
"roboid_hamster_beep": "버저 소리를 짧게 냅니다.",
"roboid_hamster_change_both_wheels_by": "왼쪽과 오른쪽 바퀴의 현재 속도 값(%)에 입력한 값을 각각 더합니다. 더한 결과가 양수 값이면 바퀴가 앞으로 회전하고, 음수 값이면 뒤로 회전합니다.",
"roboid_hamster_change_buzzer_by": "버저 소리의 현재 음 높이(Hz)에 입력한 값을 더합니다. 소수점 둘째 자리까지 입력할 수 있습니다.",
"roboid_hamster_change_output_by": "선택한 외부 확장 포트의 현재 출력 값에 입력한 값을 더합니다. 더한 결과는 외부 확장 포트의 모드에 따라 다음의 범위를 가집니다.<br/>서보 출력: 유효한 값의 범위는 1 ~ 180도, 0이면 PWM 펄스 없이 항상 0을 출력<br/>PWM 출력: 0 ~ 100%, PWM 파형에서 ON 상태의 듀티비(%)<br/>디지털 출력: 0이면 LOW, 0이 아니면 HIGH",
"roboid_hamster_change_tempo_by": "연주하거나 쉬는 속도의 현재 BPM(분당 박자 수)에 입력한 값을 더합니다.",
"roboid_hamster_change_wheel_by": "왼쪽/오른쪽/양쪽 바퀴의 현재 속도 값(%)에 입력한 값을 더합니다. 더한 결과가 양수 값이면 바퀴가 앞으로 회전하고, 음수 값이면 뒤로 회전합니다.",
"roboid_hamster_clear_buzzer": "버저 소리를 끕니다.",
"roboid_hamster_clear_led": "왼쪽/오른쪽/양쪽 LED를 끕니다.",
"roboid_hamster_follow_line_until": "왼쪽/오른쪽/앞쪽/뒤쪽의 검은색/하얀색 선을 따라 이동하다가 교차로를 만나면 정지합니다.",
"roboid_hamster_follow_line_using": "왼쪽/오른쪽/양쪽 바닥 센서를 사용하여 검은색/하얀색 선을 따라 이동합니다.",
"roboid_hamster_hand_found": "근접 센서 앞에 손 또는 물체가 있으면 '참'으로 판단하고, 아니면 '거짓'으로 판단합니다.",
"roboid_hamster_move_backward_for_secs": "입력한 시간(초) 동안 뒤로 이동합니다.",
"roboid_hamster_move_forward_for_secs": "입력한 시간(초) 동안 앞으로 이동합니다.",
"roboid_hamster_move_forward_once": "말판 위에서 한 칸 앞으로 이동합니다.",
"roboid_hamster_play_note_for": "선택한 계이름과 옥타브의 음을 입력한 박자만큼 소리 냅니다.",
"roboid_hamster_rest_for": "입력한 박자만큼 쉽니다.",
"roboid_hamster_set_both_wheels_to": "왼쪽과 오른쪽 바퀴의 속도를 입력한 값(-100 ~ 100%)으로 각각 설정합니다. 양수 값을 입력하면 바퀴가 앞으로 회전하고, 음수 값을 입력하면 뒤로 회전합니다. 숫자 0을 입력하면 정지합니다.",
"roboid_hamster_set_buzzer_to": "버저 소리의 음 높이를 입력한 값(Hz)으로 설정합니다. 소수점 둘째 자리까지 입력할 수 있습니다. 숫자 0을 입력하면 버저 소리를 끕니다.",
"roboid_hamster_set_following_speed_to": "선을 따라 이동하는 속도(1 ~ 8)를 설정합니다. 숫자가 클수록 이동하는 속도가 빠릅니다.",
"roboid_hamster_set_led_to": "왼쪽/오른쪽/양쪽 LED를 선택한 색깔로 켭니다.",
"roboid_hamster_set_output_to": "선택한 외부 확장 포트의 출력 값을 입력한 값으로 설정합니다. 입력하는 값은 외부 확장 포트의 모드에 따라 다음의 범위를 가집니다.<br/>서보 출력: 유효한 값의 범위는 1 ~ 180도, 0이면 PWM 펄스 없이 항상 0을 출력<br/>PWM 출력: 0 ~ 100%, PWM 파형에서 ON 상태의 듀티비(%)<br/>디지털 출력: 0이면 LOW, 0이 아니면 HIGH",
"roboid_hamster_set_port_to": "선택한 외부 확장 포트의 입출력 모드를 선택한 모드로 설정합니다.",
"roboid_hamster_set_tempo_to": "연주하거나 쉬는 속도를 입력한 BPM(분당 박자 수)으로 설정합니다.",
"roboid_hamster_set_wheel_to": "왼쪽/오른쪽/양쪽 바퀴의 속도를 입력한 값(-100 ~ 100%)으로 설정합니다. 양수 값을 입력하면 바퀴가 앞으로 회전하고, 음수 값을 입력하면 뒤로 회전합니다. 숫자 0을 입력하면 정지합니다.",
"roboid_hamster_stop": "양쪽 바퀴를 정지합니다.",
"roboid_hamster_turn_for_secs": "입력한 시간(초) 동안 왼쪽/오른쪽 방향으로 제자리에서 회전합니다.",
"roboid_hamster_turn_once": "말판 위에서 왼쪽/오른쪽 방향으로 제자리에서 90도 회전합니다.",
"roboid_hamster_value": "왼쪽 근접 센서: 왼쪽 근접 센서의 값 (값의 범위: 0 ~ 255, 초기값: 0)<br/>오른쪽 근접 센서: 오른쪽 근접 센서의 값 (값의 범위: 0 ~ 255, 초기값: 0)<br/>왼쪽 바닥 센서: 왼쪽 바닥 센서의 값 (값의 범위: 0 ~ 100, 초기값: 0)<br/>오른쪽 바닥 센서: 오른쪽 바닥 센서의 값 (값의 범위: 0 ~ 100, 초기값: 0)<br/>x축 가속도: 가속도 센서의 X축 값 (값의 범위: -32768 ~ 32767, 초기값: 0) 로봇이 전진하는 방향이 X축의 양수 방향입니다.<br/>y축 가속도: 가속도 센서의 Y축 값 (값의 범위: -32768 ~ 32767, 초기값: 0) 로봇의 왼쪽 방향이 Y축의 양수 방향입니다.<br/>z축 가속도: 가속도 센서의 Z축 값 (값의 범위: -32768 ~ 32767, 초기값: 0) 로봇의 위쪽 방향이 Z축의 양수 방향입니다.<br/>밝기: 밝기 센서의 값 (값의 범위: 0 ~ 65535, 초기값: 0) 밝을 수록 값이 커집니다.<br/>온도: 로봇 내부의 온도 값 (값의 범위: 섭씨 -40 ~ 88도, 초기값: 0)<br/>신호 세기: 블루투스 무선 통신의 신호 세기 (값의 범위: -128 ~ 0 dBm, 초기값: 0) 신호의 세기가 셀수록 값이 커집니다.<br/>입력 A: 외부 확장 포트 A로 입력되는 신호의 값 (값의 범위: 아날로그 입력 0 ~ 255, 디지털 입력 0 또는 1, 초기값: 0)<br/>입력 B: 외부 확장 포트 B로 입력되는 신호의 값 (값의 범위: 아날로그 입력 0 ~ 255, 디지털 입력 0 또는 1, 초기값: 0)",
"roboid_turtle_button_state": "등 버튼을 클릭했으면/더블클릭했으면/길게 눌렀으면 '참'으로 판단하고, 아니면 '거짓'으로 판단합니다.",
"roboid_turtle_change_buzzer_by": "버저 소리의 현재 음 높이(Hz)에 입력한 값을 더합니다. 소수점 둘째 자리까지 입력할 수 있습니다.",
"roboid_turtle_change_head_led_by_rgb": "머리 LED의 현재 R, G, B 값에 입력한 값을 각각 더합니다.",
"roboid_turtle_change_tempo_by": "연주하거나 쉬는 속도의 현재 BPM(분당 박자 수)에 입력한 값을 더합니다.",
"roboid_turtle_change_wheel_by": "왼쪽/오른쪽/양쪽 바퀴의 현재 속도 값(%)에 입력한 값을 더합니다. 더한 결과가 양수 값이면 바퀴가 앞으로 회전하고, 음수 값이면 뒤로 회전합니다.",
"roboid_turtle_change_wheels_by_left_right": "왼쪽과 오른쪽 바퀴의 현재 속도 값(%)에 입력한 값을 각각 더합니다. 더한 결과가 양수 값이면 바퀴가 앞으로 회전하고, 음수 값이면 뒤로 회전합니다.",
"roboid_turtle_clear_head_led": "머리 LED를 끕니다.",
"roboid_turtle_clear_sound": "소리를 끕니다.",
"roboid_turtle_cross_intersection": "검은색 교차로에서 잠시 앞으로 이동한 후 검은색 선을 찾아 다시 이동합니다.",
"roboid_turtle_follow_line": "하얀색 바탕 위에서 선택한 색깔의 선을 따라 이동합니다.",
"roboid_turtle_follow_line_until": "하얀색 바탕 위에서 검은색 선을 따라 이동하다가 선택한 색깔을 컬러 센서가 감지하면 정지합니다.",
"roboid_turtle_follow_line_until_black": "하얀색 바탕 위에서 선택한 색깔의 선을 따라 이동하다가 컬러 센서가 검은색을 감지하면 정지합니다.",
"roboid_turtle_is_color_pattern": "선택한 색깔 패턴을 컬러 센서가 감지하였으면 '참'으로 판단하고, 아니면 '거짓'으로 판단합니다.",
"roboid_turtle_move_backward_unit": "입력한 거리(cm)/시간(초)/펄스만큼 뒤로 이동합니다.",
"roboid_turtle_move_forward_unit": "입력한 거리(cm)/시간(초)/펄스만큼 앞으로 이동합니다.",
"roboid_turtle_pivot_around_wheel_unit_in_direction": "왼쪽/오른쪽 바퀴 중심으로 입력한 각도(도)/시간(초)/펄스만큼 머리/꼬리 방향으로 회전합니다.",
"roboid_turtle_play_note": "선택한 계이름과 옥타브의 음을 계속 소리 냅니다.",
"roboid_turtle_play_note_for_beats": "선택한 계이름과 옥타브의 음을 입력한 박자만큼 소리 냅니다.",
"roboid_turtle_play_sound_times": "선택한 소리를 입력한 횟수만큼 재생합니다.",
"roboid_turtle_play_sound_times_until_done": "선택한 소리를 입력한 횟수만큼 재생하고, 재생이 완료될 때까지 기다립니다.",
"roboid_turtle_rest_for_beats": "입력한 박자만큼 쉽니다.",
"roboid_turtle_set_buzzer_to": "버저 소리의 음 높이를 입력한 값(Hz)으로 설정합니다. 소수점 둘째 자리까지 입력할 수 있습니다. 숫자 0을 입력하면 소리를 끕니다.",
"roboid_turtle_set_following_speed_to": "선을 따라 이동하는 속도(1 ~ 8)를 설정합니다. 숫자가 클수록 이동하는 속도가 빠릅니다.",
"roboid_turtle_set_head_led_to": "머리 LED를 선택한 색깔로 켭니다.",
"roboid_turtle_set_head_led_to_rgb": "머리 LED의 R, G, B 값을 입력한 값으로 각각 설정합니다.",
"roboid_turtle_set_tempo_to": "연주하거나 쉬는 속도를 입력한 BPM(분당 박자 수)으로 설정합니다.",
"roboid_turtle_set_wheel_to": "왼쪽/오른쪽/양쪽 바퀴의 속도를 입력한 값(-400 ~ 400%)으로 설정합니다. 양수 값을 입력하면 바퀴가 앞으로 회전하고, 음수 값을 입력하면 뒤로 회전합니다. 숫자 0을 입력하면 정지합니다.",
"roboid_turtle_set_wheels_to_left_right": "왼쪽과 오른쪽 바퀴의 속도를 입력한 값(-400 ~ 400%)으로 각각 설정합니다. 양수 값을 입력하면 바퀴가 앞으로 회전하고, 음수 값을 입력하면 뒤로 회전합니다. 숫자 0을 입력하면 정지합니다.",
"roboid_turtle_stop": "양쪽 바퀴를 정지합니다.",
"roboid_turtle_touching_color": "선택한 색깔을 컬러 센서가 감지하였으면 '참'으로 판단하고, 아니면 '거짓'으로 판단합니다.",
"roboid_turtle_turn_at_intersection": "검은색 교차로에서 잠시 앞으로 이동한 후 제자리에서 왼쪽/오른쪽/뒤쪽으로 회전하고 검은색 선을 찾아 다시 이동합니다.",
"roboid_turtle_turn_unit_in_place": "입력한 각도(도)/시간(초)/펄스만큼 왼쪽/오른쪽 방향으로 제자리에서 회전합니다.",
"roboid_turtle_turn_unit_with_radius_in_direction": "입력한 반지름의 원을 그리면서 입력한 각도(도)/시간(초)/펄스만큼 왼쪽/오른쪽, 머리/꼬리 방향으로 회전합니다.",
"roboid_turtle_value": "색깔 번호: 컬러 센서가 감지한 색깔의 번호 (값의 범위: -1 ~ 8, 초기값: -1)<br/>색깔 패턴: 컬러 센서가 감지한 색깔 패턴의 값 (값의 범위: -1 ~ 88, 초기값: -1)<br/>바닥 센서: 바닥 센서의 값 (값의 범위: 0 ~ 100, 초기값: 0)<br/>버튼: 거북이 등 버튼의 상태 값 (누르면 1, 아니면 0, 초기값: 0)<br/>x축 가속도: 가속도 센서의 X축 값 (값의 범위: -32768 ~ 32767, 초기값: 0) 로봇이 전진하는 방향이 X축의 양수 방향입니다.<br/>y축 가속도: 가속도 센서의 Y축 값 (값의 범위: -32768 ~ 32767, 초기값: 0) 로봇의 왼쪽 방향이 Y축의 양수 방향입니다.<br/>z축 가속도: 가속도 센서의 Z축 값 (값의 범위: -32768 ~ 32767, 초기값: 0) 로봇의 위쪽 방향이 Z축의 양수 방향입니다.",
"turtle_button_state": "등 버튼을 클릭했으면/더블클릭했으면/길게 눌렀으면 '참'으로 판단하고, 아니면 '거짓'으로 판단합니다.",
"turtle_change_buzzer_by": "버저 소리의 현재 음 높이(Hz)에 입력한 값을 더합니다. 소수점 둘째 자리까지 입력할 수 있습니다.",
"turtle_change_head_led_by_rgb": "머리 LED의 현재 R, G, B 값에 입력한 값을 각각 더합니다.",
"turtle_change_tempo_by": "연주하거나 쉬는 속도의 현재 BPM(분당 박자 수)에 입력한 값을 더합니다.",
"turtle_change_wheel_by": "왼쪽/오른쪽/양쪽 바퀴의 현재 속도 값(%)에 입력한 값을 더합니다. 더한 결과가 양수 값이면 바퀴가 앞으로 회전하고, 음수 값이면 뒤로 회전합니다.",
"turtle_change_wheels_by_left_right": "왼쪽과 오른쪽 바퀴의 현재 속도 값(%)에 입력한 값을 각각 더합니다. 더한 결과가 양수 값이면 바퀴가 앞으로 회전하고, 음수 값이면 뒤로 회전합니다.",
"turtle_clear_head_led": "머리 LED를 끕니다.",
"turtle_clear_sound": "소리를 끕니다.",
"turtle_cross_intersection": "검은색 교차로에서 잠시 앞으로 이동한 후 검은색 선을 찾아 다시 이동합니다.",
"turtle_follow_line": "하얀색 바탕 위에서 선택한 색깔의 선을 따라 이동합니다.",
"turtle_follow_line_until": "하얀색 바탕 위에서 검은색 선을 따라 이동하다가 선택한 색깔을 컬러 센서가 감지하면 정지합니다.",
"turtle_follow_line_until_black": "하얀색 바탕 위에서 선택한 색깔의 선을 따라 이동하다가 컬러 센서가 검은색을 감지하면 정지합니다.",
"turtle_is_color_pattern": "선택한 색깔 패턴을 컬러 센서가 감지하였으면 '참'으로 판단하고, 아니면 '거짓'으로 판단합니다.",
"turtle_move_backward_unit": "입력한 거리(cm)/시간(초)/펄스만큼 뒤로 이동합니다.",
"turtle_move_forward_unit": "입력한 거리(cm)/시간(초)/펄스만큼 앞으로 이동합니다.",
"turtle_pivot_around_wheel_unit_in_direction": "왼쪽/오른쪽 바퀴 중심으로 입력한 각도(도)/시간(초)/펄스만큼 머리/꼬리 방향으로 회전합니다.",
"turtle_play_note": "선택한 계이름과 옥타브의 음을 계속 소리 냅니다.",
"turtle_play_note_for_beats": "선택한 계이름과 옥타브의 음을 입력한 박자만큼 소리 냅니다.",
"turtle_play_sound_times": "선택한 소리를 입력한 횟수만큼 재생합니다.",
"turtle_play_sound_times_until_done": "선택한 소리를 입력한 횟수만큼 재생하고, 재생이 완료될 때까지 기다립니다.",
"turtle_rest_for_beats": "입력한 박자만큼 쉽니다.",
"turtle_set_buzzer_to": "버저 소리의 음 높이를 입력한 값(Hz)으로 설정합니다. 소수점 둘째 자리까지 입력할 수 있습니다. 숫자 0을 입력하면 소리를 끕니다.",
"turtle_set_following_speed_to": "선을 따라 이동하는 속도(1 ~ 8)를 설정합니다. 숫자가 클수록 이동하는 속도가 빠릅니다.",
"turtle_set_head_led_to": "머리 LED를 선택한 색깔로 켭니다.",
"turtle_set_head_led_to_rgb": "머리 LED의 R, G, B 값을 입력한 값으로 각각 설정합니다.",
"turtle_set_tempo_to": "연주하거나 쉬는 속도를 입력한 BPM(분당 박자 수)으로 설정합니다.",
"turtle_set_wheel_to": "왼쪽/오른쪽/양쪽 바퀴의 속도를 입력한 값(-400 ~ 400%)으로 설정합니다. 양수 값을 입력하면 바퀴가 앞으로 회전하고, 음수 값을 입력하면 뒤로 회전합니다. 숫자 0을 입력하면 정지합니다.",
"turtle_set_wheels_to_left_right": "왼쪽과 오른쪽 바퀴의 속도를 입력한 값(-400 ~ 400%)으로 각각 설정합니다. 양수 값을 입력하면 바퀴가 앞으로 회전하고, 음수 값을 입력하면 뒤로 회전합니다. 숫자 0을 입력하면 정지합니다.",
"turtle_stop": "양쪽 바퀴를 정지합니다.",
"turtle_touching_color": "선택한 색깔을 컬러 센서가 감지하였으면 '참'으로 판단하고, 아니면 '거짓'으로 판단합니다.",
"turtle_turn_at_intersection": "검은색 교차로에서 잠시 앞으로 이동한 후 제자리에서 왼쪽/오른쪽/뒤쪽으로 회전하고 검은색 선을 찾아 다시 이동합니다.",
"turtle_turn_unit_in_place": "입력한 각도(도)/시간(초)/펄스만큼 왼쪽/오른쪽 방향으로 제자리에서 회전합니다.",
"turtle_turn_unit_with_radius_in_direction": "입력한 반지름의 원을 그리면서 입력한 각도(도)/시간(초)/펄스만큼 왼쪽/오른쪽, 머리/꼬리 방향으로 회전합니다.",
"turtle_value": "색깔 번호: 컬러 센서가 감지한 색깔의 번호 (값의 범위: -1 ~ 8, 초기값: -1)<br/>색깔 패턴: 컬러 센서가 감지한 색깔 패턴의 값 (값의 범위: -1 ~ 88, 초기값: -1)<br/>바닥 센서: 바닥 센서의 값 (값의 범위: 0 ~ 100, 초기값: 0)<br/>버튼: 거북이 등 버튼의 상태 값 (누르면 1, 아니면 0, 초기값: 0)<br/>x축 가속도: 가속도 센서의 X축 값 (값의 범위: -32768 ~ 32767, 초기값: 0) 로봇이 전진하는 방향이 X축의 양수 방향입니다.<br/>y축 가속도: 가속도 센서의 Y축 값 (값의 범위: -32768 ~ 32767, 초기값: 0) 로봇의 왼쪽 방향이 Y축의 양수 방향입니다.<br/>z축 가속도: 가속도 센서의 Z축 값 (값의 범위: -32768 ~ 32767, 초기값: 0) 로봇의 위쪽 방향이 Z축의 양수 방향입니다.",
"neobot_sensor_value": "IN1 ~ IN3 포트 및 리모컨에서 입력되는 값 그리고 배터리 정보를 0부터 255의 숫자로 표시합니다.",
"neobot_sensor_convert_scale": "선택한 포트 입력값의 변화를 특정범위의 값으로 표현범위를 조절할 수 있습니다.",
"neobot_left_motor": "L모터 포트에 연결한 모터의 회전방향 및 속도를 설정합니다.",
"neobot_stop_left_motor": "L모터 포트에 연결한 모터를 정지합니다.",
"neobot_right_motor": "R모터 포트에 연결한 모터의 회전방향 및 속도를 설정합니다.",
"neobot_stop_right_motor": "R모터 포트에 연결한 모터를 정지합니다.",
"neobot_all_motor": "L모터 및 R모터 포트에 2개 모터를 연결하여 바퀴로 활용할 때 전, 후, 좌, 우 이동 방향 및 속도, 시간을 설정할 수 있습니다.",
"neobot_stop_all_motor": "L모터 및 R모터에 연결한 모터를 모두 정지합니다.",
"neobot_set_servo": "OUT1 ~ OUT3에 서보모터를 연결했을 때 0도 ~ 180도 범위 내에서 각도를 조절할 수 있습니다.",
"neobot_set_output": "OUT1 ~ OUT3에 라이팅블록 및 전자회로를 연결했을 때 출력 전압을 설정할 수 있습니다.</br>0은 0V, 1 ~ 255는 2.4 ~ 4.96V의 전압을 나타냅니다.",
"neobot_set_fnd": "FND로 0~99 까지의 숫자를 표시할 수 있습니다.",
"neobot_set_fnd_off": "FND에 표시한 숫자를 끌 수 있습니다.",
"neobot_play_note_for": "주파수 발진 방법을 이용해 멜로디에 반음 단위의 멜로디 음을 발생시킬 수 있습니다.",
"rotate_by_angle_dropdown": "오브젝트의 방향을 입력한 각도만큼 시계방향으로 회전합니다. (오브젝트의 중심점을 기준으로 회전합니다.)",
"chocopi_control_button": "버튼이 눌리면 참이 됩니다.<br/><br/>포트번호는 맞추지 않아도 됩니다.<br/>단, 같은 종류의 모듈을 여러 개 연결하는 경우에만 포트를 지정하면 됩니다.",
"chocopi_control_event": "버튼을 누르거나 뗄 때 처리할 엔트리 블록들을 연결합니다.<br/><br/>포트번호는 맞추지 않아도 됩니다.<br/>단, 같은 종류의 모듈을 여러 개 연결하는 경우에만 포트를 지정하면 됩니다.",
"chocopi_control_joystick": "조이스틱 좌우, 상하, 볼륨의 값은 0~4095까지 입니다.<br/>따라서 2047 근처가 중간이 됩니다.<br/><br/>포트번호는 맞추지 않아도 됩니다.<br/>단, 같은 종류의 모듈을 여러 개 연결하는 경우에만 포트를 지정하면 됩니다.",
"chocopi_dc_motor": "DC모터 모듈에는 직류전동기 두개를 연결 할 수 있습니다.<br/> 직류 전동기는 최대 5V로 동작하게 됩니다.<br/>값은 100이 최대(100%)이고 음수를 넣으면 반대 방향으로 회전합니다.<br/><br/>포트번호는 맞추지 않아도 됩니다.<br/>단, 같은 종류의 모듈을 여러 개 연결하는 경우에만 포트를 지정하면 됩니다.",
"chocopi_led": "LED번호는 LED블록에 연결된 순서이고 1번부터 시작합니다.<br/>RGB값은 0~255사이의 값입니다.<br/>빨강(Red),녹색(Green), 파랑(Blue)순서로 입력합니다.<br/>밝은 LED를 직접보면 눈이 아프니까 값을 0~5정도로 씁니다.<br/><br/>포트번호는 맞추지 않아도 됩니다.<br/>단, 같은 종류의 모듈을 여러 개 연결하는 경우에만 포트를 지정하면 됩니다.",
"chocopi_motion_photogate_event": "포토게이트는 모션블록에 연결합니다.<br/>포토게이트는 한쪽에서 나온 빛을 맞은 편의 센서가 감지하는 장치입니다.<br/>빛센서를 물체로 가리거나 치우면 시작되는 엔트리 블록을 연결합니다<br/>모션 모듈에는 포토게이트 2개를 연결할 수 있습니다.<br/><br/>포트번호는 맞추지 않아도 됩니다.<br/>단, 같은 종류의 모듈을 여러 개 연결하는 경우에만 포트를 지정하면 됩니다.",
"chocopi_motion_photogate_status": "포토게이트는 모션블록에 연결합니다.<br/>포토게이트는 한쪽에서 나온 빛을 맞은 편의 센서가 감지하는 장치입니다.<br>물체가 빛센서를 가리면 참</b>이됩니다.<br/><br/>포트번호는 맞추지 않아도 됩니다.<br/>단, 같은 종류의 모듈을 여러 개 연결하는 경우에만 포트를 지정하면 됩니다.",
"chocopi_motion_photogate_time": "포토게이트는 모션블록에 연결합니다.<br/>포토게이트는 한쪽에서 나온 빛을 맞은 편의 센서가 감지하는 장치입니다.<br>이 블록은 물체가 빛센서를 가리거나 벗어난 시간을 가집니다.<br/>1/10000초까지 측정할 수 있습니다.<br/><br/>포트번호는 맞추지 않아도 됩니다.<br/>단, 같은 종류의 모듈을 여러 개 연결하는 경우에만 포트를 지정하면 됩니다.",
"chocopi_motion_value": "모션 모듈에는 3개의 적외선 센서가 있습니다.<br/>0~4095사이의 값을 가질 수 있는데 물체가 빛을 많이 반사할 수록 작은 값을 가집니다. <br/>거리를 대략적으로 측정할 수 있습니다. <br/>가속도와 각가속도 값의 범위는 -32768~32767 까지입니다.<br/>가속도를 이용해서 센서의 기울기를 측정할 수도 있습니다.<br/><br/>포트번호는 맞추지 않아도 됩니다.<br/>단, 같은 종류의 모듈을 여러 개 연결하는 경우에만 포트를 지정하면 됩니다.",
"chocopi_sensor": "온도 값은 섭씨 온도입니다.<br/>습도 값은 백분율로 나타낸 상대습도 값입니다.<br/>빛은 로그스케일로 0~4095사이입니다.<br/>아날로그 값은 0~4095사이입니다.<br/><br/>포트번호는 맞추지 않아도 됩니다.<br>단, 같은 종류의 모듈을 여러 개 연결하는 경우에만 포트를 지정하면 됩니다.",
"chocopi_servo_motor": "서보모터 모듈에는 4개의 서보모터를 연결 할 수 있습니다.<br/>서보모터는 5V로 동작하게 됩니다.<br/>각도는 0~200도까지 지정할 수 있습니다.<br/>연속회전식 서보모터를 연결하면 각도에 따라 속도가 변하게됩니다.<br/>90~100 사이가 중간값입니다.<br/><br/>포트번호는 맞추지 않아도 됩니다.<br/>단, 같은 종류의 모듈을 여러 개 연결하는 경우에만 포트를 지정하면 됩니다.",
"chocopi_touch_event": "터치 모듈에는 1~12번의 연결 패드가 있습니다. <br/>만지거나 뗄 때 처리할 엔트리 블록들을 연결합니다.<br/><br/>포트번호는 맞추지 않아도 됩니다.<br/>단, 같은 종류의 모듈을 여러 개 연결하는 경우에만 포트를 지정하면 됩니다.",
"chocopi_touch_status": "터치 모듈의 패드를 만지면 참이됩니다.<br/><br/>포트번호는 맞추지 않아도 됩니다.<br>단, 같은 종류의 모듈을 여러 개 연결하는 경우에만 포트를 지정하면 됩니다.",
"chocopi_touch_value": "터치패드에 연결된 물체의 전기용량이 커지면 값이 작아집니다.<br/>여러 명이 손잡고 만지면 더 작은 값이 됩니다.<br/>전기용량이란 물체에 전기를 띈 입자를 얼마나 가지고 있을 수 있는 지를 말합니다.<br/><br/>포트번호는 맞추지 않아도 됩니다.<br/>단, 같은 종류의 모듈을 여러 개 연결하는 경우에만 포트를 지정하면 됩니다.",
"byrobot_dronefighter_controller_controller_value_button": "<br>조종기에서 눌러진 버튼과 관련된 이벤트를 반환합니다.<br><br><font color='crimson'>#값</font> <font color='dodgerblue'>#조종기</font> <font color='forestgreen'>#버튼</font>",
"byrobot_dronefighter_controller_controller_value_joystick": "<br>조종기의 조이스틱과 관련된 입력 값을 반환합니다. 각 축의 범위는 -100 ~ 100 입니다.<br><br><font color='crimson'>#값</font> <font color='dodgerblue'>#조종기</font> <font color='forestgreen'>#조이스틱</font>",
"byrobot_dronefighter_controller_controller_if_button_press": "<br>지정한 조종기의 버튼이 눌러졌을 때 true를 반환합니다.<br><br><font color='crimson'>#조건</font> <font color='dodgerblue'>#조종기</font> <font color='forestgreen'>#버튼</font>",
"byrobot_dronefighter_controller_controller_if_joystick_direction": "<br>조종기의 조이스틱을 지정한 방향으로 움직였을 때 true를 반환합니다.<br><br><font color='crimson'>#조건</font> <font color='dodgerblue'>#조종기</font> <font color='forestgreen'>#조이스틱</font>",
"byrobot_dronefighter_controller_controller_light_manual_single_off": "<br>조종기의 모든 LED를 끕니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#LED끄기</font>",
"byrobot_dronefighter_controller_controller_light_manual_single": "<br>조종기 LED를 조작하는데 사용합니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#LED제어</font>",
"byrobot_dronefighter_controller_controller_light_manual_single_input": "<br>조종기 LED 여러 개의 밝기를 동시에 변경할 때 사용합니다. 2진수(0b00000000 ~ 0b11111111), 10진수(0 ~ 255), 16진수(0x00 ~ 0xFF) 값을 사용할 수 있습니다. 2진수로 표현한 값에서 각각의 비트는 개별 LED를 선택하는 스위치 역할을 합니다. 밝기 값은 0 ~ 255 사이의 값을 사용할 수 있습니다. 값이 커질수록 더 밝아집니다. <br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#LED제어</font>",
"byrobot_dronefighter_controller_controller_buzzer_off": "<br>버저 작동을 중단합니다. 예약된 소리가 있다면 모두 삭제합니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#버저끄기</font>",
"byrobot_dronefighter_controller_controller_buzzer_scale": "<br>지정한 옥타브의 음을 계속해서 연주합니다(최대 60초). 이 블럭을 만났을 경우 소리가 켜져있거나 예약된 소리가 있다면 모두 삭제합니다. 이 블럭은 연주 명령을 실행 후 바로 다음 블럭으로 넘어갑니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#버저</font> <font color='forestgreen'>#음계</font> <font color='peru'>#즉시</font>",
"byrobot_dronefighter_controller_controller_buzzer_scale_delay": "<br>지정한 옥타브의 음을 지정한 시간동안 연주합니다. 이 블럭을 만났을 경우 소리가 켜져있거나 예약된 소리가 있다면 모두 삭제합니다. 이 블럭을 사용하면 소리가 끝날때까지 다음 블럭으로 넘어가지 않습니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#버저</font> <font color='forestgreen'>#음계</font> <font color='peru'>#즉시</font> <font color='blueviolet'>#시간지연</font>",
"byrobot_dronefighter_controller_controller_buzzer_scale_reserve": "<br>지정한 옥타브의 음을 지정한 시간동안 연주하도록 예약합니다. 이 블럭은 소리가 나도록 예약하고 바로 다음 블럭으로 넘어갑니다. 예약은 최대 12개까지 누적할 수 있습니다. 이 블럭은 주로 버저 소리와 함께 다른 행동을 동시에 할 때 사용합니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#버저</font> <font color='forestgreen'>#음계</font> <font color='peru'>#예약</font>",
"byrobot_dronefighter_controller_controller_buzzer_hz": "<br>지정한 주파수의 소리를 계속해서 연주합니다(최대 60초). 권장 사용 범위는 250 ~ 8000 입니다. 4옥타브를 기준으로 도(261), 도#(277), 레(293), 레#(311), 미(329), 파(349), 파#(370), 솔(392), 솔#(415), 라(440), 라#(466), 시(493)입니다. 여기에서 한 옥타브를 올라갈 때마다 주파수 값이 두 배가 됩니다. 한 옥타브를 내려갈 때에는 주파수 값이 절반이 됩니다. 예를 들면 3옥타브의 도는 130.8128Hz, 4옥타브의 도는 261.6256Hz, 5옥타브의 도는 523.2511Hz 입니다. 이 블럭을 만났을 경우 소리가 켜져있거나 예약된 소리가 있다면 모두 삭제합니다. 이 블럭은 연주 명령을 실행 후 바로 다음 블럭으로 넘어갑니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#버저</font> <font color='forestgreen'>#주파수</font> <font color='peru'>#즉시</font>",
"byrobot_dronefighter_controller_controller_buzzer_hz_delay": "<br>지정한 주파수의 소리를 지정한 시간동안 연주합니다. 권장 사용 범위는 250 ~ 8000 입니다. 4옥타브를 기준으로 도(261), 도#(277), 레(293), 레#(311), 미(329), 파(349), 파#(370), 솔(392), 솔#(415), 라(440), 라#(466), 시(493)입니다. 여기에서 한 옥타브를 올라갈 때마다 주파수 값이 두 배가 됩니다. 한 옥타브를 내려갈 때에는 주파수 값이 절반이 됩니다. 예를 들면 3옥타브의 도는 130.8128Hz, 4옥타브의 도는 261.6256Hz, 5옥타브의 도는 523.2511Hz 입니다. 이 블럭을 만났을 경우 소리가 켜져있거나 예약된 소리가 있다면 모두 삭제합니다. 이 블럭을 사용하면 소리가 끝날때까지 다음 블럭으로 넘어가지 않습니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#버저</font> <font color='forestgreen'>#음계</font> <font color='peru'>#즉시</font> <font color='blueviolet'>#시간지연</font>",
"byrobot_dronefighter_controller_controller_buzzer_hz_reserve": "<br>지정한 주파수의 소리를 지정한 시간동안 연주하도록 예약합니다. 권장 사용 범위는 250 ~ 8000 입니다. 4옥타브를 기준으로 도(261), 도#(277), 레(293), 레#(311), 미(329), 파(349), 파#(370), 솔(392), 솔#(415), 라(440), 라#(466), 시(493)입니다. 여기에서 한 옥타브를 올라갈 때마다 주파수 값이 두 배가 됩니다. 한 옥타브를 내려갈 때에는 주파수 값이 절반이 됩니다. 예를 들면 3옥타브의 도는 130.8128Hz, 4옥타브의 도는 261.6256Hz, 5옥타브의 도는 523.2511Hz 입니다. 이 블럭은 소리가 나도록 예약하고, 바로 다음 블럭으로 넘어갑니다. 예약은 최대 12개까지 누적할 수 있습니다. 이 블럭은 주로 버저 소리와 함께 다른 행동을 동시에 할 때 사용합니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#버저</font> <font color='forestgreen'>#주파수</font> <font color='peru'>#예약</font>",
"byrobot_dronefighter_controller_controller_vibrator_off": "<br>진동을 끕니다. 예약된 진동이 있다면 모두 삭제합니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#진동끄기</font>",
"byrobot_dronefighter_controller_controller_vibrator_on_delay": "<br>진동을 지정한 시간동안 켭니다. 이 블럭을 만났을 경우 진동이 켜져있거나 예약된 진동이 있다면 모두 삭제합니다. 이 블럭은 지정한 시간이 끝날 때까지 다음 블럭으로 넘어가지 않습니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#진동</font> <font color='forestgreen'>#즉시</font> <font color='peru'>#시간지연</font>",
"byrobot_dronefighter_controller_controller_vibrator_on_reserve": "<br>진동을 지정한 시간동안 켜는 것을 예약합니다. 이 블럭은 명령을 전달 후 바로 다음 블럭으로 넘어갑니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#진동</font> <font color='forestgreen'>#예약</font>",
"byrobot_dronefighter_controller_controller_vibrator_delay": "<br>진동을 지정한 시간동안 켜고 끄는 것을 지정한 시간동안 반복합니다. 이 블럭을 만났을 경우 진동이 켜져있거나 예약된 진동이 있다면 모두 삭제합니다. 이 블럭은 지정한 시간이 끝날 때까지 다음 블럭으로 넘어가지 않습니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#진동</font> <font color='forestgreen'>#즉시</font> <font color='peru'>#시간지연</font>",
"byrobot_dronefighter_controller_controller_vibrator_reserve": "<br>진동을 지정한 시간동안 켜고 끄는 것을 지정한 시간동안 반복하도록 예약합니다. 이 블럭은 명령을 전달 후 바로 다음 블럭으로 넘어갑니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#진동</font> <font color='forestgreen'>#예약</font>",
"byrobot_dronefighter_controller_controller_userinterface_preset": "<br>조종기 설정 모드의 사용자 인터페이스를 미리 정해둔 설정으로 변경합니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#설정모드</font> <font color='forestgreen'>#인터페이스</font>",
"byrobot_dronefighter_controller_controller_userinterface": "<br>조종기 설정 모드의 사용자 인터페이스를 직접 지정합니다. 각 버튼 및 조이스틱 조작 시 어떤 명령을 사용할 것인지를 지정할 수 있습니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#설정모드</font> <font color='forestgreen'>#인터페이스</font>",
"byrobot_dronefighter_drive_drone_value_attitude": "<br>자동차의 현재 자세를 각도로 반환합니다. Roll은 좌우 기울기(-90 ~ 90), Pitch는 앞뒤 기울기(-90 ~ 90), Yaw는 회전 각도(-180 ~ 180) 입니다.<br><br><font color='crimson'>#값</font> <font color='dodgerblue'>#자동차</font> <font color='forestgreen'>#자세</font>",
"byrobot_dronefighter_drive_drone_value_etc": "<br>드론파이터 설정과 관련된 값들과 적외선 통신으로 받은 값을 반환합니다.<br><br><font color='crimson'>#값</font> <font color='dodgerblue'>#자동차</font> <font color='forestgreen'>#기타</font>",
"byrobot_dronefighter_drive_controller_value_button": "<br>조종기에서 눌러진 버튼과 관련된 이벤트를 반환합니다.<br><br><font color='crimson'>#값</font> <font color='dodgerblue'>#조종기</font> <font color='forestgreen'>#버튼</font>",
"byrobot_dronefighter_drive_controller_value_joystick": "<br>조종기의 조이스틱과 관련된 입력 값을 반환합니다. 각 축의 범위는 -100 ~ 100 입니다.<br><br><font color='crimson'>#값</font> <font color='dodgerblue'>#조종기</font> <font color='forestgreen'>#조이스틱</font>",
"byrobot_dronefighter_drive_controller_if_button_press": "<br>지정한 조종기의 버튼이 눌러졌을 때 true를 반환합니다.<br><br><font color='crimson'>#조건</font> <font color='dodgerblue'>#조종기</font> <font color='forestgreen'>#버튼</font>",
"byrobot_dronefighter_drive_controller_if_joystick_direction": "<br>조종기의 조이스틱을 지정한 방향으로 움직였을 때 true를 반환합니다.<br><br><font color='crimson'>#조건</font> <font color='dodgerblue'>#조종기</font> <font color='forestgreen'>#조이스틱</font>",
"byrobot_dronefighter_drive_drone_control_car_stop": "<br>자동차 작동을 정지합니다.<br><br><font color='crimson'>#자동차</font> <font color='dodgerblue'>#정지</font>",
"byrobot_dronefighter_drive_drone_control_double_one": "<br>자동차 조종 값을 지정합니다. 입력 가능한 값의 범위는 방향 -100 ~ 100, 전진 0 ~ 100입니다. 명령 전달 후 바로 다음 블럭으로 넘어갑니다.<br><br><font color='crimson'>#자동차</font> <font color='dodgerblue'>#조종</font>",
"byrobot_dronefighter_drive_drone_control_double_one_delay": "<br>자동차 조종 값을 지정합니다. 입력 가능한 값의 범위는 방향 -100 ~ 100, 전진 0 ~ 100입니다. 지정한 시간이 지나면 해당 조종 값을 0으로 변경합니다. 지정한 시간이 끝날 때까지 다음 블럭으로 넘어가지 않습니다.<br><br><font color='crimson'>#자동차</font> <font color='dodgerblue'>#조종</font> <font color='forestgreen'>#시간지연</font>",
"byrobot_dronefighter_drive_drone_control_double": "<br>자동차 조종 값을 지정합니다. 입력 가능한 값의 범위는 방향 -100 ~ 100, 전진 0 ~ 100입니다. 명령 전달 후 바로 다음 블럭으로 넘어갑니다.<br><br><font color='crimson'>#자동차</font> <font color='dodgerblue'>#조종</font>",
"byrobot_dronefighter_drive_drone_motor_stop": "<br>모든 모터의 작동을 정지합니다.<br><br><font color='crimson'>#자동차</font> <font color='dodgerblue'>#모터정지</font>",
"byrobot_dronefighter_drive_drone_motorsingle": "<br>지정한 모터를 원하는 빠르기로 회전할 때 사용합니다. 사용 가능한 값의 범위는 0 ~ 4000입니다. 모터의 순서는 '왼쪽 앞', '오른쪽 앞', '오른쪽 뒤', '왼쪽 뒤' 입니다.<br><br><font color='crimson'>#자동차</font> <font color='dodgerblue'>#모터제어</font>",
"byrobot_dronefighter_drive_drone_motorsingle_input": "<br>지정한 모터(1, 2, 3, 4)를 원하는 빠르기로 회전할 때 사용합니다. 사용 가능한 값의 범위는 0 ~ 4000입니다. 모터의 순서는 '왼쪽 앞', '오른쪽 앞', '오른쪽 뒤', '왼쪽 뒤' 입니다.<br><br><font color='crimson'>#자동차</font> <font color='dodgerblue'>#모터제어</font>",
"byrobot_dronefighter_drive_drone_irmessage": "<br>적외선으로 지정한 값을 보냅니다. 사용 가능한 값의 범위는 0 ~ 127입니다.<br><br><font color='crimson'>#자동차</font> <font color='dodgerblue'>#적외선통신</font>",
"byrobot_dronefighter_drive_drone_light_manual_single_off": "<br>자동차의 모든 LED를 끕니다.<br><br><font color='crimson'>#자동차</font> <font color='dodgerblue'>#LED끄기</font>",
"byrobot_dronefighter_drive_drone_light_manual_single": "<br>자동차의 LED를 조작하는데 사용합니다.<br><br><font color='crimson'>#자동차</font> <font color='dodgerblue'>#LED제어</font>",
"byrobot_dronefighter_drive_drone_light_manual_single_input": "<br>자동차 LED 여러 개의 밝기를 동시에 변경할 때 사용합니다. 2진수(0b00000000 ~ 0b11111111), 10진수(0 ~ 255), 16진수(0x00 ~ 0xFF) 값을 사용할 수 있습니다. 2진수로 표현한 값에서 각각의 비트는 개별 LED를 선택하는 스위치 역할을 합니다. 밝기 값은 0 ~ 255 사이의 값을 사용할 수 있습니다. 값이 커질수록 더 밝아집니다.<br><br><font color='crimson'>#자동차</font> <font color='dodgerblue'>#LED제어</font>",
"byrobot_dronefighter_drive_controller_light_manual_single_off": "<br>조종기의 모든 LED를 끕니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#LED끄기</font>",
"byrobot_dronefighter_drive_controller_light_manual_single": "<br>조종기 LED를 조작하는데 사용합니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#LED제어</font>",
"byrobot_dronefighter_drive_controller_light_manual_single_input": "<br>조종기 LED 여러 개의 밝기를 동시에 변경할 때 사용합니다. 2진수(0b00000000 ~ 0b11111111), 10진수(0 ~ 255), 16진수(0x00 ~ 0xFF) 값을 사용할 수 있습니다. 2진수로 표현한 값에서 각각의 비트는 개별 LED를 선택하는 스위치 역할을 합니다. 밝기 값은 0 ~ 255 사이의 값을 사용할 수 있습니다. 값이 커질수록 더 밝아집니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#LED제어</font>",
"byrobot_dronefighter_drive_controller_buzzer_off": "<br>버저 작동을 중단합니다. 예약된 소리가 있다면 모두 삭제합니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#버저끄기</font>",
"byrobot_dronefighter_drive_controller_buzzer_scale": "<br>지정한 옥타브의 음을 계속해서 연주합니다(최대 60초). 이 블럭을 만났을 경우 소리가 켜져있거나 예약된 소리가 있다면 모두 삭제합니다. 이 블럭은 연주 명령을 실행 후 바로 다음 블럭으로 넘어갑니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#버저</font> <font color='forestgreen'>#음계</font> <font color='peru'>#즉시</font>",
"byrobot_dronefighter_drive_controller_buzzer_scale_delay": "<br>지정한 옥타브의 음을 지정한 시간동안 연주합니다. 이 블럭을 만났을 경우 소리가 켜져있거나 예약된 소리가 있다면 모두 삭제합니다. 이 블럭을 사용하면 소리가 끝날때까지 다음 블럭으로 넘어가지 않습니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#버저</font> <font color='forestgreen'>#음계</font> <font color='peru'>#즉시</font> <font color='blueviolet'>#시간지연</font>",
"byrobot_dronefighter_drive_controller_buzzer_scale_reserve": "<br>지정한 옥타브의 음을 지정한 시간동안 연주하도록 예약합니다. 이 블럭은 소리가 나도록 예약하고 바로 다음 블럭으로 넘어갑니다. 예약은 최대 12개까지 누적할 수 있습니다. 이 블럭은 주로 버저 소리와 함께 다른 행동을 동시에 할 때 사용합니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#버저</font> <font color='forestgreen'>#음계</font> <font color='peru'>#예약</font>",
"byrobot_dronefighter_drive_controller_buzzer_hz": "<br>지정한 주파수의 소리를 계속해서 연주합니다(최대 60초). 권장 사용 범위는 250 ~ 8000 입니다. 4옥타브를 기준으로 도(261), 도#(277), 레(293), 레#(311), 미(329), 파(349), 파#(370), 솔(392), 솔#(415), 라(440), 라#(466), 시(493)입니다. 여기에서 한 옥타브를 올라갈 때마다 주파수 값이 두 배가 됩니다. 한 옥타브를 내려갈 때에는 주파수 값이 절반이 됩니다. 예를 들면 3옥타브의 도는 130.8128Hz, 4옥타브의 도는 261.6256Hz, 5옥타브의 도는 523.2511Hz 입니다. 이 블럭을 만났을 경우 소리가 켜져있거나 예약된 소리가 있다면 모두 삭제합니다. 이 블럭은 연주 명령을 실행 후 바로 다음 블럭으로 넘어갑니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#버저</font> <font color='forestgreen'>#주파수</font> <font color='peru'>#즉시</font>",
"byrobot_dronefighter_drive_controller_buzzer_hz_delay": "<br>지정한 주파수의 소리를 지정한 시간동안 연주합니다. 권장 사용 범위는 250 ~ 8000 입니다. 4옥타브를 기준으로 도(261), 도#(277), 레(293), 레#(311), 미(329), 파(349), 파#(370), 솔(392), 솔#(415), 라(440), 라#(466), 시(493)입니다. 여기에서 한 옥타브를 올라갈 때마다 주파수 값이 두 배가 됩니다. 한 옥타브를 내려갈 때에는 주파수 값이 절반이 됩니다. 예를 들면 3옥타브의 도는 130.8128Hz, 4옥타브의 도는 261.6256Hz, 5옥타브의 도는 523.2511Hz 입니다. 이 블럭을 만났을 경우 소리가 켜져있거나 예약된 소리가 있다면 모두 삭제합니다. 이 블럭을 사용하면 소리가 끝날때까지 다음 블럭으로 넘어가지 않습니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#버저</font> <font color='forestgreen'>#음계</font> <font color='peru'>#즉시</font> <font color='blueviolet'>#시간지연</font>",
"byrobot_dronefighter_drive_controller_buzzer_hz_reserve": "<br>지정한 주파수의 소리를 지정한 시간동안 연주하도록 예약합니다. 권장 사용 범위는 250 ~ 8000 입니다. 4옥타브를 기준으로 도(261), 도#(277), 레(293), 레#(311), 미(329), 파(349), 파#(370), 솔(392), 솔#(415), 라(440), 라#(466), 시(493)입니다. 여기에서 한 옥타브를 올라갈 때마다 주파수 값이 두 배가 됩니다. 한 옥타브를 내려갈 때에는 주파수 값이 절반이 됩니다. 예를 들면 3옥타브의 도는 130.8128Hz, 4옥타브의 도는 261.6256Hz, 5옥타브의 도는 523.2511Hz 입니다. 이 블럭은 소리가 나도록 예약하고, 바로 다음 블럭으로 넘어갑니다. 예약은 최대 12개까지 누적할 수 있습니다. 이 블럭은 주로 버저 소리와 함께 다른 행동을 동시에 할 때 사용합니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#버저</font> <font color='forestgreen'>#주파수</font> <font color='peru'>#예약</font>",
"byrobot_dronefighter_drive_controller_vibrator_off": "<br>진동을 끕니다. 예약된 진동이 있다면 모두 삭제합니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#진동끄기</font>",
"byrobot_dronefighter_drive_controller_vibrator_on_delay": "<br>진동을 지정한 시간동안 켭니다. 이 블럭을 만났을 경우 진동이 켜져있거나 예약된 진동이 있다면 모두 삭제합니다. 이 블럭은 지정한 시간이 끝날 때까지 다음 블럭으로 넘어가지 않습니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#진동</font> <font color='forestgreen'>#즉시</font> <font color='peru'>#시간지연</font>",
"byrobot_dronefighter_drive_controller_vibrator_on_reserve": "<br>진동을 지정한 시간동안 켜는 것을 예약합니다. 이 블럭은 명령을 전달 후 바로 다음 블럭으로 넘어갑니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#진동</font> <font color='forestgreen'>#예약</font>",
"byrobot_dronefighter_drive_controller_vibrator_delay": "<br>진동을 지정한 시간동안 켜고 끄는 것을 지정한 시간동안 반복합니다. 이 블럭을 만났을 경우 진동이 켜져있거나 예약된 진동이 있다면 모두 삭제합니다. 이 블럭은 지정한 시간이 끝날 때까지 다음 블럭으로 넘어가지 않습니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#진동</font> <font color='forestgreen'>#즉시</font> <font color='peru'>#시간지연</font>",
"byrobot_dronefighter_drive_controller_vibrator_reserve": "<br>진동을 지정한 시간동안 켜고 끄는 것을 지정한 시간동안 반복하도록 예약합니다. 이 블럭은 명령을 전달 후 바로 다음 블럭으로 넘어갑니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#진동</font> <font color='forestgreen'>#예약</font>",
"byrobot_dronefighter_flight_drone_value_attitude": "<br>드론의 현재 자세를 각도로 반환합니다. Roll은 좌우 기울기(-90 ~ 90), Pitch는 앞뒤 기울기(-90 ~ 90), Yaw는 회전 각도(-180 ~ 180) 입니다.<br><br><font color='crimson'>#값</font> <font color='dodgerblue'>#드론</font> <font color='forestgreen'>#자세</font>",
"byrobot_dronefighter_flight_drone_value_etc": "<br>드론파이터 설정과 관련된 값들과 적외선 통신으로 받은 값을 반환합니다.<br><br><font color='crimson'>#값</font> <font color='dodgerblue'>#드론</font> <font color='forestgreen'>#기타</font>",
"byrobot_dronefighter_flight_controller_value_button": "<br>조종기에서 눌러진 버튼과 관련된 이벤트를 반환합니다.<br><br><font color='crimson'>#값</font> <font color='dodgerblue'>#조종기</font> <font color='forestgreen'>#버튼</font>",
"byrobot_dronefighter_flight_controller_value_joystick": "<br>조종기의 조이스틱과 관련된 입력 값을 반환합니다. 각 축의 범위는 -100 ~ 100 입니다.<br><br><font color='crimson'>#값</font> <font color='dodgerblue'>#조종기</font> <font color='forestgreen'>#조이스틱</font>",
"byrobot_dronefighter_flight_controller_if_button_press": "<br>지정한 조종기의 버튼이 눌러졌을 때 true를 반환합니다.<br><br><font color='crimson'>#조건</font> <font color='dodgerblue'>#조종기</font> <font color='forestgreen'>#버튼</font>",
"byrobot_dronefighter_flight_controller_if_joystick_direction": "<br>조종기의 조이스틱을 지정한 방향으로 움직였을 때 true를 반환합니다.<br><br><font color='crimson'>#조건</font> <font color='dodgerblue'>#조종기</font> <font color='forestgreen'>#조이스틱</font>",
"byrobot_dronefighter_flight_drone_control_drone_stop": "<br>드론 작동을 정지합니다.<br><br><font color='crimson'>#드론</font> <font color='dodgerblue'>#정지</font>",
"byrobot_dronefighter_flight_drone_control_coordinate": "<br>드론 좌표 기준을 변경합니다. 앱솔루트 모드는 이륙 시와 '방향초기화'를 했을 때 드론이 바라보는 방향을 기준으로 앞뒤좌우가 고정됩니다. 이 때에는 Yaw를 조작하여 드론이 다른 방향을 보게 하여도 처음 지정한 방향을 기준으로 앞뒤좌우로 움직입니다. 사용자가 바라보는 방향과 드론의 기준 방향이 같을 때 조작하기 편리한 장점이 있습니다. 일반 모드는 현재 드론이 바라보는 방향을 기준으로 앞뒤좌우가 결정됩니다. 드론의 움직임에 따라 앞뒤좌우가 계속 바뀌기 때문에 익숙해지기 전까지는 사용하기 어려울 수 있습니다.<br><br><font color='crimson'>#드론</font> <font color='dodgerblue'>#좌표기준</font>",
"byrobot_dronefighter_flight_drone_control_drone_reset_heading": "<br>드론의 방향을 초기화합니다. 앱솔루트 모드인 경우 현재 드론이 바라보는 방향을 0도로 변경합니다. 일반 모드에서는 아무런 영향이 없습니다.<br><br><font color='crimson'>#드론</font> <font color='dodgerblue'>#방향초기화</font>",
"byrobot_dronefighter_flight_drone_control_quad_one": "<br>드론 조종 값을 지정합니다. 입력 가능한 값의 범위는 -100 ~ 100입니다. 정지 상태에서 Throttle 값을 50이상으로 지정하면 드론이 이륙합니다. 명령 전달 후 바로 다음 블럭으로 넘어갑니다.<br><br><font color='crimson'>#드론</font> <font color='dodgerblue'>#조종</font>",
"byrobot_dronefighter_flight_drone_control_quad_one_delay": "<br>드론 조종 값을 지정합니다. 입력 가능한 값의 범위는 -100 ~ 100입니다. 정지 상태에서 Throttle 값을 50이상으로 지정하면 드론이 이륙합니다. 지정한 시간이 지나면 해당 조종 값을 0으로 변경합니다. 지정한 시간이 끝날 때까지 다음 블럭으로 넘어가지 않습니다.<br><br><font color='crimson'>#드론</font> <font color='dodgerblue'>#조종</font> <font color='forestgreen'>#시간지연</font>",
"byrobot_dronefighter_flight_drone_control_quad": "<br>드론 조종 값을 지정합니다. 입력 가능한 값의 범위는 -100 ~ 100입니다. 정지 상태에서 Throttle 값을 50이상으로 지정하면 드론이 이륙합니다. 명령 전달 후 바로 다음 블럭으로 넘어갑니다.<br><br><font color='crimson'>#드론</font> <font color='dodgerblue'>#조종</font>",
"byrobot_dronefighter_flight_drone_motor_stop": "<br>모든 모터의 작동을 정지합니다.<br><br><font color='crimson'>#드론</font> <font color='dodgerblue'>#모터정지</font>",
"byrobot_dronefighter_flight_drone_motorsingle": "<br>지정한 모터를 원하는 빠르기로 회전할 때 사용합니다. 사용 가능한 값의 범위는 0 ~ 4000입니다. 모터의 순서는 '왼쪽 앞', '오른쪽 앞', '오른쪽 뒤', '왼쪽 뒤' 입니다.<br><br><font color='crimson'>#드론</font> <font color='dodgerblue'>#모터제어</font>",
"byrobot_dronefighter_flight_drone_motorsingle_input": "<br>지정한 모터(1, 2, 3, 4)를 원하는 빠르기로 회전할 때 사용합니다. 사용 가능한 값의 범위는 0 ~ 4000입니다. 모터의 순서는 '왼쪽 앞', '오른쪽 앞', '오른쪽 뒤', '왼쪽 뒤' 입니다.<br><br><font color='crimson'>#드론</font> <font color='dodgerblue'>#모터제어</font>",
"byrobot_dronefighter_flight_drone_irmessage": "<br>적외선으로 지정한 값을 보냅니다. 사용 가능한 값의 범위는 0 ~ 127입니다.<br><br><font color='crimson'>#드론</font> <font color='dodgerblue'>#적외선통신</font>",
"byrobot_dronefighter_flight_drone_light_manual_single_off": "<br>드론의 모든 LED를 끕니다.<br><br><font color='crimson'>#드론</font> <font color='dodgerblue'>#LED끄기</font>",
"byrobot_dronefighter_flight_drone_light_manual_single": "<br>드론의 LED를 조작하는데 사용합니다.<br><br><font color='crimson'>#드론</font> <font color='dodgerblue'>#LED제어</font>",
"byrobot_dronefighter_flight_drone_light_manual_single_input": "<br>드론 LED 여러 개의 밝기를 동시에 변경할 때 사용합니다. 2진수(0b00000000 ~ 0b11111111), 10진수(0 ~ 255), 16진수(0x00 ~ 0xFF) 값을 사용할 수 있습니다. 2진수로 표현한 값에서 각각의 비트는 개별 LED를 선택하는 스위치 역할을 합니다. 밝기 값은 0 ~ 255 사이의 값을 사용할 수 있습니다. 값이 커질수록 더 밝아집니다.<br><br><font color='crimson'>#드론</font> <font color='dodgerblue'>#LED제어</font>",
"byrobot_dronefighter_flight_controller_light_manual_single_off": "<br>조종기의 모든 LED를 끕니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#LED끄기</font>",
"byrobot_dronefighter_flight_controller_light_manual_single": "<br>조종기 LED를 조작하는데 사용합니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#LED제어</font>",
"byrobot_dronefighter_flight_controller_light_manual_single_input": "<br>조종기 LED 여러 개의 밝기를 동시에 변경할 때 사용합니다. 2진수(0b00000000 ~ 0b11111111), 10진수(0 ~ 255), 16진수(0x00 ~ 0xFF) 값을 사용할 수 있습니다. 2진수로 표현한 값에서 각각의 비트는 개별 LED를 선택하는 스위치 역할을 합니다. 밝기 값은 0 ~ 255 사이의 값을 사용할 수 있습니다. 값이 커질수록 더 밝아집니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#LED제어</font>",
"byrobot_dronefighter_flight_controller_buzzer_off": "<br>버저 작동을 중단합니다. 예약된 소리가 있다면 모두 삭제합니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#버저끄기</font>",
"byrobot_dronefighter_flight_controller_buzzer_scale": "<br>지정한 옥타브의 음을 계속해서 연주합니다(최대 60초). 이 블럭을 만났을 경우 소리가 켜져있거나 예약된 소리가 있다면 모두 삭제합니다. 이 블럭은 연주 명령을 실행 후 바로 다음 블럭으로 넘어갑니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#버저</font> <font color='forestgreen'>#음계</font> <font color='peru'>#즉시</font>",
"byrobot_dronefighter_flight_controller_buzzer_scale_delay": "<br>지정한 옥타브의 음을 지정한 시간동안 연주합니다. 이 블럭을 만났을 경우 소리가 켜져있거나 예약된 소리가 있다면 모두 삭제합니다. 이 블럭을 사용하면 소리가 끝날때까지 다음 블럭으로 넘어가지 않습니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#버저</font> <font color='forestgreen'>#음계</font> <font color='peru'>#즉시</font> <font color='blueviolet'>#시간지연</font>",
"byrobot_dronefighter_flight_controller_buzzer_scale_reserve": "<br>지정한 옥타브의 음을 지정한 시간동안 연주하도록 예약합니다. 이 블럭은 소리가 나도록 예약하고 바로 다음 블럭으로 넘어갑니다. 예약은 최대 12개까지 누적할 수 있습니다. 이 블럭은 주로 버저 소리와 함께 다른 행동을 동시에 할 때 사용합니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#버저</font> <font color='forestgreen'>#음계</font> <font color='peru'>#예약</font>",
"byrobot_dronefighter_flight_controller_buzzer_hz": "<br>지정한 주파수의 소리를 계속해서 연주합니다(최대 60초). 권장 사용 범위는 250 ~ 8000 입니다. 4옥타브를 기준으로 도(261), 도#(277), 레(293), 레#(311), 미(329), 파(349), 파#(370), 솔(392), 솔#(415), 라(440), 라#(466), 시(493)입니다. 여기에서 한 옥타브를 올라갈 때마다 주파수 값이 두 배가 됩니다. 한 옥타브를 내려갈 때에는 주파수 값이 절반이 됩니다. 예를 들면 3옥타브의 도는 130.8128Hz, 4옥타브의 도는 261.6256Hz, 5옥타브의 도는 523.2511Hz 입니다. 이 블럭을 만났을 경우 소리가 켜져있거나 예약된 소리가 있다면 모두 삭제합니다. 이 블럭은 연주 명령을 실행 후 바로 다음 블럭으로 넘어갑니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#버저</font> <font color='forestgreen'>#주파수</font> <font color='peru'>#즉시</font>",
"byrobot_dronefighter_flight_controller_buzzer_hz_delay": "<br>지정한 주파수의 소리를 지정한 시간동안 연주합니다. 권장 사용 범위는 250 ~ 8000 입니다. 4옥타브를 기준으로 도(261), 도#(277), 레(293), 레#(311), 미(329), 파(349), 파#(370), 솔(392), 솔#(415), 라(440), 라#(466), 시(493)입니다. 여기에서 한 옥타브를 올라갈 때마다 주파수 값이 두 배가 됩니다. 한 옥타브를 내려갈 때에는 주파수 값이 절반이 됩니다. 예를 들면 3옥타브의 도는 130.8128Hz, 4옥타브의 도는 261.6256Hz, 5옥타브의 도는 523.2511Hz 입니다. 이 블럭을 만났을 경우 소리가 켜져있거나 예약된 소리가 있다면 모두 삭제합니다. 이 블럭을 사용하면 소리가 끝날때까지 다음 블럭으로 넘어가지 않습니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#버저</font> <font color='forestgreen'>#음계</font> <font color='peru'>#즉시</font> <font color='blueviolet'>#시간지연</font>",
"byrobot_dronefighter_flight_controller_buzzer_hz_reserve": "<br>지정한 주파수의 소리를 지정한 시간동안 연주하도록 예약합니다. 권장 사용 범위는 250 ~ 8000 입니다. 4옥타브를 기준으로 도(261), 도#(277), 레(293), 레#(311), 미(329), 파(349), 파#(370), 솔(392), 솔#(415), 라(440), 라#(466), 시(493)입니다. 여기에서 한 옥타브를 올라갈 때마다 주파수 값이 두 배가 됩니다. 한 옥타브를 내려갈 때에는 주파수 값이 절반이 됩니다. 예를 들면 3옥타브의 도는 130.8128Hz, 4옥타브의 도는 261.6256Hz, 5옥타브의 도는 523.2511Hz 입니다. 이 블럭은 소리가 나도록 예약하고, 바로 다음 블럭으로 넘어갑니다. 예약은 최대 12개까지 누적할 수 있습니다. 이 블럭은 주로 버저 소리와 함께 다른 행동을 동시에 할 때 사용합니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#버저</font> <font color='forestgreen'>#주파수</font> <font color='peru'>#예약</font>",
"byrobot_dronefighter_flight_controller_vibrator_off": "<br>진동을 끕니다. 예약된 진동이 있다면 모두 삭제합니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#진동끄기</font>",
"byrobot_dronefighter_flight_controller_vibrator_on_delay": "<br>진동을 지정한 시간동안 켭니다. 이 블럭을 만났을 경우 진동이 켜져있거나 예약된 진동이 있다면 모두 삭제합니다. 이 블럭은 지정한 시간이 끝날 때까지 다음 블럭으로 넘어가지 않습니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#진동</font> <font color='forestgreen'>#즉시</font> <font color='peru'>#시간지연</font>",
"byrobot_dronefighter_flight_controller_vibrator_on_reserve": "<br>진동을 지정한 시간동안 켜는 것을 예약합니다. 이 블럭은 명령을 전달 후 바로 다음 블럭으로 넘어갑니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#진동</font> <font color='forestgreen'>#예약</font>",
"byrobot_dronefighter_flight_controller_vibrator_delay": "<br>진동을 지정한 시간동안 켜고 끄는 것을 지정한 시간동안 반복합니다. 이 블럭을 만났을 경우 진동이 켜져있거나 예약된 진동이 있다면 모두 삭제합니다. 이 블럭은 지정한 시간이 끝날 때까지 다음 블럭으로 넘어가지 않습니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#진동</font> <font color='forestgreen'>#즉시</font> <font color='peru'>#시간지연</font>",
"byrobot_dronefighter_flight_controller_vibrator_reserve": "<br>진동을 지정한 시간동안 켜고 끄는 것을 지정한 시간동안 반복하도록 예약합니다. 이 블럭은 명령을 전달 후 바로 다음 블럭으로 넘어갑니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#진동</font> <font color='forestgreen'>#예약</font>",
"byrobot_petrone_v2_controller_controller_buzzer_hz": "<br>지정한 주파수의 소리를 계속해서 연주합니다(최대 60초). 권장 사용 범위는 250 ~ 8000 입니다. 4옥타브를 기준으로 도(261), 도#(277), 레(293), 레#(311), 미(329), 파(349), 파#(370), 솔(392), 솔#(415), 라(440), 라#(466), 시(493)입니다. 여기에서 한 옥타브를 올라갈 때마다 주파수 값이 두 배가 됩니다. 한 옥타브를 내려갈 때에는 주파수 값이 절반이 됩니다. 예를 들면 3옥타브의 도는 130.8128Hz, 4옥타브의 도는 261.6256Hz, 5옥타브의 도는 523.2511Hz 입니다. 이 블럭을 만났을 경우 소리가 켜져있거나 예약된 소리가 있다면 모두 삭제합니다. 이 블럭은 연주 명령을 실행 후 바로 다음 블럭으로 넘어갑니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#버저</font> <font color='forestgreen'>#주파수</font> <font color='peru'>#즉시</font>",
"byrobot_petrone_v2_controller_controller_buzzer_hz_delay": "<br>지정한 주파수의 소리를 지정한 시간동안 연주합니다. 권장 사용 범위는 250 ~ 8000 입니다. 4옥타브를 기준으로 도(261), 도#(277), 레(293), 레#(311), 미(329), 파(349), 파#(370), 솔(392), 솔#(415), 라(440), 라#(466), 시(493)입니다. 여기에서 한 옥타브를 올라갈 때마다 주파수 값이 두 배가 됩니다. 한 옥타브를 내려갈 때에는 주파수 값이 절반이 됩니다. 예를 들면 3옥타브의 도는 130.8128Hz, 4옥타브의 도는 261.6256Hz, 5옥타브의 도는 523.2511Hz 입니다. 이 블럭을 만났을 경우 소리가 켜져있거나 예약된 소리가 있다면 모두 삭제합니다. 이 블럭을 사용하면 소리가 끝날때까지 다음 블럭으로 넘어가지 않습니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#버저</font> <font color='forestgreen'>#음계</font> <font color='peru'>#즉시</font> <font color='blueviolet'>#시간지연</font>",
"byrobot_petrone_v2_controller_controller_buzzer_hz_reserve": "<br>지정한 주파수의 소리를 지정한 시간동안 연주하도록 예약합니다. 권장 사용 범위는 250 ~ 8000 입니다. 4옥타브를 기준으로 도(261), 도#(277), 레(293), 레#(311), 미(329), 파(349), 파#(370), 솔(392), 솔#(415), 라(440), 라#(466), 시(493)입니다. 여기에서 한 옥타브를 올라갈 때마다 주파수 값이 두 배가 됩니다. 한 옥타브를 내려갈 때에는 주파수 값이 절반이 됩니다. 예를 들면 3옥타브의 도는 130.8128Hz, 4옥타브의 도는 261.6256Hz, 5옥타브의 도는 523.2511Hz 입니다. 이 블럭은 소리가 나도록 예약하고, 바로 다음 블럭으로 넘어갑니다. 예약은 최대 12개까지 누적할 수 있습니다. 이 블럭은 주로 버저 소리와 함께 다른 행동을 동시에 할 때 사용합니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#버저</font> <font color='forestgreen'>#주파수</font> <font color='peru'>#예약</font>",
"byrobot_petrone_v2_controller_controller_buzzer_off": "<br>버저 작동을 중단합니다. 예약된 소리가 있다면 모두 삭제합니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#버저끄기</font>",
"byrobot_petrone_v2_controller_controller_buzzer_scale": "<br>지정한 옥타브의 음을 계속해서 연주합니다(최대 60초). 이 블럭을 만났을 경우 소리가 켜져있거나 예약된 소리가 있다면 모두 삭제합니다. 이 블럭은 연주 명령을 실행 후 바로 다음 블럭으로 넘어갑니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#버저</font> <font color='forestgreen'>#음계</font> <font color='peru'>#즉시</font>",
"byrobot_petrone_v2_controller_controller_buzzer_scale_delay": "<br>지정한 옥타브의 음을 지정한 시간동안 연주합니다. 이 블럭을 만났을 경우 소리가 켜져있거나 예약된 소리가 있다면 모두 삭제합니다. 이 블럭을 사용하면 소리가 끝날때까지 다음 블럭으로 넘어가지 않습니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#버저</font> <font color='forestgreen'>#음계</font> <font color='peru'>#즉시</font> <font color='blueviolet'>#시간지연</font>",
"byrobot_petrone_v2_controller_controller_buzzer_scale_reserve": "<br>지정한 옥타브의 음을 지정한 시간동안 연주하도록 예약합니다. 이 블럭은 소리가 나도록 예약하고 바로 다음 블럭으로 넘어갑니다. 예약은 최대 12개까지 누적할 수 있습니다. 이 블럭은 주로 버저 소리와 함께 다른 행동을 동시에 할 때 사용합니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#버저</font> <font color='forestgreen'>#음계</font> <font color='peru'>#예약</font>",
"byrobot_petrone_v2_controller_controller_display_clear": "<br>조종기 OLED 화면의 선택한 영역을 지웁니다. x, y 좌표값과 너비, 높이를 지정합니다. 좌표(x, y) = (가로, 세로) 화면상의 위치입니다. 사용 가능한 값의 범위는 x값과 너비는 (0~128), y값과 높이는 (0~64)입니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#Display</font>",
"byrobot_petrone_v2_controller_controller_display_clear_all": "<br>조종기 OLED 화면 전체를 지웁니다. 흰색/검은색 중에서 원하는 색을 선택할 수 있습니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#Display</font>",
"byrobot_petrone_v2_controller_controller_display_draw_circle": "<br>조종기 OLED 화면에서 지정한 위치에 원을 그립니다.<br><br>☆★ (x, y)좌표에 관한 설명은 [조종기 화면 점 찍기]블럭을 참조해주세요. ★☆<br><br>x, y 좌표값과 반지름을 지정합니다. 원의 중심 = (x, y),<br>반지름은 원의 크기를 결정합니다.<br><br>★☆사용 가능한 값의 범위는 x값은 (-50~178), y값은 (-50~114), 반지름은 (1~200)입니다.☆★<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#Display</font>",
"byrobot_petrone_v2_controller_controller_display_draw_line": "<br>조종기 OLED 화면에서 지정한 위치에 선을 그립니다.<br><br>☆★ (x, y)좌표에 관한 설명은 [조종기 화면 점 찍기]블럭을 참조해주세요. ★☆<br><br>시작점 = (x1, y1), 끝나는점 = (x2, y2)<br>선 그리기는 시작점과 끝나는점을 이어주는 기능입니다.<br>사용 가능한 값의 범위는 x값은 (0~128), y값은 (0~64)입니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#Display</font>",
"byrobot_petrone_v2_controller_controller_display_draw_point": "<br>조종기 OLED 화면에서 지정한 위치에 점을 찍습니다. 흰색/검은색 중에서 원하는 색을 선택할 수 있습니다. x, y 좌표값으로 지정합니다. 좌표(x, y) = (가로, 세로) 화면상의 위치입니다. 사용 가능한 값의 범위는 x값은 (0~128), y값은 (0~64)입니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#Display</font>",
"byrobot_petrone_v2_controller_controller_display_draw_rect": "<br>조종기 OLED 화면에서 지정한 위치에 사각형을 그립니다.<br><br>☆★ (x, y)좌표에 관한 설명은 [조종기 화면 점 찍기]블럭을 참조해주세요. ★☆<br><br>x, y 좌표값과 너비, 높이를 지정합니다. 시작점 = (x, y), 사용 가능한 값의 범위는 x값과 너비는 (0~128), y값과 높이는 (0~64)입니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#Display</font>",
"byrobot_petrone_v2_controller_controller_display_draw_string": "<br>조종기 OLED 화면에서 지정한 위치에 문자열을 씁니다.<br><br>☆★ (x, y)좌표에 관한 설명은 [조종기 화면 점 찍기]블럭을 참조해주세요. ★☆<br><br>글자 입력은 영문자 알파벳 대문자, 소문자와 숫자, 공백(space), 특수문자만 가능합니다.(한글은 아직 지원되지 않습니다.)<br>x, y 좌표값과 글자 크기, 색을 지정합니다. 시작점 = (x, y), 사용 가능한 값의 범위는 x값은 (0~120), y값은 (0~60)입니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#Display</font>",
"byrobot_petrone_v2_controller_controller_display_draw_string_align": "<br>조종기 OLED 화면에서 지정한 위치에 문자열을 정렬하여 그립니다.<br><br>☆★ (x, y)좌표에 관한 설명은 [조종기 화면 점 찍기]블럭을 참조해주세요. ★☆<br><br>글자 입력은 영문자 알파벳 대문자, 소문자와 숫자, 공백(space), 특수문자만 가능합니다.(한글은 아직 지원되지 않습니다.)<br>x, y 좌표값과 정렬 방향, 글자 크기, 색을 지정합니다. 시작점 = (x1, y), 끝나는점 = (x2, y), 사용 가능한 값의 범위는 x값은 (0~128), y값은 (0~60)입니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#Display</font>",
"byrobot_petrone_v2_controller_controller_display_invert": "<br>조종기 OLED 화면에서 선택한 영역의 색을 반전시킵니다. x, y 좌표값과 너비, 높이를 지정합니다. 좌표(x, y) = (가로, 세로) 화면상의 위치입니다. 사용 가능한 값의 범위는 x값과 너비는 (0~128), y값과 높이는 (0~64)입니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#Display</font>",
"byrobot_petrone_v2_controller_controller_if_button_press": "<br>지정한 조종기의 버튼이 눌러졌을 때 true를 반환합니다.<br><br><font color='crimson'>#조건</font> <font color='dodgerblue'>#조종기</font> <font color='forestgreen'>#버튼</font>",
"byrobot_petrone_v2_controller_controller_if_joystick_direction": "<br>조종기의 조이스틱을 지정한 방향으로 움직였을 때 true를 반환합니다.<br><br><font color='crimson'>#조건</font> <font color='dodgerblue'>#조종기</font> <font color='forestgreen'>#조이스틱</font>",
"byrobot_petrone_v2_controller_controller_light_color_rgb_input": "<br>빛의 삼원색인 Red, Green, Blue 값을 지정하여 조종기 LED의 색상을 원하는대로 만들 수 있습니다.<br>10진수(0 ~ 255) 값을 사용합니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#LED제어</font>",
"byrobot_petrone_v2_controller_controller_light_color_rgb_select": "<br>RGB 색지정 블록을 이용해서 만들 수 있는<br> 조종기 LED 예시입니다.<br>RGB 색지정 블록을 이용해서 멋진 색깔을<br> 다양하게 만들어보세요.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#LED제어</font>",
"byrobot_petrone_v2_controller_controller_light_manual_single": "<br>조종기 LED를 조작하는데 사용합니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#LED제어</font>",
"byrobot_petrone_v2_controller_controller_light_manual_single_input": "<br>조종기 LED를 조작하는데 사용합니다.<br>2진수(0b00100000 ~ 0b11100000), 10진수(32 ~ 224), 16진수(0x20 ~ 0xE0) 값을 사용할 수 있습니다.<br>2진수로 표현한 값에서 각각의 비트는 LED의 Red, Green, Blue 색을 선택하는 스위치 역할을 합니다.<br>밝기 값은 0 ~ 255 사이의 값을 사용할 수 있습니다. 값이 커질수록 더 밝아집니다. <br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#LED제어</font>",
"byrobot_petrone_v2_controller_controller_light_manual_single_off": "<br>조종기의 모든 LED를 끕니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#LED끄기</font>",
"byrobot_petrone_v2_controller_controller_value_button": "<br>조종기에서 눌러진 버튼과 관련된 이벤트를 반환합니다.<br><br><font color='crimson'>#값</font> <font color='dodgerblue'>#조종기</font> <font color='forestgreen'>#버튼</font>",
"byrobot_petrone_v2_controller_controller_value_joystick": "<br>조종기의 조이스틱과 관련된 입력 값을 반환합니다. 각 축의 범위는 -100 ~ 100 입니다.<br><br>조이스틱 방향은 가로x세로 = 3x3 = 총9방향입니다.<br>위(왼쪽=17, 가운데=18, 오른쪽=20)<br>중간(왼쪽=33, 센터=34, 오른쪽=36)<br>아래(왼쪽=65, 가운데=66, 오른쪽=68)<br>기본값은 센터=34입니다.<br><br>조이스틱 이벤트는 값이 있을때 2, 없으면 0, 진입 1, 벗어남 3입니다.<br><br><font color='crimson'>#값</font> <font color='dodgerblue'>#조종기</font> <font color='forestgreen'>#조이스틱</font>",
"byrobot_petrone_v2_controller_controller_vibrator_delay": "<br>진동을 지정한 시간동안 켜고 끄는 것을 지정한 시간동안 반복합니다. 이 블럭을 만났을 경우 진동이 켜져있거나 예약된 진동이 있다면 모두 삭제합니다. 이 블럭은 지정한 시간이 끝날 때까지 다음 블럭으로 넘어가지 않습니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#진동</font> <font color='forestgreen'>#즉시</font> <font color='peru'>#시간지연</font>",
"byrobot_petrone_v2_controller_controller_vibrator_off": "<br>진동을 끕니다. 예약된 진동이 있다면 모두 삭제합니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#진동끄기</font>",
"byrobot_petrone_v2_controller_controller_vibrator_on_delay": "<br>진동을 지정한 시간동안 켭니다. 이 블럭을 만났을 경우 진동이 켜져있거나 예약된 진동이 있다면 모두 삭제합니다. 이 블럭은 지정한 시간이 끝날 때까지 다음 블럭으로 넘어가지 않습니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#진동</font> <font color='forestgreen'>#즉시</font> <font color='peru'>#시간지연</font>",
"byrobot_petrone_v2_controller_controller_vibrator_on_reserve": "<br>진동을 지정한 시간동안 켜는 것을 예약합니다. 이 블럭은 명령을 전달 후 바로 다음 블럭으로 넘어갑니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#진동</font> <font color='forestgreen'>#예약</font>",
"byrobot_petrone_v2_controller_controller_vibrator_reserve": "<br>진동을 지정한 시간동안 켜고 끄는 것을 지정한 시간동안 반복하도록 예약합니다. 이 블럭은 명령을 전달 후 바로 다음 블럭으로 넘어갑니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#진동</font> <font color='forestgreen'>#예약</font>",
"byrobot_petrone_v2_drive_controller_buzzer_hz": "<br>지정한 주파수의 소리를 계속해서 연주합니다(최대 60초). 권장 사용 범위는 250 ~ 8000 입니다. 4옥타브를 기준으로 도(261), 도#(277), 레(293), 레#(311), 미(329), 파(349), 파#(370), 솔(392), 솔#(415), 라(440), 라#(466), 시(493)입니다. 여기에서 한 옥타브를 올라갈 때마다 주파수 값이 두 배가 됩니다. 한 옥타브를 내려갈 때에는 주파수 값이 절반이 됩니다. 예를 들면 3옥타브의 도는 130.8128Hz, 4옥타브의 도는 261.6256Hz, 5옥타브의 도는 523.2511Hz 입니다. 이 블럭을 만났을 경우 소리가 켜져있거나 예약된 소리가 있다면 모두 삭제합니다. 이 블럭은 연주 명령을 실행 후 바로 다음 블럭으로 넘어갑니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#버저</font> <font color='forestgreen'>#주파수</font> <font color='peru'>#즉시</font>",
"byrobot_petrone_v2_drive_controller_buzzer_hz_delay": "<br>지정한 주파수의 소리를 지정한 시간동안 연주합니다. 권장 사용 범위는 250 ~ 8000 입니다. 4옥타브를 기준으로 도(261), 도#(277), 레(293), 레#(311), 미(329), 파(349), 파#(370), 솔(392), 솔#(415), 라(440), 라#(466), 시(493)입니다. 여기에서 한 옥타브를 올라갈 때마다 주파수 값이 두 배가 됩니다. 한 옥타브를 내려갈 때에는 주파수 값이 절반이 됩니다. 예를 들면 3옥타브의 도는 130.8128Hz, 4옥타브의 도는 261.6256Hz, 5옥타브의 도는 523.2511Hz 입니다. 이 블럭을 만났을 경우 소리가 켜져있거나 예약된 소리가 있다면 모두 삭제합니다. 이 블럭을 사용하면 소리가 끝날때까지 다음 블럭으로 넘어가지 않습니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#버저</font> <font color='forestgreen'>#음계</font> <font color='peru'>#즉시</font> <font color='blueviolet'>#시간지연</font>",
"byrobot_petrone_v2_drive_controller_buzzer_hz_reserve": "<br>지정한 주파수의 소리를 지정한 시간동안 연주하도록 예약합니다. 권장 사용 범위는 250 ~ 8000 입니다. 4옥타브를 기준으로 도(261), 도#(277), 레(293), 레#(311), 미(329), 파(349), 파#(370), 솔(392), 솔#(415), 라(440), 라#(466), 시(493)입니다. 여기에서 한 옥타브를 올라갈 때마다 주파수 값이 두 배가 됩니다. 한 옥타브를 내려갈 때에는 주파수 값이 절반이 됩니다. 예를 들면 3옥타브의 도는 130.8128Hz, 4옥타브의 도는 261.6256Hz, 5옥타브의 도는 523.2511Hz 입니다. 이 블럭은 소리가 나도록 예약하고, 바로 다음 블럭으로 넘어갑니다. 예약은 최대 12개까지 누적할 수 있습니다. 이 블럭은 주로 버저 소리와 함께 다른 행동을 동시에 할 때 사용합니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#버저</font> <font color='forestgreen'>#주파수</font> <font color='peru'>#예약</font>",
"byrobot_petrone_v2_drive_controller_buzzer_off": "<br>버저 작동을 중단합니다. 예약된 소리가 있다면 모두 삭제합니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#버저끄기</font>",
"byrobot_petrone_v2_drive_controller_buzzer_scale": "<br>지정한 옥타브의 음을 계속해서 연주합니다(최대 60초). 이 블럭을 만났을 경우 소리가 켜져있거나 예약된 소리가 있다면 모두 삭제합니다. 이 블럭은 연주 명령을 실행 후 바로 다음 블럭으로 넘어갑니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#버저</font> <font color='forestgreen'>#음계</font> <font color='peru'>#즉시</font>",
"byrobot_petrone_v2_drive_controller_buzzer_scale_delay": "<br>지정한 옥타브의 음을 지정한 시간동안 연주합니다. 이 블럭을 만났을 경우 소리가 켜져있거나 예약된 소리가 있다면 모두 삭제합니다. 이 블럭을 사용하면 소리가 끝날때까지 다음 블럭으로 넘어가지 않습니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#버저</font> <font color='forestgreen'>#음계</font> <font color='peru'>#즉시</font> <font color='blueviolet'>#시간지연</font>",
"byrobot_petrone_v2_drive_controller_buzzer_scale_reserve": "<br>지정한 옥타브의 음을 지정한 시간동안 연주하도록 예약합니다. 이 블럭은 소리가 나도록 예약하고 바로 다음 블럭으로 넘어갑니다. 예약은 최대 12개까지 누적할 수 있습니다. 이 블럭은 주로 버저 소리와 함께 다른 행동을 동시에 할 때 사용합니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#버저</font> <font color='forestgreen'>#음계</font> <font color='peru'>#예약</font>",
"byrobot_petrone_v2_drive_controller_display_clear": "<br>조종기 OLED 화면의 선택한 영역을 지웁니다. x, y 좌표값과 너비, 높이를 지정합니다. 좌표(x, y) = (가로, 세로) 화면상의 위치입니다. 사용 가능한 값의 범위는 x값과 너비는 (0~128), y값과 높이는 (0~64)입니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#Display</font>",
"byrobot_petrone_v2_drive_controller_display_clear_all": "<br>조종기 OLED 화면 전체를 지웁니다. 흰색/검은색 중에서 원하는 색을 선택할 수 있습니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#Display</font>",
"byrobot_petrone_v2_drive_controller_display_draw_circle": "<br>조종기 OLED 화면에서 지정한 위치에 원을 그립니다.<br><br>☆★ (x, y)좌표에 관한 설명은 [조종기 화면 점 찍기]블럭을 참조해주세요. ★☆<br><br>x, y 좌표값과 반지름을 지정합니다. 원의 중심 = (x, y),<br>반지름은 원의 크기를 결정합니다.<br><br>★☆사용 가능한 값의 범위는 x값은 (-50~178), y값은 (-50~114), 반지름은 (1~200)입니다.☆★<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#Display</font>",
"byrobot_petrone_v2_drive_controller_display_draw_line": "<br>조종기 OLED 화면에서 지정한 위치에 선을 그립니다.<br><br>☆★ (x, y)좌표에 관한 설명은 [조종기 화면 점 찍기]블럭을 참조해주세요. ★☆<br><br>시작점 = (x1, y1), 끝나는점 = (x2, y2)<br>선 그리기는 시작점과 끝나는점을 이어주는 기능입니다.<br>사용 가능한 값의 범위는 x값은 (0~128), y값은 (0~64)입니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#Display</font>",
"byrobot_petrone_v2_drive_controller_display_draw_point": "<br>조종기 OLED 화면에서 지정한 위치에 점을 찍습니다. 흰색/검은색 중에서 원하는 색을 선택할 수 있습니다. x, y 좌표값으로 지정합니다. 좌표(x, y) = (가로, 세로) 화면상의 위치입니다. 사용 가능한 값의 범위는 x값은 (0~128), y값은 (0~64)입니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#Display</font>",
"byrobot_petrone_v2_drive_controller_display_draw_rect": "<br>조종기 OLED 화면에서 지정한 위치에 사각형을 그립니다.<br><br>☆★ (x, y)좌표에 관한 설명은 [조종기 화면 점 찍기]블럭을 참조해주세요. ★☆<br><br>x, y 좌표값과 너비, 높이를 지정합니다. 시작점 = (x, y), 사용 가능한 값의 범위는 x값과 너비는 (0~128), y값과 높이는 (0~64)입니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#Display</font>",
"byrobot_petrone_v2_drive_controller_display_draw_string": "<br>조종기 OLED 화면에서 지정한 위치에 문자열을 씁니다.<br><br>☆★ (x, y)좌표에 관한 설명은 [조종기 화면 점 찍기]블럭을 참조해주세요. ★☆<br><br>글자 입력은 영문자 알파벳 대문자, 소문자와 숫자, 공백(space), 특수문자만 가능합니다.(한글은 아직 지원되지 않습니다.)<br>x, y 좌표값과 글자 크기, 색을 지정합니다. 시작점 = (x, y), 사용 가능한 값의 범위는 x값은 (0~120), y값과 높이는 (0~60)입니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#Display</font>",
"byrobot_petrone_v2_drive_controller_display_draw_string_align": "<br>조종기 OLED 화면에서 지정한 위치에 문자열을 정렬하여 그립니다.<br><br>☆★ (x, y)좌표에 관한 설명은 [조종기 화면 점 찍기]블럭을 참조해주세요. ★☆<br><br>글자 입력은 영문자 알파벳 대문자, 소문자와 숫자, 공백(space), 특수문자만 가능합니다.(한글은 아직 지원되지 않습니다.)<br>x, y 좌표값과 정렬 방향, 글자 크기, 색을 지정합니다. 시작점 = (x1, y), 끝나는점 = (x2, y), 사용 가능한 값의 범위는 x값은 (0~128), y값은 (0~60)입니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#Display</font>",
"byrobot_petrone_v2_drive_controller_display_invert": "<br>조종기 OLED 화면에서 선택한 영역의 색을 반전시킵니다. x, y 좌표값과 너비, 높이를 지정합니다. 좌표(x, y) = (가로, 세로) 화면상의 위치입니다. 사용 가능한 값의 범위는 x값과 너비는 (0~128), y값과 높이는 (0~64)입니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#Display</font>",
"byrobot_petrone_v2_drive_controller_if_button_press": "<br>지정한 조종기의 버튼이 눌러졌을 때 true를 반환합니다.<br><br><font color='crimson'>#조건</font> <font color='dodgerblue'>#조종기</font> <font color='forestgreen'>#버튼</font>",
"byrobot_petrone_v2_drive_controller_if_joystick_direction": "<br>조종기의 조이스틱을 지정한 방향으로 움직였을 때 true를 반환합니다.<br><br><font color='crimson'>#조건</font> <font color='dodgerblue'>#조종기</font> <font color='forestgreen'>#조이스틱</font>",
"byrobot_petrone_v2_drive_controller_light_color_rgb_input": "<br>빛의 삼원색인 Red, Green, Blue 값을 지정하여 조종기 LED의 색상을 원하는대로 만들 수 있습니다.<br>10진수(0 ~ 255) 값을 사용합니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#LED제어</font>",
"byrobot_petrone_v2_drive_controller_light_color_rgb_select": "<br>RGB 색지정 블록을 이용해서 만들 수 있는<br> 조종기 LED 예시입니다.<br>RGB 색지정 블록을 이용해서 멋진 색깔을<br> 다양하게 만들어보세요.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#LED제어</font>",
"byrobot_petrone_v2_drive_controller_light_manual_single": "<br>조종기 LED를 조작하는데 사용합니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#LED제어</font>",
"byrobot_petrone_v2_drive_controller_light_manual_single_input": "<br>조종기 LED 여러 개의 밝기를 동시에 변경할 때 사용합니다. 2진수(0b00100000 ~ 0b11100000), 10진수(32 ~ 255), 16진수(0x20 ~ 0xFF) 값을 사용할 수 있습니다. 2진수로 표현한 값에서 각각의 비트는 개별 LED를 선택하는 스위치 역할을 합니다. 밝기 값은 0 ~ 255 사이의 값을 사용할 수 있습니다. 값이 커질수록 더 밝아집니다. <br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#LED제어</font>",
"byrobot_petrone_v2_drive_controller_light_manual_single_off": "<br>조종기의 모든 LED를 끕니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#LED끄기</font>",
"byrobot_petrone_v2_drive_controller_value_button": "<br>조종기에서 눌러진 버튼과 관련된 이벤트를 반환합니다.<br><br><font color='crimson'>#값</font> <font color='dodgerblue'>#조종기</font> <font color='forestgreen'>#버튼</font>",
"byrobot_petrone_v2_drive_controller_value_joystick": "<br>조종기의 조이스틱과 관련된 입력 값을 반환합니다. 각 축의 범위는 -100 ~ 100 입니다.<br><br>조이스틱 방향은 가로x세로 = 3x3 = 총9방향입니다.<br>위(왼쪽=17, 가운데=18, 오른쪽=20)<br>중간(왼쪽=33, 센터=34, 오른쪽=36)<br>아래(왼쪽=65, 가운데=66, 오른쪽=68)<br>기본값은 센터=34입니다.<br><br>조이스틱 이벤트는 값이 있을때 2, 없으면 0, 진입 1, 벗어남 3입니다.<br><br><font color='crimson'>#값</font> <font color='dodgerblue'>#조종기</font> <font color='forestgreen'>#조이스틱</font>",
"byrobot_petrone_v2_drive_controller_vibrator_delay": "<br>진동을 지정한 시간동안 켜고 끄는 것을 지정한 시간동안 반복합니다. 이 블럭을 만났을 경우 진동이 켜져있거나 예약된 진동이 있다면 모두 삭제합니다. 이 블럭은 지정한 시간이 끝날 때까지 다음 블럭으로 넘어가지 않습니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#진동</font> <font color='forestgreen'>#즉시</font> <font color='peru'>#시간지연</font>",
"byrobot_petrone_v2_drive_controller_vibrator_off": "<br>진동을 끕니다. 예약된 진동이 있다면 모두 삭제합니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#진동끄기</font>",
"byrobot_petrone_v2_drive_controller_vibrator_on_delay": "<br>진동을 지정한 시간동안 켭니다. 이 블럭을 만났을 경우 진동이 켜져있거나 예약된 진동이 있다면 모두 삭제합니다. 이 블럭은 지정한 시간이 끝날 때까지 다음 블럭으로 넘어가지 않습니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#진동</font> <font color='forestgreen'>#즉시</font> <font color='peru'>#시간지연</font>",
"byrobot_petrone_v2_drive_controller_vibrator_on_reserve": "<br>진동을 지정한 시간동안 켜는 것을 예약합니다. 이 블럭은 명령을 전달 후 바로 다음 블럭으로 넘어갑니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#진동</font> <font color='forestgreen'>#예약</font>",
"byrobot_petrone_v2_drive_controller_vibrator_reserve": "<br>진동을 지정한 시간동안 켜고 끄는 것을 지정한 시간동안 반복하도록 예약합니다. 이 블럭은 명령을 전달 후 바로 다음 블럭으로 넘어갑니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#진동</font> <font color='forestgreen'>#예약</font>",
"byrobot_petrone_v2_drive_drone_command_mode_vehicle_car": "<br>자동차 Vehicle mode를 변경합니다.<br><br>자동차 = 32, 자동차(FPV) = 33 입니다.<br><br><font color='crimson'>#자동차</font> <font color='dodgerblue'>#Vehicle mode</font>",
"byrobot_petrone_v2_drive_drone_control_car_stop": "<br>자동차 작동을 정지합니다.<br><br><font color='crimson'>#자동차</font> <font color='dodgerblue'>#정지</font>",
"byrobot_petrone_v2_drive_drone_control_double": "<br>자동차 조종 값을 지정합니다. 입력 가능한 값의 범위는 방향 -100 ~ 100, 전진/후진 -100 ~ 100입니다. (+)값은 전진, (-)값은 후진입니다. 명령 전달 후 바로 다음 블럭으로 넘어갑니다.<br><br><font color='crimson'>#자동차</font> <font color='dodgerblue'>#조종</font>",
"byrobot_petrone_v2_drive_drone_control_double_delay": "<br>자동차 조종 값을 지정합니다. 입력 가능한 값의 범위는 방향 -100 ~ 100, 전진/후진 -100 ~ 100입니다. (+)값은 전진, (-)값은 후진입니다. 지정한 시간이 지나면 해당 조종 값을 0으로 변경합니다. 지정한 시간이 끝날 때까지 다음 블럭으로 넘어가지 않습니다.<br><br><font color='crimson'>#자동차</font> <font color='dodgerblue'>#조종</font> <font color='forestgreen'>#시간지연</font>",
"byrobot_petrone_v2_drive_drone_control_double_one": "<br>자동차 조종 값을 지정합니다. 입력 가능한 값의 범위는 방향 -100 ~ 100, 전진/후진 -100 ~ 100입니다. (+)값은 전진, (-)값은 후진입니다. 명령 전달 후 바로 다음 블럭으로 넘어갑니다.<br><br><font color='crimson'>#자동차</font> <font color='dodgerblue'>#조종</font>",
"byrobot_petrone_v2_drive_drone_control_double_one_delay": "<br>자동차 조종 값을 지정합니다. 입력 가능한 값의 범위는 방향 -100 ~ 100, 전진/후진 -100 ~ 100입니다. (+)값은 전진, (-)값은 후진입니다. 지정한 시간이 지나면 해당 조종 값을 0으로 변경합니다. 지정한 시간이 끝날 때까지 다음 블럭으로 넘어가지 않습니다.<br><br><font color='crimson'>#자동차</font> <font color='dodgerblue'>#조종</font> <font color='forestgreen'>#시간지연</font>",
"byrobot_petrone_v2_drive_drone_irmessage": "<br>적외선으로 지정한 값을 보냅니다. 사용 가능한 값의 범위는 0 ~ 127입니다.<br><br><font color='crimson'>#자동차</font> <font color='dodgerblue'>#적외선통신</font>",
"byrobot_petrone_v2_drive_drone_light_color_rgb_input": "<br>빛의 삼원색인 Red, Green, Blue 값을 지정하여 자동차의 눈 또는 팔 LED의 색상을 원하는대로 만들 수 있습니다.<br>10진수(0 ~ 255) 값을 사용합니다.<br><br><font color='crimson'>#자동차</font> <font color='dodgerblue'>#LED제어</font>",
"byrobot_petrone_v2_drive_drone_light_color_rgb_select": "<br>RGB 색지정 블록을 이용해서 만들 수 있는<br> 자동차 LED 예시입니다.<br>RGB 색지정 블록을 이용해서 멋진 색깔을<br> 다양하게 만들어보세요.<br><br><font color='crimson'>#자동차</font> <font color='dodgerblue'>#LED제어</font>",
"byrobot_petrone_v2_drive_drone_light_manual_single": "<br>자동차의 LED를 조작하는데 사용합니다.<br><br><font color='crimson'>#자동차</font> <font color='dodgerblue'>#LED제어</font>",
"byrobot_petrone_v2_drive_drone_light_manual_single_input": "<br>자동차 LED 여러 개의 밝기를 동시에 변경할 때 사용합니다. 2진수(0b00000000 ~ 0b11111111), 10진수(0 ~ 255), 16진수(0x00 ~ 0xFF) 값을 사용할 수 있습니다. 2진수로 표현한 값에서 각각의 비트는 개별 LED를 선택하는 스위치 역할을 합니다. 밝기 값은 0 ~ 255 사이의 값을 사용할 수 있습니다. 값이 커질수록 더 밝아집니다.<br><br><font color='crimson'>#자동차</font> <font color='dodgerblue'>#LED제어</font>",
"byrobot_petrone_v2_drive_drone_light_manual_single_off": "<br>자동차의 모든 LED를 끕니다.<br><br><font color='crimson'>#자동차</font> <font color='dodgerblue'>#LED끄기</font>",
"byrobot_petrone_v2_drive_drone_motor_stop": "<br>모든 모터의 작동을 정지합니다.<br><br><font color='crimson'>#자동차</font> <font color='dodgerblue'>#모터정지</font>",
"byrobot_petrone_v2_drive_drone_motorsingle": "<br>지정한 모터를 원하는 빠르기로 회전할 때 사용합니다. 사용 가능한 값의 범위는 0 ~ 4000입니다. 자동차의 바퀴가 움직이기 위해서는 2700 이상을 입력해야 합니다. 모터의 순서는 '왼쪽 앞', '오른쪽 앞', '오른쪽 뒤', '왼쪽 뒤' 입니다.<br><br><font color='crimson'>#자동차</font> <font color='dodgerblue'>#모터제어</font>",
"byrobot_petrone_v2_drive_drone_motorsingle_input": "<br>지정한 모터(1, 2, 3, 4)를 원하는 빠르기로 회전할 때 사용합니다. 사용 가능한 값의 범위는 0 ~ 4000입니다. 자동차의 바퀴가 움직이기 위해서는 2700 이상을 입력해야 합니다. 모터의 순서는 '왼쪽 앞', '오른쪽 앞', '오른쪽 뒤', '왼쪽 뒤' 입니다.<br><br><font color='crimson'>#자동차</font> <font color='dodgerblue'>#모터제어</font>",
"byrobot_petrone_v2_drive_drone_motorsingle_rotation": "<br>지정한 모터를 원하는 빠르기로 회전할 때 사용합니다. 1번 모터와 2번 모터는 역방향도 회전 가능하기 때문에 방향도 선택할 수 있습니다. 사용 가능한 값의 범위는 0 ~ 4000입니다. 자동차의 바퀴가 움직이기 위해서는 2700 이상을 입력해야 합니다. 모터의 순서는 '왼쪽 앞', '오른쪽 앞', '오른쪽 뒤', '왼쪽 뒤' 입니다.<br><br><font color='crimson'>#자동차</font> <font color='dodgerblue'>#모터제어</font>",
"byrobot_petrone_v2_drive_drone_value_attitude": "<br>자동차의 현재 자세를 각도로 반환합니다. Roll은 좌우 기울기(-90 ~ 90), Pitch는 앞뒤 기울기(-90 ~ 90), Yaw는 회전 각도(-180 ~ 180) 입니다.<br><br><font color='crimson'>#값</font> <font color='dodgerblue'>#자동차</font> <font color='forestgreen'>#자세</font>",
"byrobot_petrone_v2_drive_drone_value_etc": "<br>페트론V2 설정과 관련된 값들과 적외선 통신으로 받은 값을 반환합니다.<br><br><font color='crimson'>#값</font> <font color='dodgerblue'>#자동차</font> <font color='forestgreen'>#기타</font>",
"byrobot_petrone_v2_drive_drone_value_imu": "<br>페트론V2 IMU센서와 관련된 값들을 반환합니다.<br>(병진운동) 가속도는 x, y, z축에 대한 중력가속도입니다. 1g = 9.8m/s^2<br>(회전운동) 각속도는 x, y, z축을 기준으로 회전하는 속력을 나타내는 벡터입니다.(pitch, roll, yaw) <br><br><font color='crimson'>#값</font> <font color='dodgerblue'>#드론</font> <font color='forestgreen'>#IMU센서</font> <font color='crimson'>#가속도</font> <font color='dodgerblue'>#병진운동</font> <font color='crimson'>#각속도</font> <font color='dodgerblue'>#회전운동</font>",
"byrobot_petrone_v2_drive_drone_value_sensor": "<br>페트론V2 센서와 관련된 값들을 반환합니다.<br>온도 단위=섭씨 도, 해발고도 단위=m, image flow 단위=m, 바닥까지의 거리 단위=m<br>해발고도 값은 대기압의 영향을 받아서 오차범위가 큽니다. 바닥까지 거리의 유효 측정 거리는 2m입니다. image flow값은 일정한 속도와 높이에서 이동할 경우에 유효합니다. 이러한 센서값들을 이용하여 Petrone V2는 호버링(고도 유지) 기능을 수행합니다.<br><br><font color='crimson'>#값</font> <font color='dodgerblue'>#드론</font> <font color='forestgreen'>#센서</font> <font color='crimson'>#온도</font> <font color='dodgerblue'>#해발고도</font> <font color='forestgreen'>#image flow</font> <font color='crimson'>#range</font> <font color='dodgerblue'>#대기압</font> <font color='forestgreen'>#호버링</font>",
"byrobot_petrone_v2_flight_controller_buzzer_hz": "<br>지정한 주파수의 소리를 계속해서 연주합니다(최대 60초). 권장 사용 범위는 250 ~ 8000 입니다. 4옥타브를 기준으로 도(261), 도#(277), 레(293), 레#(311), 미(329), 파(349), 파#(370), 솔(392), 솔#(415), 라(440), 라#(466), 시(493)입니다. 여기에서 한 옥타브를 올라갈 때마다 주파수 값이 두 배가 됩니다. 한 옥타브를 내려갈 때에는 주파수 값이 절반이 됩니다. 예를 들면 3옥타브의 도는 130.8128Hz, 4옥타브의 도는 261.6256Hz, 5옥타브의 도는 523.2511Hz 입니다. 이 블럭을 만났을 경우 소리가 켜져있거나 예약된 소리가 있다면 모두 삭제합니다. 이 블럭은 연주 명령을 실행 후 바로 다음 블럭으로 넘어갑니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#버저</font> <font color='forestgreen'>#주파수</font> <font color='peru'>#즉시</font>",
"byrobot_petrone_v2_flight_controller_buzzer_hz_delay": "<br>지정한 주파수의 소리를 지정한 시간동안 연주합니다. 권장 사용 범위는 250 ~ 8000 입니다. 4옥타브를 기준으로 도(261), 도#(277), 레(293), 레#(311), 미(329), 파(349), 파#(370), 솔(392), 솔#(415), 라(440), 라#(466), 시(493)입니다. 여기에서 한 옥타브를 올라갈 때마다 주파수 값이 두 배가 됩니다. 한 옥타브를 내려갈 때에는 주파수 값이 절반이 됩니다. 예를 들면 3옥타브의 도는 130.8128Hz, 4옥타브의 도는 261.6256Hz, 5옥타브의 도는 523.2511Hz 입니다. 이 블럭을 만났을 경우 소리가 켜져있거나 예약된 소리가 있다면 모두 삭제합니다. 이 블럭을 사용하면 소리가 끝날때까지 다음 블럭으로 넘어가지 않습니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#버저</font> <font color='forestgreen'>#음계</font> <font color='peru'>#즉시</font> <font color='blueviolet'>#시간지연</font>",
"byrobot_petrone_v2_flight_controller_buzzer_hz_reserve": "<br>지정한 주파수의 소리를 지정한 시간동안 연주하도록 예약합니다. 권장 사용 범위는 250 ~ 8000 입니다. 4옥타브를 기준으로 도(261), 도#(277), 레(293), 레#(311), 미(329), 파(349), 파#(370), 솔(392), 솔#(415), 라(440), 라#(466), 시(493)입니다. 여기에서 한 옥타브를 올라갈 때마다 주파수 값이 두 배가 됩니다. 한 옥타브를 내려갈 때에는 주파수 값이 절반이 됩니다. 예를 들면 3옥타브의 도는 130.8128Hz, 4옥타브의 도는 261.6256Hz, 5옥타브의 도는 523.2511Hz 입니다. 이 블럭은 소리가 나도록 예약하고, 바로 다음 블럭으로 넘어갑니다. 예약은 최대 12개까지 누적할 수 있습니다. 이 블럭은 주로 버저 소리와 함께 다른 행동을 동시에 할 때 사용합니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#버저</font> <font color='forestgreen'>#주파수</font> <font color='peru'>#예약</font>",
"byrobot_petrone_v2_flight_controller_buzzer_off": "<br>버저 작동을 중단합니다. 예약된 소리가 있다면 모두 삭제합니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#버저끄기</font>",
"byrobot_petrone_v2_flight_controller_buzzer_scale": "<br>지정한 옥타브의 음을 계속해서 연주합니다(최대 60초). 이 블럭을 만났을 경우 소리가 켜져있거나 예약된 소리가 있다면 모두 삭제합니다. 이 블럭은 연주 명령을 실행 후 바로 다음 블럭으로 넘어갑니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#버저</font> <font color='forestgreen'>#음계</font> <font color='peru'>#즉시</font>",
"byrobot_petrone_v2_flight_controller_buzzer_scale_delay": "<br>지정한 옥타브의 음을 지정한 시간동안 연주합니다. 이 블럭을 만났을 경우 소리가 켜져있거나 예약된 소리가 있다면 모두 삭제합니다. 이 블럭을 사용하면 소리가 끝날때까지 다음 블럭으로 넘어가지 않습니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#버저</font> <font color='forestgreen'>#음계</font> <font color='peru'>#즉시</font> <font color='blueviolet'>#시간지연</font>",
"byrobot_petrone_v2_flight_controller_buzzer_scale_reserve": "<br>지정한 옥타브의 음을 지정한 시간동안 연주하도록 예약합니다. 이 블럭은 소리가 나도록 예약하고 바로 다음 블럭으로 넘어갑니다. 예약은 최대 12개까지 누적할 수 있습니다. 이 블럭은 주로 버저 소리와 함께 다른 행동을 동시에 할 때 사용합니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#버저</font> <font color='forestgreen'>#음계</font> <font color='peru'>#예약</font>",
"byrobot_petrone_v2_flight_controller_display_clear": "<br>조종기 OLED 화면의 선택한 영역을 지웁니다. x, y 좌표값과 너비, 높이를 지정합니다. 좌표(x, y) = (가로, 세로) 화면상의 위치입니다. 사용 가능한 값의 범위는 x값과 너비는 (0~128), y값과 높이는 (0~64)입니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#Display</font>",
"byrobot_petrone_v2_flight_controller_display_clear_all": "<br>조종기 OLED 화면 전체를 지웁니다. 흰색/검은색 중에서 원하는 색을 선택할 수 있습니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#Display</font>",
"byrobot_petrone_v2_flight_controller_display_draw_circle": "<br>조종기 OLED 화면에서 지정한 위치에 원을 그립니다.<br><br>☆★ (x, y)좌표에 관한 설명은 [조종기 화면 점 찍기]블럭을 참조해주세요. ★☆<br><br>x, y 좌표값과 반지름을 지정합니다. 원의 중심 = (x, y),<br>반지름은 원의 크기를 결정합니다.<br><br>★☆사용 가능한 값의 범위는 x값은 (-50~178), y값은 (-50~114), 반지름은 (1~200)입니다.☆★<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#Display</font>",
"byrobot_petrone_v2_flight_controller_display_draw_line": "<br>조종기 OLED 화면에서 지정한 위치에 선을 그립니다.<br><br>☆★ (x, y)좌표에 관한 설명은 [조종기 화면 점 찍기]블럭을 참조해주세요. ★☆<br><br>시작점 = (x1, y1), 끝나는점 = (x2, y2)<br>선 그리기는 시작점과 끝나는점을 이어주는 기능입니다.<br>사용 가능한 값의 범위는 x값은 (0~128), y값은 (0~64)입니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#Display</font>",
"byrobot_petrone_v2_flight_controller_display_draw_point": "<br>조종기 OLED 화면에서 지정한 위치에 점을 찍습니다. 흰색/검은색 중에서 원하는 색을 선택할 수 있습니다. x, y 좌표값으로 지정합니다. 좌표(x, y) = (가로, 세로) 화면상의 위치입니다. 사용 가능한 값의 범위는 x값은 (0~128), y값은 (0~64)입니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#Display</font>",
"byrobot_petrone_v2_flight_controller_display_draw_rect": "<br>조종기 OLED 화면에서 지정한 위치에 사각형을 그립니다.<br><br>☆★ (x, y)좌표에 관한 설명은 [조종기 화면 점 찍기]블럭을 참조해주세요. ★☆<br><br>x, y 좌표값과 너비, 높이를 지정합니다. 시작점 = (x, y), 사용 가능한 값의 범위는 x값과 너비는 (0~128), y값과 높이는 (0~64)입니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#Display</font>",
"byrobot_petrone_v2_flight_controller_display_draw_string": "<br>조종기 OLED 화면에서 지정한 위치에 문자열을 씁니다.<br><br>☆★ (x, y)좌표에 관한 설명은 [조종기 화면 점 찍기]블럭을 참조해주세요. ★☆<br><br>글자 입력은 영문자 알파벳 대문자, 소문자와 숫자, 공백(space), 특수문자만 가능합니다.(한글은 아직 지원되지 않습니다.)<br>x, y 좌표값과 글자 크기, 색을 지정합니다. 시작점 = (x, y), 사용 가능한 값의 범위는 x값은 (0~120), y값과 높이는 (0~60)입니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#Display</font>",
"byrobot_petrone_v2_flight_controller_display_draw_string_align": "<br>조종기 OLED 화면에서 지정한 위치에 문자열을 정렬하여 그립니다.<br><br>☆★ (x, y)좌표에 관한 설명은 [조종기 화면 점 찍기]블럭을 참조해주세요. ★☆<br><br>글자 입력은 영문자 알파벳 대문자, 소문자와 숫자, 공백(space), 특수문자만 가능합니다.(한글은 아직 지원되지 않습니다.)<br>x, y 좌표값과 정렬 방향, 글자 크기, 색을 지정합니다. 시작점 = (x1, y), 끝나는점 = (x2, y), 사용 가능한 값의 범위는 x값은 (0~128), y값은 (0~60)입니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#Display</font>",
"byrobot_petrone_v2_flight_controller_display_invert": "<br>조종기 OLED 화면에서 선택한 영역의 색을 반전시킵니다. x, y 좌표값과 너비, 높이를 지정합니다. 좌표(x, y) = (가로, 세로) 화면상의 위치입니다. 사용 가능한 값의 범위는 x값과 너비는 (0~128), y값과 높이는 (0~64)입니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#Display</font>",
"byrobot_petrone_v2_flight_controller_if_button_press": "<br>지정한 조종기의 버튼이 눌러졌을 때 true를 반환합니다.<br><br><font color='crimson'>#조건</font> <font color='dodgerblue'>#조종기</font> <font color='forestgreen'>#버튼</font>",
"byrobot_petrone_v2_flight_controller_if_joystick_direction": "<br>조종기의 조이스틱을 지정한 방향으로 움직였을 때 true를 반환합니다.<br><br><font color='crimson'>#조건</font> <font color='dodgerblue'>#조종기</font> <font color='forestgreen'>#조이스틱</font>",
"byrobot_petrone_v2_flight_controller_light_color_rgb_input": "<br>빛의 삼원색인 Red, Green, Blue 값을 지정하여 조종기 LED의 색상을 원하는대로 만들 수 있습니다.<br>10진수(0 ~ 255) 값을 사용합니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#LED제어</font>",
"byrobot_petrone_v2_flight_controller_light_color_rgb_select": "<br>RGB 색지정 블록을 이용해서 만들 수 있는<br> 조종기 LED 예시입니다.<br>RGB 색지정 블록을 이용해서 멋진 색깔을<br> 다양하게 만들어보세요.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#LED제어</font>",
"byrobot_petrone_v2_flight_controller_light_manual_single": "<br>조종기 LED를 조작하는데 사용합니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#LED제어</font>",
"byrobot_petrone_v2_flight_controller_light_manual_single_input": "<br>조종기 LED를 조작하는데 사용합니다.<br>2진수(0b00100000 ~ 0b11100000), 10진수(32 ~ 224), 16진수(0x20 ~ 0xE0) 값을 사용할 수 있습니다. 2진수로 표현한 값에서 각각의 비트는 LED의 Red, Green, Blue 색을 선택하는 스위치 역할을 합니다. 밝기 값은 0 ~ 255 사이의 값을 사용할 수 있습니다. 값이 커질수록 더 밝아집니다. <br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#LED제어</font>",
"byrobot_petrone_v2_flight_controller_light_manual_single_off": "<br>조종기의 모든 LED를 끕니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#LED끄기</font>",
"byrobot_petrone_v2_flight_controller_value_button": "<br>조종기에서 눌러진 버튼과 관련된 이벤트를 반환합니다.<br><br><font color='crimson'>#값</font> <font color='dodgerblue'>#조종기</font> <font color='forestgreen'>#버튼</font>",
"byrobot_petrone_v2_flight_controller_value_joystick": "<br>조종기의 조이스틱과 관련된 입력 값을 반환합니다. 각 축의 범위는 -100 ~ 100 입니다.<br><br>조이스틱 방향은 가로x세로 = 3x3 = 총9방향입니다.<br>위(왼쪽=17, 가운데=18, 오른쪽=20)<br>중간(왼쪽=33, 센터=34, 오른쪽=36)<br>아래(왼쪽=65, 가운데=66, 오른쪽=68)<br>기본값은 센터=34입니다.<br><br>조이스틱 이벤트는 값이 있을때 2, 없으면 0, 진입 1, 벗어남 3입니다.<br><br><font color='crimson'>#값</font> <font color='dodgerblue'>#조종기</font> <font color='forestgreen'>#조이스틱</font>",
"byrobot_petrone_v2_flight_controller_vibrator_delay": "<br>진동을 지정한 시간동안 켜고 끄는 것을 지정한 시간동안 반복합니다. 이 블럭을 만났을 경우 진동이 켜져있거나 예약된 진동이 있다면 모두 삭제합니다. 이 블럭은 지정한 시간이 끝날 때까지 다음 블럭으로 넘어가지 않습니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#진동</font> <font color='forestgreen'>#즉시</font> <font color='peru'>#시간지연</font>",
"byrobot_petrone_v2_flight_controller_vibrator_off": "<br>진동을 끕니다. 예약된 진동이 있다면 모두 삭제합니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#진동끄기</font>",
"byrobot_petrone_v2_flight_controller_vibrator_on_delay": "<br>진동을 지정한 시간동안 켭니다. 이 블럭을 만났을 경우 진동이 켜져있거나 예약된 진동이 있다면 모두 삭제합니다. 이 블럭은 지정한 시간이 끝날 때까지 다음 블럭으로 넘어가지 않습니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#진동</font> <font color='forestgreen'>#즉시</font> <font color='peru'>#시간지연</font>",
"byrobot_petrone_v2_flight_controller_vibrator_on_reserve": "<br>진동을 지정한 시간동안 켜는 것을 예약합니다. 이 블럭은 명령을 전달 후 바로 다음 블럭으로 넘어갑니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#진동</font> <font color='forestgreen'>#예약</font>",
"byrobot_petrone_v2_flight_controller_vibrator_reserve": "<br>진동을 지정한 시간동안 켜고 끄는 것을 지정한 시간동안 반복하도록 예약합니다. 이 블럭은 명령을 전달 후 바로 다음 블럭으로 넘어갑니다.<br><br><font color='crimson'>#조종기</font> <font color='dodgerblue'>#진동</font> <font color='forestgreen'>#예약</font>",
"byrobot_petrone_v2_flight_drone_command_mode_vehicle_drone": "<br>드론 Vehicle mode를 변경합니다.<br><br>드론(가드 포함) = 16, 드론(가드 없음) = 17, 드론(FPV) = 18 입니다.<br><br><font color='crimson'>#드론</font> <font color='dodgerblue'>#Vehicle mode</font>",
"byrobot_petrone_v2_flight_drone_control_coordinate": "<br>드론 좌표 기준을 변경합니다. Headless mode 선택을 on으로 하면 이륙 시와 '방향초기화'를 했을 때 드론이 바라보는 방향을 기준으로 앞뒤좌우가 고정됩니다. 이 때에는 Yaw를 조작하여 드론이 다른 방향을 보게 하여도 처음 지정한 방향을 기준으로 앞뒤좌우로 움직입니다. 사용자가 바라보는 방향과 드론의 기준 방향이 같을 때 조작하기 편리한 장점이 있습니다.<br>Headless mode를 off로 선택하면 현재 드론이 바라보는 방향을 기준으로 앞뒤좌우가 결정됩니다. 드론의 움직임에 따라 앞뒤좌우가 계속 바뀌기 때문에 익숙해지기 전까지는 사용하기 어려울 수 있습니다.<br><br><font color='crimson'>#드론</font> <font color='dodgerblue'>#좌표기준</font>",
"byrobot_petrone_v2_flight_drone_control_drone_landing": "<br>드론을 착륙시킵니다.<br><br><font color='crimson'>#드론</font> <font color='dodgerblue'>#착륙</font>",
"byrobot_petrone_v2_flight_drone_control_drone_reset_heading": "<br>드론의 방향을 초기화합니다. 앱솔루트 모드인 경우 현재 드론이 바라보는 방향을 0도로 변경합니다. 일반 모드에서는 아무런 영향이 없습니다.<br><br><font color='crimson'>#드론</font> <font color='dodgerblue'>#방향초기화</font>",
"byrobot_petrone_v2_flight_drone_control_drone_stop": "<br>드론 작동을 정지합니다.<br><br><font color='crimson'>#드론</font> <font color='dodgerblue'>#정지</font>",
"byrobot_petrone_v2_flight_drone_control_drone_takeoff": "<br>드론을 이륙시킵니다.<br><br><font color='crimson'>#드론</font> <font color='dodgerblue'>#이륙</font>",
"byrobot_petrone_v2_flight_drone_control_quad": "<br>드론 조종 값을 지정합니다. 입력 가능한 값의 범위는 -100 ~ 100입니다. 정지 상태에서 Throttle 값을 50이상으로 지정하면 드론이 이륙합니다. 명령 전달 후 바로 다음 블럭으로 넘어갑니다.<br><br><font color='crimson'>#드론</font> <font color='dodgerblue'>#조종</font>",
"byrobot_petrone_v2_flight_drone_control_quad_delay": "<br>드론 조종 값을 지정합니다. 입력 가능한 값의 범위는 -100 ~ 100입니다. 정지 상태에서 Throttle 값을 50이상으로 지정하면 드론이 이륙합니다. 지정한 시간이 지나면 해당 조종 값을 0으로 변경합니다. 지정한 시간이 끝날 때까지 다음 블럭으로 넘어가지 않습니다.<br><br><font color='crimson'>#드론</font> <font color='dodgerblue'>#조종</font> <font color='forestgreen'>#시간지연</font>",
"byrobot_petrone_v2_flight_drone_control_quad_one": "<br>드론 조종 값을 지정합니다. 입력 가능한 값의 범위는 -100 ~ 100입니다. 정지 상태에서 Throttle 값을 50이상으로 지정하면 드론이 이륙합니다. 명령 전달 후 바로 다음 블럭으로 넘어갑니다.<br><br><font color='crimson'>#드론</font> <font color='dodgerblue'>#조종</font>",
"byrobot_petrone_v2_flight_drone_control_quad_one_delay": "<br>드론 조종 값을 지정합니다. 입력 가능한 값의 범위는 -100 ~ 100입니다. 정지 상태에서 Throttle 값을 50이상으로 지정하면 드론이 이륙합니다. 지정한 시간이 지나면 해당 조종 값을 0으로 변경합니다. 지정한 시간이 끝날 때까지 다음 블럭으로 넘어가지 않습니다.<br><br><font color='crimson'>#드론</font> <font color='dodgerblue'>#조종</font> <font color='forestgreen'>#시간지연</font>",
"byrobot_petrone_v2_flight_drone_irmessage": "<br>적외선으로 지정한 값을 보냅니다. 사용 가능한 값의 범위는 -2147483647 ~ 2147483647입니다.수신 방향이 추가되었습니다.<br><br><font color='crimson'>#드론</font> <font color='dodgerblue'>#적외선통신</font>",
"byrobot_petrone_v2_flight_drone_light_color_rgb_input": "<br>빛의 삼원색인 Red, Green, Blue 값을 지정하여 드론의 눈 또는 팔 LED의 색상을 원하는대로 만들 수 있습니다.<br>10진수(0 ~ 255) 값을 사용합니다.<br><br><font color='crimson'>#드론</font> <font color='dodgerblue'>#LED제어</font>",
"byrobot_petrone_v2_flight_drone_light_color_rgb_select": "<br>RGB 색지정 블록을 이용해서 만들 수 있는<br> 드론 LED 예시입니다.<br>RGB 색지정 블록을 이용해서 멋진 색깔을<br> 다양하게 만들어보세요.<br><br><font color='crimson'>#드론</font> <font color='dodgerblue'>#LED제어</font>",
"byrobot_petrone_v2_flight_drone_light_manual_single": "<br>드론의 LED를 조작하는데 사용합니다.<br><br><font color='crimson'>#드론</font> <font color='dodgerblue'>#LED제어</font>",
"byrobot_petrone_v2_flight_drone_light_manual_single_input": "<br>드론 LED를 조작하는데 사용합니다.<br>2진수(0b00000100 ~ 0b11111100), 10진수(4 ~ 252), 16진수(0x04 ~ 0xFC) 값을 사용할 수 있습니다. 2진수로 표현한 값에서 각각의 비트는 눈과 팔 LED의 Red, Green, Blue 색을 선택하는 스위치 역할을 합니다. 밝기 값은 0 ~ 255 사이의 값을 사용할 수 있습니다. 값이 커질수록 더 밝아집니다.<br><br><font color='crimson'>#드론</font> <font color='dodgerblue'>#LED제어</font>",
"byrobot_petrone_v2_flight_drone_light_manual_single_off": "<br>드론의 모든 LED를 끕니다.<br><br><font color='crimson'>#드론</font> <font color='dodgerblue'>#LED끄기</font>",
"byrobot_petrone_v2_flight_drone_motor_stop": "<br>모든 모터의 작동을 정지합니다.<br><br><font color='crimson'>#드론</font> <font color='dodgerblue'>#모터정지</font>",
"byrobot_petrone_v2_flight_drone_motorsingle": "<br>지정한 모터를 원하는 빠르기로 회전할 때 사용합니다. 사용 가능한 값의 범위는 0 ~ 4000입니다. 모터의 순서는 '왼쪽 앞', '오른쪽 앞', '오른쪽 뒤', '왼쪽 뒤' 입니다.<br><br><font color='crimson'>#드론</font> <font color='dodgerblue'>#모터제어</font>",
"byrobot_petrone_v2_flight_drone_motorsingle_input": "<br>지정한 모터(1, 2, 3, 4)를 원하는 빠르기로 회전할 때 사용합니다. 사용 가능한 값의 범위는 0 ~ 4000입니다. 모터의 순서는 '왼쪽 앞', '오른쪽 앞', '오른쪽 뒤', '왼쪽 뒤' 입니다.<br><br><font color='crimson'>#드론</font> <font color='dodgerblue'>#모터제어</font>",
"byrobot_petrone_v2_flight_drone_motorsingle_rotation": "<br>지정한 모터를 원하는 빠르기로 회전할 때 사용합니다. 1번 모터와 2번 모터는 역방향도 회전 가능하기 때문에 방향도 선택할 수 있습니다. 사용 가능한 값의 범위는 0 ~ 4000입니다. 모터의 순서는 '왼쪽 앞', '오른쪽 앞', '오른쪽 뒤', '왼쪽 뒤' 입니다.<br><br><font color='crimson'>#자동차</font> <font color='dodgerblue'>#모터제어</font>",
"byrobot_petrone_v2_flight_drone_value_attitude": "<br>드론의 현재 자세를 각도로 반환합니다. Roll은 좌우 기울기(-90 ~ 90), Pitch는 앞뒤 기울기(-90 ~ 90), Yaw는 회전 각도(-180 ~ 180) 입니다.<br><br><font color='crimson'>#값</font> <font color='dodgerblue'>#드론</font> <font color='forestgreen'>#자세</font>",
"byrobot_petrone_v2_flight_drone_value_etc": "<br>페트론V2 설정과 관련된 값들과 적외선 통신으로 받은 값을 반환합니다.<br><br><font color='crimson'>#값</font> <font color='dodgerblue'>#드론</font> <font color='forestgreen'>#기타</font>",
"byrobot_petrone_v2_flight_drone_value_imu": "<br>페트론V2 IMU센서와 관련된 값들을 반환합니다.<br>(병진운동) 가속도는 x, y, z축에 대한 중력가속도입니다. 1g = 9.8m/s^2<br>(회전운동) 각속도는 x, y, z축을 기준으로 회전하는 속력을 나타내는 벡터입니다.(pitch, roll, yaw) <br><br><font color='crimson'>#값</font> <font color='dodgerblue'>#드론</font> <font color='forestgreen'>#IMU센서</font> <font color='crimson'>#가속도</font> <font color='dodgerblue'>#병진운동</font> <font color='crimson'>#각속도</font> <font color='dodgerblue'>#회전운동</font>",
"byrobot_petrone_v2_flight_drone_value_sensor": "<br>페트론V2 센서와 관련된 값들을 반환합니다.<br>온도 단위=섭씨 도, 해발고도 단위=m, image flow 단위=m, 바닥까지의 거리 단위=m<br>해발고도 값은 대기압의 영향을 받아서 오차범위가 큽니다. 바닥까지 거리의 유효 측정 거리는 2m입니다. image flow값은 일정한 속도와 높이에서 이동할 경우에 유효합니다. 이러한 센서값들을 이용하여 Petrone V2는 호버링(고도 유지) 기능을 수행합니다.<br><br><font color='crimson'>#값</font> <font color='dodgerblue'>#드론</font> <font color='forestgreen'>#센서</font> <font color='crimson'>#온도</font> <font color='dodgerblue'>#해발고도</font> <font color='forestgreen'>#image flow</font> <font color='crimson'>#range</font> <font color='dodgerblue'>#대기압</font> <font color='forestgreen'>#호버링</font>",
"boolean_and_or": "그리고 : 두 판단이 모두 참인 경우 ‘참’으로 판단합니다.<br>또는 : 두 판단 중 하나라도 참이 있는 경우 ‘참’으로 판단합니다."
};
Lang.Category = {
"entrybot_friends": "엔트리봇 친구들",
"people": "사람",
"animal": "동물",
"animal_flying": "하늘",
"animal_land": "땅",
"animal_water": "물",
"animal_others": "기타",
"plant": "식물",
"plant_flower": "꽃",
"plant_grass": "풀",
"plant_tree": "나무",
"plant_others": "기타",
"vehicles": "탈것",
"vehicles_flying": "하늘",
"vehicles_land": "땅",
"vehicles_water": "물",
"vehicles_others": "기타",
"architect": "건물",
"architect_building": "건축물",
"architect_monument": "기념물",
"architect_others": "기타",
"food": "음식",
"food_vegetables": "과일/채소",
"food_meat": "고기",
"food_drink": "음료",
"food_others": "기타",
"environment": "환경",
"environment_nature": "자연",
"environment_space": "우주",
"environment_others": "기타",
"stuff": "물건",
"stuff_living": "생활",
"stuff_hobby": "취미",
"stuff_others": "기타",
"fantasy": "판타지",
"interface": "인터페이스",
"background": "배경",
"background_outdoor": "실외",
"background_indoor": "실내",
"background_nature": "자연",
"background_others": "기타"
};
Lang.Device = {
"arduino": "아두이노",
"byrobot_dronefighter_controller": "바이로봇 드론파이터 컨트롤러",
"byrobot_dronefighter_drive": "바이로봇 드론파이터 자동차",
"byrobot_dronefighter_flight": "바이로봇 드론파이터 드론",
"byrobot_petrone_v2_controller": "바이로봇 페트론V2 조종기",
"byrobot_petrone_v2_drive": "바이로봇 페트론V2 자동차",
"byrobot_petrone_v2_flight": "바이로봇 페트론V2 드론",
"hamster": "햄스터",
"roboid": "로보이드",
"turtle": "거북이",
"albert": "알버트",
"robotis_carCont": "로보티즈 자동차 로봇",
"robotis_openCM70": "로보티즈 IoT",
"sensorBoard": "엔트리 센서보드",
"trueRobot": "뚜루뚜루",
"CODEino": "코드이노",
"bitbrick": "비트브릭",
"bitBlock": "비트블록",
"xbot_epor_edge": "엑스봇",
"dplay": "디플레이",
"iboard": "아이보드",
"nemoino": "네모이노",
"ev3": "EV3",
"robotori": "로보토리",
"smartBoard": "스마트보드",
"chocopi": "초코파이보드",
"rokoboard": "로코보드",
"altino": "알티노"
};
Lang.General = {
"turn_on": "켜기",
"turn_off": "끄기",
"left": "왼쪽",
"right": "오른쪽",
"param_string": "문자값",
"both": "양쪽",
"transparent": "투명",
"black": "검은색",
"brown": "갈색",
"red": "빨간색",
"yellow": "노란색",
"green": "초록색",
"skyblue": "하늘색",
"blue": "파란색",
"purple": "보라색",
"white": "하얀색",
"note_c": "도",
"note_d": "레",
"note_e": "미",
"note_f": "파",
"note_g": "솔",
"note_a": "라",
"note_b": "시",
"questions": "문제",
"clock": "시계",
"counter_clock": "반시계",
"font_size": "글자 크기",
"second": "초",
"alert_title": "알림",
"confirm_title": "확인",
"update_title": "업데이트 알림",
"recent_download": "최신 버전 다운로드",
"recent_download2": "최신버전 다운로드",
"latest_version": "최신 버전입니다."
};
Lang.Fonts = {
"batang": "바탕체",
"myeongjo": "명조체",
"gothic": "고딕체",
"pen_script": "필기체",
"jeju_hallasan": "한라산체",
"gothic_coding": "코딩고딕체"
};
Lang.Hw = {
"note": "음표",
"leftWheel": "왼쪽 바퀴",
"rightWheel": "오른쪽 바퀴",
"leftEye": "왼쪽 눈",
"rightEye": "오른쪽 눈",
"led": "불빛",
"led_en": "LED",
"body": "몸통",
"front": "앞쪽",
"port_en": "",
"port_ko": "번 포트",
"sensor": "센서",
"light": "빛",
"temp": "온도",
"switch_": "스위치",
"right_ko": "오른쪽",
"right_en": "",
"left_ko": "왼쪽",
"left_en": "",
"up_ko": "위쪽",
"up_en": "",
"down_ko": "아래쪽",
"down_en": "",
"output": "출력",
"left": "왼쪽",
"right": "오른쪽",
"sub": "서보",
"motor": "모터",
"": "",
"buzzer": "버저",
"IR": "적외선",
"acceleration": "가속",
"analog": "아날로그",
"angular_acceleration": "각가속",
"button": "버튼",
"humidity": "습도",
"joystick": "조이스틱",
"port": "포트",
"potentiometer": "포텐시오미터",
"servo": "서보"
};
Lang.template = {
"albert_hand_found": "손 찾음?",
"albert_is_oid_value": " %1 OID 값이 %2 인가? ",
"albert_value": "%1",
"albert_move_forward_for_secs": "앞으로 %1 초 이동하기 %2",
"albert_move_backward_for_secs": "뒤로 %1 초 이동하기 %2",
"albert_turn_for_secs": "%1 으로 %2 초 돌기 %3",
"albert_change_both_wheels_by": "왼쪽 바퀴 %1 오른쪽 바퀴 %2 만큼 바꾸기 %3",
"albert_set_both_wheels_to": "왼쪽 바퀴 %1 오른쪽 바퀴 %2 (으)로 정하기 %3",
"albert_change_wheel_by": "%1 바퀴 %2 만큼 바꾸기 %3",
"albert_set_wheel_to": "%1 바퀴 %2 (으)로 정하기 %3",
"albert_stop": "정지하기 %1",
"albert_set_pad_size_to": "말판 크기를 폭 %1 높이 %2 (으)로 정하기 %3",
"albert_move_to_x_y_on_board": "밑판 x: %1 y: %2 위치로 이동하기 %3",
"albert_set_orientation_on_board": "말판 %1도 방향으로 바라보기 %2",
"albert_set_eye_to": "%1 눈을 %2 으로 정하기 %3",
"albert_clear_eye": "%1 눈 끄기 %2",
"albert_body_led": "몸통 LED %1 %2",
"albert_front_led": "앞쪽 LED %1 %2",
"albert_beep": "삐 소리내기 %1",
"albert_change_buzzer_by": "버저 음을 %1 만큼 바꾸기 %2",
"albert_set_buzzer_to": "버저 음을 %1 (으)로 정하기 %2",
"albert_clear_buzzer": "버저 끄기 %1",
"albert_play_note_for": "%1 %2 음을 %3 박자 연주하기 %4",
"albert_rest_for": "%1 박자 쉬기 %2",
"albert_change_tempo_by": "연주 속도를 %1 만큼 바꾸기 %2",
"albert_set_tempo_to": "연주 속도를 %1 BPM으로 정하기 %2",
"albert_move_forward": "앞으로 이동하기 %1",
"albert_move_backward": "뒤로 이동하기 %1",
"albert_turn_around": "%1 으로 돌기 %2",
"albert_set_led_to": "%1 %2 으로 정하기 %3",
"albert_clear_led": "%1 %2",
"albert_change_wheels_by": "%1 %2 %3",
"albert_set_wheels_to": "%1 %2 %3",
"arduino_text": "%1",
"arduino_send": "신호 %1 보내기",
"arduino_get_number": "신호 %1 의 숫자 결과값",
"arduino_get_string": "신호 %1 의 글자 결과값",
"arduino_get_sensor_number": "%1 ",
"arduino_get_port_number": "%1 ",
"arduino_get_digital_toggle": "%1 ",
"arduino_get_pwm_port_number": "%1 ",
"arduino_get_number_sensor_value": "아날로그 %1 번 센서값 ",
"arduino_ext_get_analog_value": "아날로그 %1 번 센서값",
"arduino_ext_get_analog_value_map": "%1 의 범위를 %2 ~ %3 에서 %4 ~ %5 로 바꾼값",
"arduino_ext_get_ultrasonic_value": "울트라소닉 Trig %1 Echo %2 센서값",
"arduino_ext_toggle_led": "디지털 %1 번 핀 %2 %3",
"arduino_ext_digital_pwm": "디지털 %1 번 핀을 %2 (으)로 정하기 %3",
"arduino_ext_set_tone": "디지털 %1 번 핀의 버저를 %2 %3 음으로 %4 초 연주하기 %5",
"arduino_ext_set_servo": "디지털 %1 번 핀의 서보모터를 %2 의 각도로 정하기 %3",
"arduino_ext_get_digital": "디지털 %1 번 센서값",
"blacksmith_get_analog_value": "아날로그 %1 번 핀 센서 값",
"blacksmith_get_analog_mapping": "아날로그 %1 번 핀 센서 값의 범위를 %2 ~ %3 에서 %4 ~ %5 로 바꾼 값",
"blacksmith_get_digital_bluetooth": "블루투스 RX 2 핀 데이터 값",
"blacksmith_get_digital_ultrasonic": "초음파 Trig %1 핀 Echo %2 핀 센서 값",
"blacksmith_get_digital_toggle": "디지털 %1 번 핀 센서 값",
"blacksmith_set_digital_toggle": "디지털 %1 번 핀 %2 %3",
"blacksmith_set_digital_pwm": "디지털 %1 번 핀을 %2 (으)로 정하기 %3",
"blacksmith_set_digital_servo": "디지털 %1 번 핀의 서보모터를 %2 의 각도로 정하기 %3",
"blacksmith_set_digital_buzzer": "디지털 %1 번 핀의 버저를 %2 %3 음으로 %4 초 연주하기 %5",
"blacksmith_set_digital_lcd": "LCD화면 %1 줄에 %2 나타내기 %3",
"blacksmith_set_digital_bluetooth": "블루투스 TX 3 핀에 %1 데이터 보내기 %2",
"byrobot_dronefighter_controller_controller_value_button": "%1",
"byrobot_dronefighter_controller_controller_value_joystick": "%1",
"byrobot_dronefighter_controller_controller_if_button_press": "조종기 %1 눌렀을 때",
"byrobot_dronefighter_controller_controller_if_joystick_direction": "조종기 %1 조이스틱 %2 움직였을 때",
"byrobot_dronefighter_controller_controller_light_manual_single_off": "조종기 LED 끄기 %1",
"byrobot_dronefighter_controller_controller_light_manual_single": "조종기 LED %1 %2 %3",
"byrobot_dronefighter_controller_controller_light_manual_single_input": "조종기 LED %1 밝기 %2 %3",
"byrobot_dronefighter_controller_controller_buzzer_off": "버저 끄기 %1",
"byrobot_dronefighter_controller_controller_buzzer_scale": "%1 옥타브 %2 을(를) 연주 %3",
"byrobot_dronefighter_controller_controller_buzzer_scale_delay": "%1 옥타브 %2 을(를) %3 초 연주 %4",
"byrobot_dronefighter_controller_controller_buzzer_scale_reserve": "%1 옥타브 %2 을(를) %3 초 예약 %4",
"byrobot_dronefighter_controller_controller_buzzer_hz": "%1 Hz 소리를 연주 %2",
"byrobot_dronefighter_controller_controller_buzzer_hz_delay": "%1 Hz 소리를 %2 초 연주 %3",
"byrobot_dronefighter_controller_controller_buzzer_hz_reserve": "%1 Hz 소리를 %2 초 예약 %3",
"byrobot_dronefighter_controller_controller_vibrator_off": "진동 끄기 %1",
"byrobot_dronefighter_controller_controller_vibrator_on_delay": "진동 %1 초 켜기 %2",
"byrobot_dronefighter_controller_controller_vibrator_on_reserve": "진동 %1 초 예약 %2",
"byrobot_dronefighter_controller_controller_vibrator_delay": "진동 %1 초 켜기, %2 초 끄기를 %3 초 실행 %4",
"byrobot_dronefighter_controller_controller_vibrator_reserve": "진동 %1 초 켜기, %2 초 끄기를 %3 초 예약 %4",
"byrobot_dronefighter_controller_controller_userinterface_preset": "조종기 설정 모드 사용자 인터페이스를 %1(으)로 변경%2",
"byrobot_dronefighter_controller_controller_userinterface": "조종기 설정 모드에서 %1 %2 실행 %3",
"byrobot_dronefighter_drive_drone_value_attitude": "%1",
"byrobot_dronefighter_drive_drone_value_etc": "%1",
"byrobot_dronefighter_drive_controller_value_button": "%1",
"byrobot_dronefighter_drive_controller_value_joystick": "%1",
"byrobot_dronefighter_drive_controller_if_button_press": "조종기 %1 눌렀을 때",
"byrobot_dronefighter_drive_controller_if_joystick_direction": "조종기 %1 조이스틱 %2 움직였을 때",
"byrobot_dronefighter_drive_drone_control_car_stop": "자동차 정지 %1",
"byrobot_dronefighter_drive_drone_control_double_one": "자동차를 %1 %2% 정하기 %3",
"byrobot_dronefighter_drive_drone_control_double_one_delay": "자동차를 %1 %2% %3 초 실행 %4",
"byrobot_dronefighter_drive_drone_control_double": "자동차를 방향 %1%, 전진 %2% 정하기 %3",
"byrobot_dronefighter_drive_drone_motor_stop": "모터 정지 %1",
"byrobot_dronefighter_drive_drone_motorsingle": "%1 번 모터를 %2 (으)로 회전 %3",
"byrobot_dronefighter_drive_drone_motorsingle_input": "%1 번 모터를 %2 (으)로 회전 %3",
"byrobot_dronefighter_drive_drone_irmessage": "적외선으로 %1 값 보내기 %2",
"byrobot_dronefighter_drive_controller_light_manual_single_off": "조종기 LED 끄기 %1",
"byrobot_dronefighter_drive_controller_light_manual_single": "조종기 LED %1 %2 %3",
"byrobot_dronefighter_drive_controller_light_manual_single_input": "조종기 LED %1 밝기 %2 %3",
"byrobot_dronefighter_drive_drone_light_manual_single_off": "자동차 LED 끄기 %1",
"byrobot_dronefighter_drive_drone_light_manual_single": "자동차 LED %1 %2 %3",
"byrobot_dronefighter_drive_drone_light_manual_single_input": "자동차 LED %1 밝기 %2 %3",
"byrobot_dronefighter_drive_controller_buzzer_off": "버저 끄기 %1",
"byrobot_dronefighter_drive_controller_buzzer_scale": "%1 옥타브 %2 을(를) 연주 %3",
"byrobot_dronefighter_drive_controller_buzzer_scale_delay": "%1 옥타브 %2 을(를) %3 초 연주 %4",
"byrobot_dronefighter_drive_controller_buzzer_scale_reserve": "%1 옥타브 %2 을(를) %3 초 예약 %4",
"byrobot_dronefighter_drive_controller_buzzer_hz": "%1 Hz 소리를 연주 %2",
"byrobot_dronefighter_drive_controller_buzzer_hz_delay": "%1 Hz 소리를 %2 초 연주 %3",
"byrobot_dronefighter_drive_controller_buzzer_hz_reserve": "%1 Hz 소리를 %2 초 예약 %3",
"byrobot_dronefighter_drive_controller_vibrator_off": "진동 끄기 %1",
"byrobot_dronefighter_drive_controller_vibrator_on_delay": "진동 %1 초 켜기 %2",
"byrobot_dronefighter_drive_controller_vibrator_on_reserve": "진동 %1 초 예약 %2",
"byrobot_dronefighter_drive_controller_vibrator_delay": "진동 %1 초 켜기, %2 초 끄기를 %3 초 실행 %4",
"byrobot_dronefighter_drive_controller_vibrator_reserve": "진동 %1 초 켜기, %2 초 끄기를 %3 초 예약 %4",
"byrobot_dronefighter_flight_drone_value_attitude": "%1",
"byrobot_dronefighter_flight_drone_value_etc": "%1",
"byrobot_dronefighter_flight_controller_value_button": "%1",
"byrobot_dronefighter_flight_controller_value_joystick": "%1",
"byrobot_dronefighter_flight_controller_if_button_press": "조종기 %1 눌렀을 때",
"byrobot_dronefighter_flight_controller_if_joystick_direction": "조종기 %1 조이스틱 %2 움직였을 때",
"byrobot_dronefighter_flight_drone_control_drone_stop": "드론 정지 %1",
"byrobot_dronefighter_flight_drone_control_coordinate": "드론 좌표 기준을 %1로 정하기 %2",
"byrobot_dronefighter_flight_drone_control_drone_reset_heading": "드론 방향 초기화 %1",
"byrobot_dronefighter_flight_drone_control_quad_one": "드론 %1 %2% 정하기 %3",
"byrobot_dronefighter_flight_drone_control_quad_one_delay": "드론 %1 %2% %3 초 실행 %4",
"byrobot_dronefighter_flight_drone_control_quad": "드론 Roll %1%, Pitch %2%, Yaw %3%, Throttle %4% 정하기 %5",
"byrobot_dronefighter_flight_drone_motor_stop": "모터 정지 %1",
"byrobot_dronefighter_flight_drone_motorsingle": "%1 번 모터를 %2 (으)로 회전 %3",
"byrobot_dronefighter_flight_drone_motorsingle_input": "%1 번 모터를 %2 (으)로 회전 %3",
"byrobot_dronefighter_flight_drone_irmessage": "적외선으로 %1 값 보내기 %2",
"byrobot_dronefighter_flight_controller_light_manual_single_off": "조종기 LED 끄기 %1",
"byrobot_dronefighter_flight_controller_light_manual_single": "조종기 LED %1 %2 %3",
"byrobot_dronefighter_flight_controller_light_manual_single_input": "조종기 LED %1 밝기 %2 %3",
"byrobot_dronefighter_flight_drone_light_manual_single_off": "드론 LED 끄기 %1",
"byrobot_dronefighter_flight_drone_light_manual_single": "드론 LED %1 %2 %3",
"byrobot_dronefighter_flight_drone_light_manual_single_input": "드론 LED %1 밝기 %2 %3",
"byrobot_dronefighter_flight_controller_buzzer_off": "버저 끄기 %1",
"byrobot_dronefighter_flight_controller_buzzer_scale": "%1 옥타브 %2 을(를) 연주 %3",
"byrobot_dronefighter_flight_controller_buzzer_scale_delay": "%1 옥타브 %2 을(를) %3 초 연주 %4",
"byrobot_dronefighter_flight_controller_buzzer_scale_reserve": "%1 옥타브 %2 을(를) %3 초 예약 %4",
"byrobot_dronefighter_flight_controller_buzzer_hz": "%1 Hz 소리를 연주 %2",
"byrobot_dronefighter_flight_controller_buzzer_hz_delay": "%1 Hz 소리를 %2 초 연주 %3",
"byrobot_dronefighter_flight_controller_buzzer_hz_reserve": "%1 Hz 소리를 %2 초 예약 %3",
"byrobot_dronefighter_flight_controller_vibrator_off": "진동 끄기 %1",
"byrobot_dronefighter_flight_controller_vibrator_on_delay": "진동 %1 초 켜기 %2",
"byrobot_dronefighter_flight_controller_vibrator_on_reserve": "진동 %1 초 예약 %2",
"byrobot_dronefighter_flight_controller_vibrator_delay": "진동 %1 초 켜기, %2 초 끄기를 %3 초 실행 %4",
"byrobot_dronefighter_flight_controller_vibrator_reserve": "진동 %1 초 켜기, %2 초 끄기를 %3 초 예약 %4",
"byrobot_petrone_v2_controller_controller_buzzer_hz": "%1 Hz 소리를 연주 %2",
"byrobot_petrone_v2_controller_controller_buzzer_hz_delay": "%1 Hz 소리를 %2 초 연주 %3",
"byrobot_petrone_v2_controller_controller_buzzer_hz_reserve": "%1 Hz 소리를 %2 초 예약 %3",
"byrobot_petrone_v2_controller_controller_buzzer_off": "버저 끄기 %1",
"byrobot_petrone_v2_controller_controller_buzzer_scale": "%1 옥타브 %2 을(를) 연주 %3",
"byrobot_petrone_v2_controller_controller_buzzer_scale_delay": "%1 옥타브 %2 을(를) %3 초 연주 %4",
"byrobot_petrone_v2_controller_controller_buzzer_scale_reserve": "%1 옥타브 %2 을(를) %3 초 예약 %4",
"byrobot_petrone_v2_controller_controller_display_clear": "지우기 x %1, y %2, 너비 %3, 높이 %4 %5 %6",
"byrobot_petrone_v2_controller_controller_display_clear_all": "조종기 화면 전체 지우기%1 %2",
"byrobot_petrone_v2_controller_controller_display_draw_circle": "원 x %1, y %2, 반지름 %3 %4 %5 %6",
"byrobot_petrone_v2_controller_controller_display_draw_line": "선 x1 %1, y1 %2, x2 %3, y2 %4 %5 %6 %7",
"byrobot_petrone_v2_controller_controller_display_draw_point": "점 그리기 x %1, y %2 %3 %4",
"byrobot_petrone_v2_controller_controller_display_draw_rect": "사각형 x %1, y %2, 너비 %3, 높이 %4 %5 %6 %7 %8",
"byrobot_petrone_v2_controller_controller_display_draw_string": "문자열 x %1, y %2 %3 %4 입력 %5 %6",
"byrobot_petrone_v2_controller_controller_display_draw_string_align": "문자열 정렬 x1 %1, x2 %2, y %3 %4 %5 %6 입력 %7 %8",
"byrobot_petrone_v2_controller_controller_display_invert": "색반전 x %1, y %2, 너비 %3, 높이 %4 %5",
"byrobot_petrone_v2_controller_controller_if_button_press": "조종기 %1 눌렀을 때",
"byrobot_petrone_v2_controller_controller_if_joystick_direction": "조종기 %1 조이스틱 %2 움직였을 때",
"byrobot_petrone_v2_controller_controller_light_color_rgb_input": "조종기 LED 색지정 R %1, G %2, B %3 %4 %5",
"byrobot_petrone_v2_controller_controller_light_color_rgb_select": "조종기 LED의 RGB 조합 예시 %1 %2 %3",
"byrobot_petrone_v2_controller_controller_light_manual_single": "조종기 LED %1 %2 %3",
"byrobot_petrone_v2_controller_controller_light_manual_single_input": "조종기 LED %1 밝기 %2 %3",
"byrobot_petrone_v2_controller_controller_light_manual_single_off": "조종기 LED 끄기 %1",
"byrobot_petrone_v2_controller_controller_value_button": "%1",
"byrobot_petrone_v2_controller_controller_value_joystick": "%1",
"byrobot_petrone_v2_controller_controller_vibrator_delay": "진동 %1 초 켜기, %2 초 끄기를 %3 초 실행 %4",
"byrobot_petrone_v2_controller_controller_vibrator_off": "진동 끄기 %1",
"byrobot_petrone_v2_controller_controller_vibrator_on_delay": "진동 %1 초 켜기 %2",
"byrobot_petrone_v2_controller_controller_vibrator_on_reserve": "진동 %1 초 예약 %2",
"byrobot_petrone_v2_controller_controller_vibrator_reserve": "진동 %1 초 켜기, %2 초 끄기를 %3 초 예약 %4",
"byrobot_petrone_v2_drive_controller_buzzer_hz": "%1 Hz 소리를 연주 %2",
"byrobot_petrone_v2_drive_controller_buzzer_hz_delay": "%1 Hz 소리를 %2 초 연주 %3",
"byrobot_petrone_v2_drive_controller_buzzer_hz_reserve": "%1 Hz 소리를 %2 초 예약 %3",
"byrobot_petrone_v2_drive_controller_buzzer_off": "버저 끄기 %1",
"byrobot_petrone_v2_drive_controller_buzzer_scale": "%1 옥타브 %2 을(를) 연주 %3",
"byrobot_petrone_v2_drive_controller_buzzer_scale_delay": "%1 옥타브 %2 을(를) %3 초 연주 %4",
"byrobot_petrone_v2_drive_controller_buzzer_scale_reserve": "%1 옥타브 %2 을(를) %3 초 예약 %4",
"byrobot_petrone_v2_drive_controller_display_clear": "지우기 x %1, y %2, 너비 %3, 높이 %4 %5 %6",
"byrobot_petrone_v2_drive_controller_display_clear_all": "조종기 화면 전체 지우기%1 %2",
"byrobot_petrone_v2_drive_controller_display_draw_circle": "원 x %1, y %2, 반지름 %3 %4 %5 %6",
"byrobot_petrone_v2_drive_controller_display_draw_line": "선 x1 %1, y1 %2, x2 %3, y2 %4 %5 %6 %7",
"byrobot_petrone_v2_drive_controller_display_draw_point": "점 그리기 x %1, y %2 %3 %4",
"byrobot_petrone_v2_drive_controller_display_draw_rect": "사각형 x %1, y %2, 너비 %3, 높이 %4 %5 %6 %7 %8",
"byrobot_petrone_v2_drive_controller_display_draw_string": "문자열 x %1, y %2 %3 %4 입력 %5 %6",
"byrobot_petrone_v2_drive_controller_display_draw_string_align": "문자열 정렬 x1 %1, x2 %2, y %3 %4 %5 %6 입력 %7 %8",
"byrobot_petrone_v2_drive_controller_display_invert": "색반전 x %1, y %2, 너비 %3, 높이 %4 %5",
"byrobot_petrone_v2_drive_controller_if_button_press": "조종기 %1 눌렀을 때",
"byrobot_petrone_v2_drive_controller_if_joystick_direction": "조종기 %1 조이스틱 %2 움직였을 때",
"byrobot_petrone_v2_drive_controller_light_color_rgb_input": "조종기 LED 색지정 R %1, G %2, B %3 %4 %5",
"byrobot_petrone_v2_drive_controller_light_color_rgb_select": "조종기 LED의 RGB 조합 예시 %1 %2 %3",
"byrobot_petrone_v2_drive_controller_light_manual_single": "조종기 LED %1 %2 %3",
"byrobot_petrone_v2_drive_controller_light_manual_single_input": "조종기 LED %1 밝기 %2 %3",
"byrobot_petrone_v2_drive_controller_light_manual_single_off": "조종기 LED 끄기 %1",
"byrobot_petrone_v2_drive_controller_value_button": "%1",
"byrobot_petrone_v2_drive_controller_value_joystick": "%1",
"byrobot_petrone_v2_drive_controller_vibrator_delay": "진동 %1 초 켜기, %2 초 끄기를 %3 초 실행 %4",
"byrobot_petrone_v2_drive_controller_vibrator_off": "진동 끄기 %1",
"byrobot_petrone_v2_drive_controller_vibrator_on_delay": "진동 %1 초 켜기 %2",
"byrobot_petrone_v2_drive_controller_vibrator_on_reserve": "진동 %1 초 예약 %2",
"byrobot_petrone_v2_drive_controller_vibrator_reserve": "진동 %1 초 켜기, %2 초 끄기를 %3 초 예약 %4",
"byrobot_petrone_v2_drive_drone_command_mode_vehicle_car": "Vehicle mode %1 선택 %2",
"byrobot_petrone_v2_drive_drone_control_car_stop": "자동차 정지 %1",
"byrobot_petrone_v2_drive_drone_control_double": "자동차를 방향 %1%, 전진/후진 %2% 정하기 %3",
"byrobot_petrone_v2_drive_drone_control_double_delay": "자동차를 방향 %1%, 전진/후진 %2% %3 초 실행 %4",
"byrobot_petrone_v2_drive_drone_control_double_one": "자동차를 %1 %2% 정하기 %3",
"byrobot_petrone_v2_drive_drone_control_double_one_delay": "자동차를 %1 %2% %3 초 실행 %4",
"byrobot_petrone_v2_drive_drone_irmessage": "적외선으로 %1 값 보내기 %2",
"byrobot_petrone_v2_drive_drone_light_color_rgb_input": "자동차 %1 LED 색지정 R %2, G %3, B %4 %5 %6",
"byrobot_petrone_v2_drive_drone_light_color_rgb_select": "자동차 %1 LED의 RGB 조합 예시 %2 %3 %4",
"byrobot_petrone_v2_drive_drone_light_manual_single": "자동차 LED %1 %2 %3",
"byrobot_petrone_v2_drive_drone_light_manual_single_input": "자동차 LED %1 밝기 %2 %3",
"byrobot_petrone_v2_drive_drone_light_manual_single_off": "자동차 LED 끄기 %1",
"byrobot_petrone_v2_drive_drone_motor_stop": "모터 정지 %1",
"byrobot_petrone_v2_drive_drone_motorsingle": "%1번 모터를 %2(으)로 회전 %3",
"byrobot_petrone_v2_drive_drone_motorsingle_input": "%1번 모터를 %2(으)로 회전 %3",
"byrobot_petrone_v2_drive_drone_motorsingle_rotation": "%1번 모터를 %2으로 %3(으)로 회전 %4",
"byrobot_petrone_v2_drive_drone_value_attitude": "%1",
"byrobot_petrone_v2_drive_drone_value_etc": "%1",
"byrobot_petrone_v2_drive_drone_value_imu": "%1",
"byrobot_petrone_v2_drive_drone_value_sensor": "%1",
"byrobot_petrone_v2_flight_controller_buzzer_hz": "%1 Hz 소리를 연주 %2",
"byrobot_petrone_v2_flight_controller_buzzer_hz_delay": "%1 Hz 소리를 %2 초 연주 %3",
"byrobot_petrone_v2_flight_controller_buzzer_hz_reserve": "%1 Hz 소리를 %2 초 예약 %3",
"byrobot_petrone_v2_flight_controller_buzzer_off": "버저 끄기 %1",
"byrobot_petrone_v2_flight_controller_buzzer_scale": "%1 옥타브 %2 을(를) 연주 %3",
"byrobot_petrone_v2_flight_controller_buzzer_scale_delay": "%1 옥타브 %2 을(를) %3 초 연주 %4",
"byrobot_petrone_v2_flight_controller_buzzer_scale_reserve": "%1 옥타브 %2 을(를) %3 초 예약 %4",
"byrobot_petrone_v2_flight_controller_display_clear": "지우기 x %1, y %2, 너비 %3, 높이 %4 %5 %6",
"byrobot_petrone_v2_flight_controller_display_clear_all": "조종기 화면 전체 지우기%1 %2",
"byrobot_petrone_v2_flight_controller_display_draw_circle": "원 x %1, y %2, 반지름 %3 %4 %5 %6",
"byrobot_petrone_v2_flight_controller_display_draw_line": "선 x1 %1, y1 %2, x2 %3, y2 %4 %5 %6 %7",
"byrobot_petrone_v2_flight_controller_display_draw_point": "점 그리기 x %1, y %2 %3 %4",
"byrobot_petrone_v2_flight_controller_display_draw_rect": "사각형 x %1, y %2, 너비 %3, 높이 %4 %5 %6 %7 %8",
"byrobot_petrone_v2_flight_controller_display_draw_string": "문자열 x %1, y %2 %3 %4 입력 %5 %6",
"byrobot_petrone_v2_flight_controller_display_draw_string_align": "문자열 정렬 x1 %1, x2 %2, y %3 %4 %5 %6 입력 %7 %8",
"byrobot_petrone_v2_flight_controller_display_invert": "색반전 x %1, y %2, 너비 %3, 높이 %4 %5",
"byrobot_petrone_v2_flight_controller_if_button_press": "조종기 %1 눌렀을 때",
"byrobot_petrone_v2_flight_controller_if_joystick_direction": "조종기 %1 조이스틱 %2 움직였을 때",
"byrobot_petrone_v2_flight_controller_light_color_rgb_input": "조종기 LED 색지정 R %1, G %2, B %3 %4 %5",
"byrobot_petrone_v2_flight_controller_light_color_rgb_select": "조종기 LED의 RGB 조합 예시 %1 %2 %3",
"byrobot_petrone_v2_flight_controller_light_manual_single": "조종기 LED %1 %2 %3",
"byrobot_petrone_v2_flight_controller_light_manual_single_input": "조종기 LED %1 밝기 %2 %3",
"byrobot_petrone_v2_flight_controller_light_manual_single_off": "조종기 LED 끄기 %1",
"byrobot_petrone_v2_flight_controller_value_button": "%1",
"byrobot_petrone_v2_flight_controller_value_joystick": "%1",
"byrobot_petrone_v2_flight_controller_vibrator_delay": "진동 %1 초 켜기, %2 초 끄기를 %3 초 실행 %4",
"byrobot_petrone_v2_flight_controller_vibrator_off": "진동 끄기 %1",
"byrobot_petrone_v2_flight_controller_vibrator_on_delay": "진동 %1 초 켜기 %2",
"byrobot_petrone_v2_flight_controller_vibrator_on_reserve": "진동 %1 초 예약 %2",
"byrobot_petrone_v2_flight_controller_vibrator_reserve": "진동 %1 초 켜기, %2 초 끄기를 %3 초 예약 %4",
"byrobot_petrone_v2_flight_drone_command_mode_vehicle_drone": "Vehicle mode %1 선택 %2",
"byrobot_petrone_v2_flight_drone_control_coordinate": "(드론 좌표 기준) Headless mode %1 %2",
"byrobot_petrone_v2_flight_drone_control_drone_landing": "드론 착륙 %1",
"byrobot_petrone_v2_flight_drone_control_drone_reset_heading": "드론 방향 초기화 %1",
"byrobot_petrone_v2_flight_drone_control_drone_stop": "드론 정지 %1",
"byrobot_petrone_v2_flight_drone_control_drone_takeoff": "드론 이륙 %1",
"byrobot_petrone_v2_flight_drone_control_quad": "드론 Roll %1%, Pitch %2%, Yaw %3%, Throttle %4% 정하기 %5",
"byrobot_petrone_v2_flight_drone_control_quad_delay": "드론 Roll %1%, Pitch %2%, Yaw %3%, Throttle %4% %5초 실행 %6",
"byrobot_petrone_v2_flight_drone_control_quad_one": "드론 %1 %2% 정하기 %3",
"byrobot_petrone_v2_flight_drone_control_quad_one_delay": "드론 %1 %2% %3 초 실행 %4",
"byrobot_petrone_v2_flight_drone_irmessage": "적외선으로 %1 값 보내기 %2",
"byrobot_petrone_v2_flight_drone_light_color_rgb_input": "드론 %1 LED 색지정 R %2, G %3, B %4 %5 %6",
"byrobot_petrone_v2_flight_drone_light_color_rgb_select": "드론 %1 LED의 RGB 조합 예시 %2 %3 %4",
"byrobot_petrone_v2_flight_drone_light_manual_single": "드론 LED %1 %2 %3",
"byrobot_petrone_v2_flight_drone_light_manual_single_input": "드론 LED %1 밝기 %2 %3",
"byrobot_petrone_v2_flight_drone_light_manual_single_off": "드론 LED 끄기 %1",
"byrobot_petrone_v2_flight_drone_motor_stop": "모터 정지 %1",
"byrobot_petrone_v2_flight_drone_motorsingle": "%1번 모터를 %2(으)로 회전 %3",
"byrobot_petrone_v2_flight_drone_motorsingle_input": "%1번 모터를 %2(으)로 회전 %3",
"byrobot_petrone_v2_flight_drone_motorsingle_rotation": "%1번 모터를 %2으로 %3(으)로 회전 %4",
"byrobot_petrone_v2_flight_drone_value_attitude": "%1",
"byrobot_petrone_v2_flight_drone_value_etc": "%1",
"byrobot_petrone_v2_flight_drone_value_imu": "%1",
"byrobot_petrone_v2_flight_drone_value_sensor": "%1",
"dplay_get_number_sensor_value": "아날로그 %1 번 센서값 ",
"nemoino_get_number_sensor_value": "아날로그 %1 번 센서값 ",
"sensorBoard_get_number_sensor_value": "아날로그 %1 번 센서값 ",
"truetrue_get_accsensor": "가속도센서 %1 의 값",
"truetrue_get_bottomcolorsensor": "바닥컬러센서 %1 의 값",
"truetrue_get_frontcolorsensor": "전면컬러센서 %1 의 값",
"truetrue_get_linesensor": "라인센서 %1 의 값",
"truetrue_get_proxisensor": "근접센서 %1 의 값",
"truetrue_set_colorled": "컬러LED Red %1 Green %2 Blue %3 로 설정 %4",
"truetrue_set_dualmotor": "DC모터 좌 %1 우 %2 속도로 %3 초 구동 %4",
"truetrue_set_led_colorsensor": "%1 조명용 LED %2 %3",
"truetrue_set_led_linesensor": "라인센서 조명용 LED %1 %2",
"truetrue_set_led_proxi": "%1 조명용 LED %2 %3",
"truetrue_set_linetracer": "라인트레이싱 모드 %1 %2",
"truetrue_set_singlemotor": "DC모터 %1 속도 %2 로 설정 %3",
"CODEino_get_number_sensor_value": "아날로그 %1 번 센서값 ",
"ardublock_get_number_sensor_value": "아날로그 %1 번 센서값 ",
"arduino_get_digital_value": "디지털 %1 번 센서값 ",
"dplay_get_digital_value": "디지털 %1 번 센서값 ",
"nemoino_get_digital_value": "디지털 %1 번 센서값 ",
"sensorBoard_get_digital_value": "디지털 %1 번 센서값 ",
"CODEino_get_digital_value": "디지털 %1 핀의 값 ",
"CODEino_set_digital_value": "디지털 %1 핀의 %2 %3",
"CODEino_set_pwm_value": "디지털 %1 번 핀을 %2 (으)로 정하기 %3",
"ardublock_get_digital_value": "디지털 %1 번 센서값 ",
"arduino_toggle_led": "디지털 %1 번 핀 %2 %3",
"dplay_toggle_led": "디지털 %1 번 핀 %2 %3",
"nemoino_toggle_led": "디지털 %1 번 핀 %2 %3",
"sensorBoard_toggle_led": "디지털 %1 번 핀 %2 %3",
"CODEino_toggle_led": "디지털 %1 번 핀 %2 %3",
"arduino_toggle_pwm": "디지털 %1 번 핀을 %2 (으)로 정하기 %3",
"dplay_toggle_pwm": "디지털 %1 번 핀을 %2 (으)로 정하기 %3",
"nemoino_toggle_pwm": "디지털 %1 번 핀을 %2 (으)로 정하기 %3",
"sensorBoard_toggle_pwm": "디지털 %1 번 핀을 %2 (으)로 정하기 %3",
"CODEino_toggle_pwm": "디지털 %1 번 핀을 %2 (으)로 정하기 %3",
"ardublock_toggle_pwm": "디지털 %1 번 핀을 %2 (으)로 정하기 %3",
"arduino_convert_scale": "%1 값의 범위를 %2 ~ %3 에서 %4 ~ %5 (으)로 바꾼값 ",
"dplay_convert_scale": "%1 값의 범위를 %2 ~ %3 에서 %4 ~ %5 (으)로 바꾼값 ",
"nemoino_convert_scale": "%1 값의 범위를 %2 ~ %3 에서 %4 ~ %5 (으)로 바꾼값 ",
"sensorBoard_convert_scale": "%1 값의 범위를 %2 ~ %3 에서 %4 ~ %5 (으)로 바꾼값 ",
"CODEino_convert_scale": "%1 값의 범위를 %2 ~ %3 에서 %4 ~ %5 (으)로 바꾼값 ",
"CODEino_set_rgb_value": "컬러 LED의 %1 색상을 %2 (으)로 정하기 %3",
"CODEino_set_rgb_add_value": "컬러 LED의 %1 색상에 %2 만큼 더하기 %3",
"CODEino_set_rgb_off": "컬러 LED 끄기 %1",
"CODEino_set__led_by_rgb": "컬러 LED 색상을 빨강 %1 초록 %2 파랑 %3 (으)로 정하기 %4",
"CODEino_rgb_set_color": "컬러 LED의 색상을 %1 (으)로 정하기 %2",
"CODEino_led_by_value": "컬러 LED 켜기 %1",
"ardublock_convert_scale": "%1 값의 범위를 %2 ~ %3 에서 %4 ~ %5 (으)로 바꾼값 ",
"joystick_get_number_sensor_value": "아날로그 %1 번 센서값 ",
"joystick_get_digital_value": "디지털 %1 번 센서값 ",
"joystick_toggle_led": "디지털 %1 번 핀 %2 %3",
"joystick_toggle_pwm": "디지털 %1 번 핀을 %2 (으)로 정하기 %3",
"joystick_convert_scale": "%1 값의 범위를 %2 ~ %3 에서 %4 ~ %5 (으)로 바꾼값 ",
"sensorBoard_get_named_sensor_value": "%1 센서값",
"sensorBoard_is_button_pressed": "%1 버튼을 눌렀는가?",
"sensorBoard_led": "%1 LED %2 %3",
"arduino_download_connector": "%1",
"download_guide": "%1",
"arduino_download_source": "%1",
"arduino_connected": "%1",
"arduino_connect": "%1",
"arduino_reconnect": "%1",
"CODEino_get_sensor_number": "%1 ",
"CODEino_get_named_sensor_value": " %1 센서값 ",
"CODEino_get_sound_status": "소리센서 %1 ",
"CODEino_get_light_status": "빛센서 %1 ",
"CODEino_is_button_pressed": " 보드의 %1 ",
"CODEino_get_accelerometer_direction": " 3축 가속도센서 %1 ",
"CODEino_get_accelerometer_value": " 3축 가속도센서 %1 축의 센서값 ",
"CODEino_get_analog_value": "아날로그 %1 센서의 값",
"iboard_button": "%1 버튼을 눌렀는가?",
"iboard_digital_pwm": "디지털 %1 번 핀을 %2 (으)로 정하기 %3",
"iboard_get_analog_value": "아날로그 %1 번 센서값 ",
"iboard_get_analog_value_map": "%1 값의 범위를 %2 ~ %3 에서 %4 ~ %5 (으)로 바꾼값 ",
"iboard_get_digital": "디지털 %1 번 센서값 ",
"iboard_led": "LED %1 번을 %2 %3",
"iboard_motor": "모터를 %2 으로 동작하기 %3",
"iboard_pwm_led": "LED %1 번의 밝기를 %2 (으)로 정하기 %3",
"iboard_rgb_led": "RGB LED의 %1 LED %2 %3",
"iboard_set_tone": "디지털 %1 번 핀의 버저를 %2 %3 음으로 %4 초 연주하기 %5",
"iboard_toggle_led": "디지털 %1 번 핀 %2 %3",
"bitbrick_sensor_value": "%1 값",
"bitbrick_is_touch_pressed": "버튼 %1 이(가) 눌렸는가?",
"bitbrick_turn_off_color_led": "컬러 LED 끄기 %1",
"bitbrick_turn_on_color_led_by_rgb": "컬러 LED 켜기 R %1 G %2 B %3 %4",
"bitbrick_turn_on_color_led_by_picker": "컬러 LED 색 %1 로 정하기 %2",
"bitbrick_turn_on_color_led_by_value": "컬러 LED 켜기 색 %1 로 정하기 %2",
"bitbrick_buzzer": "버저음 %1 내기 %2",
"bitbrick_turn_off_all_motors": "모든 모터 끄기 %1",
"bitbrick_dc_speed": "DC 모터 %1 속도 %2 %3",
"bitbrick_dc_direction_speed": "DC 모터 %1 %2 방향 속력 %3 %4",
"bitbrick_servomotor_angle": "서보 모터 %1 각도 %2 %3",
"bitbrick_convert_scale": "변환 %1 값 %2 ~ %3 에서 %4 ~ %5",
"start_drawing": "그리기 시작하기 %1",
"stop_drawing": "그리기 멈추기 %1",
"set_color": "붓의 색을 %1 (으)로 정하기 %2",
"set_random_color": "붓의 색을 무작위로 정하기 %1",
"change_thickness": "붓의 굵기를 %1 만큼 바꾸기 %2",
"set_thickness": "붓의 굵기를 %1 (으)로 정하기 %2",
"change_opacity": "붓의 불투명도를 %1 % 만큼 바꾸기 %2",
"set_opacity": "붓의 불투명도를 %1 % 로 정하기 %2",
"brush_erase_all": "모든 붓 지우기 %1",
"brush_stamp": "도장찍기 %1",
"change_brush_transparency": "붓의 투명도를 %1 % 만큼 바꾸기 %2",
"set_brush_tranparency": "붓의 투명도를 %1 % 로 정하기 %2",
"number": "%1",
"angle": "%1",
"get_x_coordinate": "%1",
"get_y_coordinate": "%1",
"get_angle": "%1",
"get_rotation_direction": "%1 ",
"distance_something": "%1 %2 %3",
"coordinate_mouse": "%1 %2 %3",
"coordinate_object": "%1 %2 %3 %4",
"calc_basic": "%1 %2 %3",
"calc_plus": "%1 %2 %3",
"calc_minus": "%1 %2 %3",
"calc_times": "%1 %2 %3",
"calc_divide": "%1 %2 %3",
"calc_mod": "%1 %2 %3 %4",
"calc_share": "%1 %2 %3 %4",
"calc_operation": "%1 %2 %3 %4",
"calc_rand": "%1 %2 %3 %4 %5",
"get_date": "%1 %2 %3",
"get_sound_duration": "%1 %2 %3",
"reset_project_timer": "%1",
"set_visible_project_timer": "%1 %2 %3 %4",
"timer_variable": "%1 %2",
"get_project_timer_value": "%1 %2",
"char_at": "%1 %2 %3 %4 %5",
"length_of_string": "%1 %2 %3",
"substring": "%1 %2 %3 %4 %5 %6 %7",
"replace_string": "%1 %2 %3 %4 %5 %6 %7",
"change_string_case": "%1 %2 %3 %4 %5",
"index_of_string": "%1 %2 %3 %4 %5",
"combine_something": "%1 %2 %3 %4 %5",
"get_sound_volume": "%1 %2",
"quotient_and_mod": "%1 %2 %3 %4 %5 %6",
"choose_project_timer_action": "%1 %2 %3 %4",
"wait_second": "%1 초 기다리기 %2",
"repeat_basic": "%1 번 반복하기 %2",
"hidden_loop": "%1 번 반복하기 %2",
"repeat_inf": "계속 반복하기 %1",
"stop_repeat": "반복 중단하기 %1",
"wait_until_true": "%1 이(가) 될 때까지 기다리기 %2",
"_if": "만일 %1 이라면 %2",
"if_else": "만일 %1 이라면 %2 %3 아니면",
"create_clone": "%1 의 복제본 만들기 %2",
"delete_clone": "이 복제본 삭제하기 %1",
"when_clone_start": "%1 복제본이 처음 생성되었을때",
"stop_run": "프로그램 끝내기 %1",
"repeat_while_true": "%1 %2 반복하기 %3",
"stop_object": "%1 코드 멈추기 %2",
"restart_project": "처음부터 다시 실행하기 %1",
"remove_all_clones": "모든 복제본 삭제하기 %1",
"functionAddButton": "%1",
"function_field_label": "%1%2",
"function_field_string": "%1%2",
"function_field_boolean": "%1%2",
"function_param_string": "문자/숫자값",
"function_param_boolean": "판단값",
"function_create": "함수 정의하기 %1 %2",
"function_general": "함수 %1",
"hamster_hand_found": "손 찾음?",
"hamster_value": "%1",
"hamster_move_forward_once": "말판 앞으로 한 칸 이동하기 %1",
"hamster_turn_once": "말판 %1 으로 한 번 돌기 %2",
"hamster_move_forward_for_secs": "앞으로 %1 초 이동하기 %2",
"hamster_move_backward_for_secs": "뒤로 %1 초 이동하기 %2",
"hamster_turn_for_secs": "%1 으로 %2 초 돌기 %3",
"hamster_change_both_wheels_by": "왼쪽 바퀴 %1 오른쪽 바퀴 %2 만큼 바꾸기 %3",
"hamster_set_both_wheels_to": "왼쪽 바퀴 %1 오른쪽 바퀴 %2 (으)로 정하기 %3",
"hamster_change_wheel_by": "%1 바퀴 %2 만큼 바꾸기 %3",
"hamster_set_wheel_to": "%1 바퀴 %2 (으)로 정하기 %3",
"hamster_follow_line_using": "%1 선을 %2 바닥 센서로 따라가기 %3",
"hamster_follow_line_until": "%1 선을 따라 %2 교차로까지 이동하기 %3",
"hamster_set_following_speed_to": "선 따라가기 속도를 %1 (으)로 정하기 %2",
"hamster_stop": "정지하기 %1",
"hamster_set_led_to": "%1 LED를 %2 으로 정하기 %3",
"hamster_clear_led": "%1 LED 끄기 %2",
"hamster_beep": "삐 소리내기 %1",
"hamster_change_buzzer_by": "버저 음을 %1 만큼 바꾸기 %2",
"hamster_set_buzzer_to": "버저 음을 %1 (으)로 정하기 %2",
"hamster_clear_buzzer": "버저 끄기 %1",
"hamster_play_note_for": "%1 %2 음을 %3 박자 연주하기 %4",
"hamster_rest_for": "%1 박자 쉬기 %2",
"hamster_change_tempo_by": "연주 속도를 %1 만큼 바꾸기 %2",
"hamster_set_tempo_to": "연주 속도를 %1 BPM으로 정하기 %2",
"hamster_set_port_to": "포트 %1 를 %2 으로 정하기 %3",
"hamster_change_output_by": "출력 %1 를 %2 만큼 바꾸기 %3",
"hamster_set_output_to": "출력 %1 를 %2 (으)로 정하기 %3",
"roboid_hamster_beep": "햄스터 %1: 삐 소리내기 %2",
"roboid_hamster_change_both_wheels_by": "햄스터 %1: 왼쪽 바퀴 %2 오른쪽 바퀴 %3 만큼 바꾸기 %4",
"roboid_hamster_change_buzzer_by": "햄스터 %1: 버저 음을 %2 만큼 바꾸기 %3",
"roboid_hamster_change_output_by": "햄스터 %1: 출력 %2 를 %3 만큼 바꾸기 %4",
"roboid_hamster_change_tempo_by": "햄스터 %1: 연주 속도를 %2 만큼 바꾸기 %3",
"roboid_hamster_change_wheel_by": "햄스터 %1: %2 바퀴 %3 만큼 바꾸기 %4",
"roboid_hamster_clear_buzzer": "햄스터 %1: 버저 끄기 %2",
"roboid_hamster_clear_led": "햄스터 %1: %2 LED 끄기 %3",
"roboid_hamster_follow_line_until": "햄스터 %1: %2 선을 따라 %3 교차로까지 이동하기 %4",
"roboid_hamster_follow_line_using": "햄스터 %1: %2 선을 %3 바닥 센서로 따라가기 %4",
"roboid_hamster_hand_found": "햄스터 %1: 손 찾음?",
"roboid_hamster_move_backward_for_secs": "햄스터 %1: 뒤로 %2 초 이동하기 %3",
"roboid_hamster_move_forward_for_secs": "햄스터 %1: 앞으로 %2 초 이동하기 %3",
"roboid_hamster_move_forward_once": "햄스터 %1: 말판 앞으로 한 칸 이동하기 %2",
"roboid_hamster_play_note_for": "햄스터 %1: %2 %3 음을 %4 박자 연주하기 %5",
"roboid_hamster_rest_for": "햄스터 %1: %2 박자 쉬기 %3",
"roboid_hamster_set_both_wheels_to": "햄스터 %1: 왼쪽 바퀴 %2 오른쪽 바퀴 %3 (으)로 정하기 %4",
"roboid_hamster_set_buzzer_to": "햄스터 %1: 버저 음을 %2 (으)로 정하기 %3",
"roboid_hamster_set_following_speed_to": "햄스터 %1: 선 따라가기 속도를 %2 (으)로 정하기 %3",
"roboid_hamster_set_led_to": "햄스터 %1: %2 LED를 %3 으로 정하기 %4",
"roboid_hamster_set_output_to": "햄스터 %1: 출력 %2 를 %3 (으)로 정하기 %4",
"roboid_hamster_set_port_to": "햄스터 %1: 포트 %2 를 %3 으로 정하기 %4",
"roboid_hamster_set_tempo_to": "햄스터 %1: 연주 속도를 %2 BPM으로 정하기 %3",
"roboid_hamster_set_wheel_to": "햄스터 %1: %2 바퀴 %3 (으)로 정하기 %4",
"roboid_hamster_stop": "햄스터 %1: 정지하기 %2",
"roboid_hamster_turn_for_secs": "햄스터 %1: %2 으로 %3 초 돌기 %4",
"roboid_hamster_turn_once": "햄스터 %1: 말판 %2 으로 한 번 돌기 %3",
"roboid_hamster_value": "햄스터 %1: %2",
"roboid_turtle_button_state": "거북이 %1: 버튼을 %2 ?",
"roboid_turtle_change_buzzer_by": "거북이 %1: 버저 음을 %2 만큼 바꾸기 %3",
"roboid_turtle_change_head_led_by_rgb": "거북이 %1: 머리 LED를 R: %2 G: %3 B: %4 만큼 바꾸기 %5",
"roboid_turtle_change_tempo_by": "거북이 %1: 연주 속도를 %2 만큼 바꾸기 %3",
"roboid_turtle_change_wheel_by": "거북이 %1: %2 바퀴 %3 만큼 바꾸기 %4",
"roboid_turtle_change_wheels_by_left_right": "거북이 %1: 왼쪽 바퀴 %2 오른쪽 바퀴 %3 만큼 바꾸기 %4",
"roboid_turtle_clear_head_led": "거북이 %1: 머리 LED 끄기 %2",
"roboid_turtle_clear_sound": "거북이 %1: 소리 끄기 %2",
"roboid_turtle_cross_intersection": "거북이 %1: 검은색 교차로 건너가기 %2",
"roboid_turtle_follow_line": "거북이 %1: %2 선을 따라가기 %3",
"roboid_turtle_follow_line_until": "거북이 %1: 검은색 선을 따라 %2 까지 이동하기 %3",
"roboid_turtle_follow_line_until_black": "거북이 %1: %2 선을 따라 검은색까지 이동하기 %3",
"roboid_turtle_is_color_pattern": "거북이 %1: 색깔 패턴이 %2 %3 인가?",
"roboid_turtle_move_backward_unit": "거북이 %1: 뒤로 %2 %3 이동하기 %4",
"roboid_turtle_move_forward_unit": "거북이 %1: 앞으로 %2 %3 이동하기 %4",
"roboid_turtle_pivot_around_wheel_unit_in_direction": "거북이 %1: %2 바퀴 중심으로 %3 %4 %5 방향으로 돌기 %6",
"roboid_turtle_play_note": "거북이 %1: %2 %3 음을 연주하기 %4",
"roboid_turtle_play_note_for_beats": "거북이 %1: %2 %3 음을 %4 박자 연주하기 %5",
"roboid_turtle_play_sound_times": "거북이 %1: %2 소리 %3 번 재생하기 %4",
"roboid_turtle_play_sound_times_until_done": "거북이 %1: %2 소리 %3 번 재생하고 기다리기 %4",
"roboid_turtle_rest_for_beats": "거북이 %1: %2 박자 쉬기 %3",
"roboid_turtle_set_buzzer_to": "거북이 %1: 버저 음을 %2 (으)로 정하기 %3",
"roboid_turtle_set_following_speed_to": "거북이 %1: 선 따라가기 속도를 %2 (으)로 정하기 %3",
"roboid_turtle_set_head_led_to": "거북이 %1: 머리 LED를 %2 으로 정하기 %3",
"roboid_turtle_set_head_led_to_rgb": "거북이 %1: 머리 LED를 R: %2 G: %3 B: %4 (으)로 정하기 %5",
"roboid_turtle_set_tempo_to": "거북이 %1: 연주 속도를 %2 BPM으로 정하기 %3",
"roboid_turtle_set_wheel_to": "거북이 %1: %2 바퀴 %3 (으)로 정하기 %4",
"roboid_turtle_set_wheels_to_left_right": "거북이 %1: 왼쪽 바퀴 %2 오른쪽 바퀴 %3 (으)로 정하기 %4",
"roboid_turtle_stop": "거북이 %1: 정지하기 %2",
"roboid_turtle_touching_color": "거북이 %1: %2 에 닿았는가?",
"roboid_turtle_turn_at_intersection": "거북이 %1: 검은색 교차로에서 %2 으로 돌기 %3",
"roboid_turtle_turn_unit_in_place": "거북이 %1: %2 으로 %3 %4 제자리 돌기 %5",
"roboid_turtle_turn_unit_with_radius_in_direction": "거북이 %1: %2 으로 %3 %4 반지름 %5 cm를 %6 방향으로 돌기 %7",
"roboid_turtle_value": "거북이 %1: %2",
"turtle_button_state": "버튼을 %1 ?",
"turtle_change_buzzer_by": "버저 음을 %1 만큼 바꾸기 %2",
"turtle_change_head_led_by_rgb": "머리 LED를 R: %1 G: %2 B: %3 만큼 바꾸기 %4",
"turtle_change_tempo_by": "연주 속도를 %1 만큼 바꾸기 %2",
"turtle_change_wheel_by": "%1 바퀴 %2 만큼 바꾸기 %3",
"turtle_change_wheels_by_left_right": "왼쪽 바퀴 %1 오른쪽 바퀴 %2 만큼 바꾸기 %3",
"turtle_clear_head_led": "머리 LED 끄기 %1",
"turtle_clear_sound": "소리 끄기 %1",
"turtle_cross_intersection": "검은색 교차로 건너가기 %1",
"turtle_follow_line": "%1 선을 따라가기 %2",
"turtle_follow_line_until": "검은색 선을 따라 %1 까지 이동하기 %2",
"turtle_follow_line_until_black": "%1 선을 따라 검은색까지 이동하기 %2",
"turtle_is_color_pattern": "색깔 패턴이 %1 %2 인가?",
"turtle_move_backward_unit": "뒤로 %1 %2 이동하기 %3",
"turtle_move_forward_unit": "앞으로 %1 %2 이동하기 %3",
"turtle_pivot_around_wheel_unit_in_direction": "%1 바퀴 중심으로 %2 %3 %4 방향으로 돌기 %5",
"turtle_play_note": "%1 %2 음을 연주하기 %3",
"turtle_play_note_for_beats": "%1 %2 음을 %3 박자 연주하기 %4",
"turtle_play_sound_times": "%1 소리 %2 번 재생하기 %3",
"turtle_play_sound_times_until_done": "%1 소리 %2 번 재생하고 기다리기 %3",
"turtle_rest_for_beats": "%1 박자 쉬기 %2",
"turtle_set_buzzer_to": "버저 음을 %1 (으)로 정하기 %2",
"turtle_set_following_speed_to": "선 따라가기 속도를 %1 (으)로 정하기 %2",
"turtle_set_head_led_to": "머리 LED를 %1 으로 정하기 %2",
"turtle_set_head_led_to_rgb": "머리 LED를 R: %1 G: %2 B: %3 (으)로 정하기 %4",
"turtle_set_tempo_to": "연주 속도를 %1 BPM으로 정하기 %2",
"turtle_set_wheel_to": "%1 바퀴 %2 (으)로 정하기 %3",
"turtle_set_wheels_to_left_right": "왼쪽 바퀴 %1 오른쪽 바퀴 %2 (으)로 정하기 %3",
"turtle_stop": "정지하기 %1",
"turtle_touching_color": "%1 에 닿았는가?",
"turtle_turn_at_intersection": "검은색 교차로에서 %1 으로 돌기 %2",
"turtle_turn_unit_in_place": "%1 으로 %2 %3 제자리 돌기 %4",
"turtle_turn_unit_with_radius_in_direction": "%1 으로 %2 %3 반지름 %4 cm를 %5 방향으로 돌기 %6",
"turtle_value": "%1",
"is_clicked": "%1",
"is_press_some_key": "%1 %2",
"reach_something": "%1 %2 %3",
"boolean_comparison": "%1 %2 %3",
"boolean_equal": "%1 %2 %3",
"boolean_bigger": "%1 %2 %3",
"boolean_smaller": "%1 %2 %3",
"boolean_and_or": "%1 %2 %3",
"boolean_and": "%1 %2 %3",
"boolean_or": "%1 %2 %3",
"boolean_not": "%1 %2 %3",
"true_or_false": "%1",
"True": "%1 ",
"False": "%1 ",
"boolean_basic_operator": "%1 %2 %3",
"show": "모양 보이기 %1",
"hide": "모양 숨기기 %1",
"dialog_time": "%1 을(를) %2 초 동안 %3 %4",
"dialog": "%1 을(를) %2 %3",
"remove_dialog": "말하기 지우기 %1",
"change_to_nth_shape": "%1 모양으로 바꾸기 %2",
"change_to_next_shape": "%1 모양으로 바꾸기 %2",
"set_effect_volume": "%1 효과를 %2 만큼 주기 %3",
"set_effect": "%1 효과를 %2 (으)로 정하기 %3",
"erase_all_effects": "효과 모두 지우기 %1",
"change_scale_percent": "크기를 %1 만큼 바꾸기 %2",
"set_scale_percent": "크기를 %1 (으)로 정하기 %2",
"change_scale_size": "크기를 %1 만큼 바꾸기 %2",
"set_scale_size": "크기를 %1 (으)로 정하기 %2",
"flip_y": "좌우 모양 뒤집기 %1",
"flip_x": "상하 모양 뒤집기 %1",
"set_object_order": "%1 번째로 올라오기 %2",
"get_pictures": "%1 ",
"change_to_some_shape": "%1 모양으로 바꾸기 %2",
"add_effect_amount": "%1 효과를 %2 만큼 주기 %3",
"change_effect_amount": "%1 효과를 %2 (으)로 정하기 %3",
"set_effect_amount": "%1 효과를 %2 만큼 주기 %3",
"set_entity_effect": "%1 효과를 %2 (으)로 정하기 %3",
"change_object_index": "%1 보내기 %2",
"move_direction": "이동 방향으로 %1 만큼 움직이기 %2",
"move_x": "x 좌표를 %1 만큼 바꾸기 %2",
"move_y": "y 좌표를 %1 만큼 바꾸기 %2",
"locate_xy_time": "%1 초 동안 x: %2 y: %3 위치로 이동하기 %4",
"rotate_by_angle": "오브젝트를 %1 만큼 회전하기 %2",
"rotate_by_angle_dropdown": "%1 만큼 회전하기 %2",
"see_angle": "이동 방향을 %1 (으)로 정하기 %2",
"see_direction": "%1 쪽 보기 %2",
"locate_xy": "x: %1 y: %2 위치로 이동하기 %3",
"locate_x": "x: %1 위치로 이동하기 %2",
"locate_y": "y: %1 위치로 이동하기 %2",
"locate": "%1 위치로 이동하기 %2",
"move_xy_time": "%1 초 동안 x: %2 y: %3 만큼 움직이기 %4",
"rotate_by_angle_time": "오브젝트를 %1 초 동안 %2 만큼 회전하기 %3",
"bounce_wall": "화면 끝에 닿으면 튕기기 %1",
"flip_arrow_horizontal": "화살표 방향 좌우 뒤집기 %1",
"flip_arrow_vertical": "화살표 방향 상하 뒤집기 %1",
"see_angle_object": "%1 쪽 바라보기 %2",
"see_angle_direction": "오브젝트를 %1 (으)로 정하기 %2",
"rotate_direction": "이동 방향을 %1 만큼 회전하기 %2",
"locate_object_time": "%1 초 동안 %2 위치로 이동하기 %3",
"rotate_absolute": "방향을 %1 (으)로 정하기 %2",
"rotate_relative": "방향을 %1 만큼 회전하기 %2",
"direction_absolute": "이동 방향을 %1 (으)로 정하기 %2",
"direction_relative": "이동 방향을 %1 만큼 회전하기 %2",
"move_to_angle": "%1 방향으로 %2 만큼 움직이기 %3",
"rotate_by_time": "%1 초 동안 방향을 %2 만큼 회전하기 %3",
"direction_relative_duration": "%1 초 동안 이동 방향 %2 만큼 회전하기 %3",
"neobot_sensor_value": "%1 값",
"neobot_turn_left": "왼쪽모터를 %1 %2 회전 %3",
"neobot_stop_left": "왼쪽모터 정지 %1",
"neobot_turn_right": "오른쪽모터를 %1 %2 회전 %3",
"neobot_stop_right": "오른쪽모터 정지 %1",
"neobot_run_motor": "%1 모터를 %2 초간 %3 %4 %5",
"neobot_servo_1": "SERVO1에 연결된 서보모터를 %1 속도로 %2 로 이동 %3",
"neobot_servo_2": "SERVO2에 연결된 서보모터를 %1 속도로 %2 로 이동 %3",
"neobot_play_note_for": "멜로디 %1 을(를) %2 옥타브로 %3 길이만큼 소리내기 %4",
"neobot_set_sensor_value": "%1 번 포트의 값을 %2 %3",
"robotis_openCM70_cm_custom_value": "직접입력 주소 ( %1 ) %2 값",
"robotis_openCM70_sensor_value": "제어기 %1 값",
"robotis_openCM70_aux_sensor_value": "%1 %2 값",
"robotis_openCM70_cm_buzzer_index": "제어기 음계값 %1 을(를) %2 초 동안 연주 %3",
"robotis_openCM70_cm_buzzer_melody": "제어기 멜로디 %1 번 연주 %2",
"robotis_openCM70_cm_sound_detected_clear": "최종소리감지횟수 초기화 %1",
"robotis_openCM70_cm_led": "제어기 %1 LED %2 %3",
"robotis_openCM70_cm_motion": "모션 %1 번 실행 %2",
"robotis_openCM70_aux_motor_speed": "%1 감속모터 속도를 %2 , 출력값을 %3 (으)로 정하기 %4",
"robotis_openCM70_aux_servo_mode": "%1 서보모터 모드를 %2 (으)로 정하기 %3",
"robotis_openCM70_aux_servo_speed": "%1 서보모터 속도를 %2 , 출력값을 %3 (으)로 정하기 %4",
"robotis_openCM70_aux_servo_position": "%1 서보모터 위치를 %2 (으)로 정하기 %3",
"robotis_openCM70_aux_led_module": "%1 LED 모듈을 %2 (으)로 정하기 %3",
"robotis_openCM70_aux_custom": "%1 사용자 장치를 %2 (으)로 정하기 %3",
"robotis_openCM70_cm_custom": "직접입력 주소 ( %1 ) (을)를 %2 (으)로 정하기 %3",
"robotis_carCont_sensor_value": "%1 값",
"robotis_carCont_cm_led": "4번 LED %1 , 1번 LED %2 %3",
"robotis_carCont_cm_sound_detected_clear": "최종소리감지횟수 초기화 %1",
"robotis_carCont_aux_motor_speed": "%1 감속모터 속도를 %2 , 출력값을 %3 (으)로 정하기 %4",
"robotis_carCont_cm_calibration": "%1 적외선 센서 캘리브레이션 값을 %2 (으)로 정하기 %3",
"roduino_get_analog_number": "%1 ",
"roduino_get_port_number": "%1 ",
"roduino_get_analog_value": "아날로그 %1 번 센서값 ",
"roduino_get_digital_value": "디지털 %1 번 센서값 ",
"roduino_set_digital": "디지털 %1 번 핀 %2 %3",
"roduino_motor": "%1 %2 %3",
"roduino_set_color_pin": "컬러센서 R : %1, G : %2, B : %3 %4",
"roduino_get_color": "컬러센서 %1 감지",
"roduino_on_block": " On ",
"roduino_off_block": " Off ",
"schoolkit_get_in_port_number": "%1 ",
"schoolkit_get_out_port_number": "%1 ",
"schoolkit_get_servo_port_number": "%1 ",
"schoolkit_get_input_value": "디지털 %1 번 센서값 ",
"schoolkit_set_output": "디지털 %1 번 핀 %2 %3",
"schoolkit_motor": "%1 속도 %2(으)로 %3 %4",
"schoolkit_set_servo_value": "서보모터 %1 번 핀 %2˚ %3",
"schoolkit_on_block": " On ",
"schoolkit_off_block": " Off ",
"when_scene_start": "%1 장면이 시작되었을때",
"start_scene": "%1 시작하기 %2",
"start_neighbor_scene": "%1 장면 시작하기 %2",
"sound_something": "소리 %1 재생하기 %2",
"sound_something_second": "소리 %1 %2 초 재생하기 %3",
"sound_something_wait": "소리 %1 재생하고 기다리기 %2",
"sound_something_second_wait": "소리 %1 %2 초 재생하고 기다리기 %3",
"sound_volume_change": "소리 크기를 %1 % 만큼 바꾸기 %2",
"sound_volume_set": "소리 크기를 %1 % 로 정하기 %2",
"sound_silent_all": "모든 소리 멈추기 %1",
"get_sounds": "%1 ",
"sound_something_with_block": "소리 %1 재생하기 %2",
"sound_something_second_with_block": "소리 %1 %2 초 재생하기 %3",
"sound_something_wait_with_block": "소리 %1 재생하고 기다리기 %2",
"sound_something_second_wait_with_block": "소리 %1 %2 초 재생하고 기다리기 %3",
"sound_from_to": "소리 %1 %2 초 부터 %3 초까지 재생하기 %4",
"sound_from_to_and_wait": "소리 %1 %2 초 부터 %3 초까지 재생하고 기다리기 %4",
"when_run_button_click": "%1 시작하기 버튼을 클릭했을 때",
"press_some_key": "%1 %2 키를 눌렀을 때 %3",
"when_some_key_pressed": "%1 %2 키를 눌렀을 때",
"mouse_clicked": "%1 마우스를 클릭했을 때",
"mouse_click_cancled": "%1 마우스 클릭을 해제했을 때",
"when_object_click": "%1 오브젝트를 클릭했을 때",
"when_object_click_canceled": "%1 오브젝트 클릭을 해제했을 때",
"when_some_key_click": "%1 키를 눌렀을 때",
"when_message_cast": "%1 %2 신호를 받았을 때",
"message_cast": "%1 신호 보내기 %2",
"message_cast_wait": "%1 신호 보내고 기다리기 %2",
"text": "%1",
"text_write": "%1 라고 글쓰기 %2",
"text_append": "%1 라고 뒤에 이어쓰기 %2",
"text_prepend": "%1 라고 앞에 추가하기 %2",
"text_flush": "텍스트 모두 지우기 %1",
"variableAddButton": "%1",
"listAddButton": "%1",
"change_variable": "%1 에 %2 만큼 더하기 %3",
"set_variable": "%1 를 %2 로 정하기 %3",
"show_variable": "변수 %1 보이기 %2",
"hide_variable": "변수 %1 숨기기 %2",
"get_variable": "%1 %2",
"ask_and_wait": "%1 을(를) 묻고 대답 기다리기 %2",
"get_canvas_input_value": "%1 ",
"add_value_to_list": "%1 항목을 %2 에 추가하기 %3",
"remove_value_from_list": "%1 번째 항목을 %2 에서 삭제하기 %3",
"insert_value_to_list": "%1 을(를) %2 의 %3 번째에 넣기 %4",
"change_value_list_index": "%1 %2 번째 항목을 %3 (으)로 바꾸기 %4",
"value_of_index_from_list": "%1 %2 %3 %4 %5",
"length_of_list": "%1 %2 %3",
"show_list": "리스트 %1 보이기 %2",
"hide_list": "리스트 %1 숨기기 %2",
"options_for_list": "%1 ",
"set_visible_answer": "대답 %1 %2",
"is_included_in_list": "%1 %2 %3 %4 %5",
"xbot_digitalInput": "%1",
"xbot_analogValue": "%1",
"xbot_digitalOutput": "디지털 %1 핀, 출력 값 %2 %3",
"xbot_analogOutput": "아날로그 %1 %2 %3",
"xbot_servo": "서보 모터 %1 , 각도 %2 %3",
"xbot_oneWheel": "바퀴(DC) 모터 %1 , 속도 %2 %3",
"xbot_twoWheel": "바퀴(DC) 모터 오른쪽(2) 속도: %1 왼쪽(1) 속도: %2 %3",
"xbot_rgb": "RGB LED 켜기 R 값 %1 G 값 %2 B 값 %3 %4",
"xbot_rgb_picker": "RGB LED 색 %1 로 정하기 %2",
"xbot_buzzer": "%1 %2 음을 %3 초 연주하기 %4",
"xbot_lcd": "LCD %1 번째 줄 , 출력 값 %2 %3",
"run": "",
"mutant": "test mutant block",
"jr_start": "%1",
"jr_repeat": "%1 %2 반복",
"jr_item": "꽃 모으기 %1",
"cparty_jr_item": "연필 줍기 %1",
"jr_north": " 위쪽 %1",
"jr_east": "오른쪽 %1",
"jr_south": " 아래쪽 %1",
"jr_west": " 왼쪽 %1",
"jr_start_basic": "%1 %2",
"jr_go_straight": "앞으로 가기%1",
"jr_turn_left": "왼쪽으로 돌기%1",
"jr_turn_right": "오른쪽으로 돌기%1",
"jr_go_slow": "천천히 가기 %1",
"jr_repeat_until_dest": "%1 만날 때까지 반복하기 %2",
"jr_if_construction": "만약 %1 앞에 있다면 %2",
"jr_if_speed": "만약 %1 앞에 있다면 %2",
"maze_step_start": "%1 시작하기를 클릭했을 때",
"maze_step_jump": "뛰어넘기%1",
"maze_step_jump2": "뛰어넘기%1",
"maze_step_jump_pinkbean": "뛰어넘기%1",
"maze_step_for": "%1 번 반복하기%2",
"test": "%1 this is test block %2",
"maze_repeat_until_1": "%1 만날 때 까지 반복%2",
"maze_repeat_until_2": "모든 %1 만날 때 까지 반복%2",
"maze_step_if_1": "만약 앞에 %1 있다면%2",
"maze_step_if_2": "만약 앞에 %1 있다면%2",
"maze_call_function": "약속 불러오기%1",
"maze_define_function": "약속하기%1",
"maze_step_if_3": "만약 앞에 %1 있다면%2",
"maze_step_if_4": "만약 앞에 %1 있다면%2",
"maze_step_move_step": "앞으로 한 칸 이동%1",
"maze_step_rotate_left": "왼쪽으로 회전%1",
"maze_step_rotate_right": "오른쪽으로 회전%1",
"maze_step_forward": "앞으로 가기%1",
"maze_turn_right": "오른쪽 바라보기%1",
"maze_turn_left": "왼쪽 바라보기%1",
"maze_ladder_climb": "사다리 타기%1",
"maze_attack_lupin": "%1공격하기%2",
"maze_attack_both_side": "양옆 공격하기%1",
"maze_attack_pepe": "%1 공격하기%2",
"maze_attack_yeti": "%1 공격하기%2",
"maze_attack_mushroom": "%1 공격하기%2",
"maze_attack_peti": "%1 공격하기%2",
"maze_eat_item": "음식 먹기%1",
"maze_step_if_mushroom": "만약 한 칸 앞에 %1가 있다면 %2",
"maze_step_if_yeti": "만약 앞에 %1가 있다면 %2 %3 아니면",
"maze_step_if_left_monster": "만약 왼쪽 공격범위에 몬스터가 있다면 %1 %2 아니면",
"maze_step_if_right_monster": "만약 오른쪽 공격범위에 몬스터가 있다면 %1 %2 아니면",
"maze_step_if_lupin": "만약 두 칸 앞에 %1가 있다면 %2",
"maze_step_if_else_road": "만약 한 칸 앞에 길이 있다면 %1 %2아니면",
"maze_step_if_else_mushroom": "만약 한 칸 앞에 %1가 있다면 %2 %3아니면",
"maze_step_if_else_lupin": "만약 두 칸 앞에 %1가 있다면 %2 %3아니면",
"maze_step_if_else_ladder": "만약 한 칸 앞에 %1가 있다면 %2 %3아니면",
"maze_rotate_left": "왼쪽으로 돌기%1",
"maze_rotate_right": "오른쪽으로 돌기%1",
"maze_moon_kick": "발차기하기%1",
"maze_repeat_until_3": "%1에 도착할 때까지 반복하기%2",
"maze_repeat_until_4": "%1에 도착할 때까지 반복하기%2",
"maze_repeat_until_5": "%1에 도착할 때까지 반복하기%2",
"maze_repeat_until_6": "%1에 도착할 때까지 반복하기%2",
"maze_repeat_until_7": "%1에 도착할 때까지 반복하기%2",
"maze_repeat_until_goal": "목적지에 도착할 때까지 반복하기%1",
"maze_repeat_until_beat_monster": "모든 몬스터를 혼내줄 때까지 반복하기%1",
"maze_radar_check": "%1에 %2이 있다",
"maze_cony_flower_throw": "꽃 던지기%1",
"maze_brown_punch": "주먹 날리기%1",
"maze_iron_switch": "장애물 조종하기%1",
"maze_james_heart": "하트 날리기%1",
"maze_step_if_5": "만약 앞에 길이 없다면%2",
"maze_step_if_6": "만약 앞에 %1이 없다면%2",
"maze_step_if_7": "만약 앞에 %1이 있다면%2",
"maze_step_if_8": "만약 %1이라면%2",
"maze_step_if_else": "만약 %1이라면%2 %3 아니면",
"test_wrapper": "%1 this is test block %2",
"basic_button": "%1",
"ai_move_right": "앞으로 가기 %1",
"ai_move_up": "위쪽으로 가기 %1",
"ai_move_down": "아래쪽으로 가기 %1",
"ai_repeat_until_reach": "목적지에 도달 할 때까지 반복하기 %1",
"ai_if_else_1": "만약 앞에 %1가 있다면 %2 %3 아니면",
"ai_boolean_distance": "%1 레이더 %2 %3",
"ai_distance_value": "%1 레이더",
"ai_boolean_object": "%1 물체는 %2 인가?",
"ai_use_item": "아이템 사용 %1",
"ai_boolean_and": "%1 %2 %3",
"ai_True": "%1",
"ai_if_else": "만일 %1 이라면 %2 %3 아니면",
"smartBoard_convert_scale": "%1 값의 범위를 %2 ~ %3 에서 %4 ~ %5 (으)로 바꾼값",
"smartBoard_get_named_sensor_value": "%1 센서값",
"smartBoard_is_button_pressed": "%1 버튼을 눌렀는가?",
"smartBoard_set_dc_motor_direction": "%1 DC 모터를 %2 방향으로 정하기 %3",
"smartBoard_set_dc_motor_speed": "%1 DC모터를 %2 %3",
"smartBoard_set_dc_motor_pwm": "%1 DC모터를 %2 속도로 돌리기 %3",
"smartBoard_set_servo_speed": "%1 번 서보모터의 속도를 %2 %3",
"smartBoard_set_servo_angle": "%1 번 서보모터를 %2 도 로 움직이기 %3",
"smartBoard_set_number_eight_pin": "%1 포트를 %2 %3",
"smartBoard_set_gs1_pwm": "GS1 포트의 PWM을 %1 로 정하기 %2",
"robotori_digitalInput": "%1",
"robotori_analogInput": "%1",
"robotori_digitalOutput": "디지털 %1 핀, 출력 값 %2 %3",
"robotori_analogOutput": "아날로그 %1 %2 %3",
"robotori_servo": "서보모터 각도 %1 %2",
"robotori_dc_direction": "DC모터 %1 회전 %2 %3",
"dadublock_get_analog_value": "아날로그 %1 번 센서값",
"dadublock_get_analog_value_map": "아날로그 %1번 센서값의 범위를 %2 ~ %3 에서 %4 ~ %5 (으)로 바꾼값",
"dadublock_get_ultrasonic_value": "울트라소닉 Trig %1번핀 Echo %2번핀 센서값",
"dadublock_toggle_led": "디지털 %1 번 핀 %2 %3",
"dadublock_digital_pwm": "디지털 %1 번 핀을 %2 (으)로 정하기 %3",
"dadublock_set_tone": "디지털 %1 번 핀을 %2 음으로 %3 옥타브로 %4 만큼 연주하기 %5",
"dadublock_set_servo": "서보모터 %1 번 핀을 %2 의 각도로 정하기 %3",
"coconut_stop_motor": "모터 정지 %1",
"coconut_move_motor": "%1 움직이기 %2",
"coconut_turn_motor": "%1 으로 돌기 %2",
"coconut_move_for_secs": "%1 %2 초동안 움직이기 %3",
"coconut_turn_for_secs": "%1 으로 %2 초동안 돌기 %3",
"coconut_turn_to_led": "%1 으로 회전하는 동안 %2LED 켜기 %3",
"coconut_move_outmotor": "외부모터 %1(으로) 움직이기 속도 %2 %3",
"coconut_set_led_to": "%1 LED를 %2 으로 켜기 %3",
"coconut_clear_led": "%1 LED 끄기 %2",
"coconut_set_led_clear": "%1 LED %2 끄기 %3",
"coconut_set_led_time": "%1 LED %2 으로 %3 초동안 켜기 %4",
"coconut_beep": "버저 켜기 %1",
"coconut_buzzer_time": "버저음을 %1 초 동안 소리내기 %2",
"coconut_buzzer_set_hz": "버즈음 %1 Hz를 %2초 동안 소리내기 %3",
"coconut_clear_buzzer": "버저 끄기 %1",
"coconut_play_buzzer": "%1 %2 %3 음을 %4 박자로 연주하기 %5",
"coconut_rest_buzzer": "%1 동안 쉬기 %2",
"coconut_play_buzzer_led": "%1 %2 %3 음을 %4 박자로 연주하는 동안 %5 LED %6 켜기 %7",
"coconut_play_midi": "%1 연주하기 %2",
"coconut_floor_sensor": "%1 바닥센서",
"coconut_floor_sensing": "%1 바닥센서 %2",
"coconut_following_line": "선 따라가기 %1",
"coconut_front_sensor": "%1 전방센서",
"coconut_front_sensing": "%1 전방센서 %2",
"coconut_obstruct_sensing": "장애물 감지",
"coconut_avoid_mode": "어보이드 모드 %1",
"coconut_dotmatrix_set": "도트매트릭스 %1 ( %2줄, %3칸 ) %4",
"coconut_dotmatrix_on": "도트매트릭스 모두 켜기 %1",
"coconut_dotmatrix_off": "도트매트릭스 모두 끄기 %1",
"coconut_dotmatrix_num": "도트매트릭스 숫자 %1표시 %2",
"coconut_dotmatrix_small_eng": "도트매트릭스 소문자 %1표시 %2",
"coconut_dotmatrix_big_eng": "도트매트릭스 대문자 %1표시 %2",
"coconut_dotmatrix_kor": "도트매트릭스 한글 %1표시 %2",
"coconut_light_sensor": "밝기",
"coconut_tem_sensor": "온도",
"coconut_ac_sensor": "%1 가속도",
"coconut_outled_sensor": "외부 LED 설정 %1 %2 초동안 켜기 %3",
"coconut_outspk_sensor": "외부 스피커 설정 %1 %2Hz로 %3초 동안 소리내기 %4",
"coconut_outspk_sensor_off": "외부 스피커 %1 끄기 %2",
"coconut_outinfrared_sensor": "외부 적외선센서 %1",
"coconut_outcds_sensor": "외부 빛센서(Cds) %1",
"coconut_servomotor_angle": "서보모터 연결 %1 각도 %2 %3",
"chocopi_control_button": "%1 컨트롤 %2번을 누름",
"chocopi_control_event": "%1 %2 컨트롤 %3을 %4",
"chocopi_control_joystick": "%1 컨트롤 %2의 값",
"chocopi_dc_motor": "%1 DC모터 %2 %3% 세기 %4 방향 %5",
"chocopi_led": "%1 LED %2 RGB(%3 %4 %5) %6",
"chocopi_motion_photogate_event": "%1 %2 포토게이트 %3번을 %4",
"chocopi_motion_photogate_status": "%1 포토게이트 %2번이 막힘",
"chocopi_motion_photogate_time": "%1 포토게이트%2번을 %3",
"chocopi_motion_value": "%1 모션 %2의 값",
"chocopi_sensor": "%1 센서 %2",
"chocopi_servo_motor": "%1 서보모터 %2번 %3도 %4",
"chocopi_touch_event": "%1 %2 터치 %3번을 %4",
"chocopi_touch_status": "%1 터치 %2번을 만짐",
"chocopi_touch_value": "%1 터치 %2번의 값",
"dadublock_car_digital_pwm": "디지털 %1 번 핀을 %2 (으)로 정하기 %3",
"dadublock_car_get_analog_value": "아날로그 %1 번 센서값",
"dadublock_car_get_analog_value_map": "아날로그 %1번 센서값의 범위를 %2 ~ %3 에서 %4 ~ %5 (으)로 바꾼값 ",
"dadublock_car_get_digital": "디지털 %1 번 센서값",
"dadublock_car_get_irsensor": "적외선 %1 번 센서값",
"dadublock_car_get_ultrasonic_value": "울트라소닉 Trig %1번핀 Echo %2번핀 센서값",
"dadublock_car_motor": "모터 %1 번을 %2 (으)로 %3 %의 속도로 움직이기 %4",
"dadublock_car_motor_stop": "모터 %1 번 멈추기 %2",
"dadublock_car_set_servo": "서보모터 %1 번 핀을 %2 의 각도로 정하기 %3",
"dadublock_car_set_tone": "디지털 %1 번 핀 을 %2 음으로 %3의 옥타브로 %4 만큼 연주하기 %5",
"dadublock_car_toggle_led": "디지털 %1 번 핀 %2 %3",
"dadublock_get_digital": "디지털 %1 번 센서값",
"ev3_get_sensor_value": "%1 의 값",
"ev3_touch_sensor": "%1 의 터치센서가 작동되었는가?",
"ev3_color_sensor": "%1 의 %2 값",
"ev3_motor_power": "%1 의 값을 %2 으로 출력 %3",
"ev3_motor_power_on_time": "%1 의 값을 %2 초 동안 %3 으로 출력 %4",
"ev3_motor_degrees": "%1 의 값을 %2 으로 %3 도 만큼 회전 %4",
"rokoboard_get_sensor_value_by_name": "%1 의 센서값",
"ardublock_digital_pwm": "디지털 %1 번 핀을 %2 (으)로 정하기 %3",
"ardublock_get_analog_value": "아날로그 %1 번 센서값",
"ardublock_get_analog_value_map": "%1 의 범위를 %2 ~ %3 에서 %4 ~ %5 로 바꾼값",
"ardublock_get_digital": "디지털 %1 번 센서값",
"ardublock_get_left_cds_analog_value": "왼쪽 조도센서 %1 센서값",
"ardublock_get_right_cds_analog_value": "오른쪽 조도센서 %1 센서값",
"ardublock_get_sound_analog_value": "사운드(소리) 센서 %1 센서값",
"ardublock_get_ultrasonic_value": "초음파센서 Trig %1 Echo %2 센서값",
"ardublock_set_left_motor": "왼쪽모터를 %1 으로 %2 회전 속도로 정하기 %3",
"ardublock_set_right_motor": "오른쪽모터를 %1 으로 %2 회전 속도로 정하기 %3",
"ardublock_set_servo": "디지털 %1 번 핀의 서보모터를 %2 의 각도로 정하기 %3",
"ardublock_set_tone": "디지털 %1 번 핀의 버저를 %2 %3 음으로 %4 초 연주하기 %5",
"ardublock_toggle_led": "디지털 %1 번 핀 %2 %3",
"ardublock_toggle_left_led": "왼쪽 라이트 %1 번 핀 %2 %3",
"ardublock_toggle_right_led": "오른쪽 라이트 %1 번 핀 %2 %3",
"mkboard_digital_pwm": "디지털 %1 번 핀을 %2 (으)로 정하기 %3",
"mkboard_get_analog_value": "아날로그 %1 번 센서값",
"mkboard_get_analog_value_map": "%1 의 범위를 %2 ~ %3 에서 %4 ~ %5 로 바꾼값",
"mkboard_get_digital": "디지털 %1 번 센서값",
"mkboard_get_left_cds_analog_value": "왼쪽 조도센서 %1 센서값",
"mkboard_get_right_cds_analog_value": "오른쪽 조도센서 %1 센서값",
"mkboard_get_sound_analog_value": "사운드(소리) 센서 %1 센서값",
"mkboard_get_ultrasonic_value": "초음파센서 Trig %1 Echo %2 센서값",
"mkboard_set_left_dc_motor": "디지털 5번 DC모터를 %1 으로 %2 회전 속도로 정하기 %3",
"mkboard_set_right_dc_motor": "디지털 6번 DC모터를 %1 으로 %2 회전 속도로 정하기 %3",
"mkboard_set_servo": "디지털 %1 번 핀의 서보모터를 %2 의 각도로 정하기 %3",
"mkboard_set_tone": "디지털 %1 번 핀의 버저를 %2 %3 음으로 %4 초 연주하기 %5",
"mkboard_toggle_led": "디지털 %1 번 핀 %2 %3",
"mkboard_toggle_left_led": "왼쪽 라이트 %1 번 핀 %2 %3",
"mkboard_toggle_right_led": "오른쪽 라이트 %1 번 핀 %2 %3",
"altino_analogValue": "알티노 %1 센서값",
"altino_dot_display": "전광판에 %1 글자 표시하기 %2",
"altino_dot_display_line": "1열 %1 2열 %2 3열 %3 4열 %4 5열 %5 6열 %6 7열 %7 8열 %8 출력하기 %9",
"altino_light": "%1 등을 %2 %3",
"altino_rear_wheel": "뒷바퀴 오른쪽 %1 왼쪽 %2 로 정하기 %3",
"altino_sound": "%1 옥타브 %2 음을 연주하기 %3",
"altino_steering": "방향을 %1 로 정하기 %2",
"jdkit_altitude": "드론을 %1 높이만큼 날리기 %2",
"jdkit_button": "%1번 버튼 값 읽어오기",
"jdkit_connect": "드론 연결 상태 읽어오기",
"jdkit_emergency": "드론을 즉시 멈추기 %1",
"jdkit_gyro": "보드 %1 기울기 값 읽어오기",
"jdkit_joystick": "조이스틱 %1 읽기",
"jdkit_led": "%1 LED %2 %3",
"jdkit_motor": "%1 모터를 %2 세기로 돌리기 %3",
"jdkit_ready": "드론 비행 준비 상태 읽어오기",
"jdkit_rollpitch": "드론을 %1 방향 %2 세기로 움직이기 %3",
"jdkit_throttle": "드론 프로펠러를 %1 만큼 세기로 돌리기 %2",
"jdkit_tune": "%1 음을 %2 초동안 소리내기 %3",
"jdkit_ultrasonic": "거리(초음파)값 읽어오기",
"jdkit_yaw": "드론을 %1 만큼 회전하기 %2",
"memaker_digital_pwm": "디지털 %1 번 핀을 %2 (으)로 정하기 %3",
"memaker_get_analog_value": "아날로그 %1 번 센서값",
"memaker_get_analog_value_map": "%1 의 범위를 %2 ~ %3 에서 %4 ~ %5 로 바꾼값",
"memaker_get_digital": "디지털 %1 번 센서값",
"memaker_get_ultrasonic_value": "초음파센서 Trig %1 Echo %2 센서값",
"memaker_set_lcd": "1602 문자 LCD %1 행 , %2열에 %3 출력하기 %4",
"memaker_set_servo": "디지털 %1 번 핀의 서보모터를 %2 의 각도로 정하기 %3",
"memaker_toggle_led": "디지털 %1 번 핀 %2 %3",
"memaker_lcd_command": "1602 문자 LCD %1 명령실행하기 %2",
"edumaker_digital_pwm": "디지털 %1 번 핀을 %2 (으)로 정하기 %3",
"edumaker_get_analog_value": "아날로그 %1 번 센서값",
"edumaker_get_analog_value_map": "%1 의 범위를 %2 ~ %3 에서 %4 ~ %5 로 바꾼값",
"edumaker_get_digital": "디지털 %1 번 센서값",
"edumaker_get_ultrasonic_value": "울트라소닉 Trig %1 Echo %2 센서값",
"edumaker_set_servo": "디지털 %1 번 핀의 서보모터를 %2 의 각도로 정하기 %3",
"edumaker_set_tone": "디지털 %1 번 핀의 버저를 %2 %3 음으로 %4 초 연주하기 %5",
"edumaker_toggle_led": "디지털 %1 번 핀 %2 %3"
};
Lang.TextCoding = {
"block_name": "블록명",
"title_syntax": "문법오류 ",
"title_converting": "변환오류",
"message_syntax_default": "문법에 오류가 있습니다",
"message_syntax_unexpected_token": "문법에 맞지 않는 토큰이 포함되어 있습니다",
"message_syntax_reserved_token": "사용할 수 없는 변수명입니다.",
"message_syntax_reserved_token_list": "사용할 수 없는 리스트명입니다.",
"message_syntax_unexpected_character": "문법에 맞지 않는 문자가 포함되어 있습니다",
"message_syntax_unexpected_indent": "문법에 맞지 않는 띄어쓰기가 포함되어 있습니다",
"message_conv_default": "지원하지 않는 코드입니다",
"message_conv_no_support": "변환될 수 없는 코드입니다",
"message_conv_no_variable": "변수가 선언되지 않았습니다",
"message_conv_no_list": "리스트가 선언되지 않았습니다",
"message_conv_no_object": "객체는 지원되지 않습니다",
"message_conv_no_function": "함수가 변환될 수 없습니다",
"message_conv_no_entry_event_function": "엔트리 이벤트 함수는 다른 함수 안에 존재할 수 없습니다.",
"message_conv_is_expect1": "올바르지 않은 문법입니다. ",
"message_conv_is_expect2": " 가 올바르게 입력되었는지 확인해주세요.",
"message_conv_instead": "올바르지 않은 문법입니다. %1 대신 %2 가 필요합니다.",
"message_conv_is_wrong1": "올바르지 않은 문법입니다. ",
"message_conv_is_wrong2": "(은/는) 올 수 없는 위치입니다.",
"message_conv_or": " 나 ",
"subject_syntax_default": "기타",
"subject_syntax_token": "토큰",
"subject_syntax_character": "문자",
"subject_syntax_indent": "띄워쓰기",
"subject_conv_default": "기타",
"subject_conv_general": "일반",
"subject_conv_variable": "변수",
"subject_conv_list": "리스트",
"subject_conv_object": "객체",
"subject_conv_function": "함수",
"alert_variable_empty_text": "등록된 변수 중에 공백(띄어쓰기)이 포함된 변수가 있으면 모드 변환을 할 수 없습니다.",
"alert_list_empty_text": "등록된 리스트 중에 공백(띄어쓰기)이 포함된 리스트가 있으면 모드 변환을 할 수 없습니다.",
"alert_function_name_empty_text": "등록된 함수 중에 함수 이름에 공백(띄어쓰기)이 포함된 함수가 있으면 모드 변환을 할 수 없습니다.",
"alert_function_name_field_multi": "등록된 함수 중에 함수 이름에 [이름] 블록이 두번이상 포함되어 있으면 모드 변환을 할 수 없습니다.",
"alert_function_name_disorder": "등록된 함수 중에[이름] 블록이 [문자/숫자값] 또는 [판단값] 블록보다 뒤에 쓰이면 모드 변환을 할 수 없습니다.",
"alert_function_editor": "함수 생성 및 편집 중에는 모드 변환을 할 수 없습니다.",
"alert_function_no_support": "텍스트모드에서는 함수 생성 및 편집을 할 수 없습니다.",
"alert_list_no_support": "텍스트모드에서는 리스트 생성 및 편집을 할 수 없습니다.",
"alert_variable_no_support": "텍스트모드에서는 변수 생성 및 편집을 할 수 없습니다.",
"alert_signal_no_support": "텍스트모드에서는 신호 생성 및 편집을 할 수 없습니다.",
"alert_legacy_no_support": "전환할 수 없는 블록이 존재하여 모드 변환을 할 수 없습니다.",
"alert_variable_empty_text_add_change": "변수명 공백(띄어쓰기)이 포함될 수 없습니다.",
"alert_list_empty_text_add_change": "리스트명에 공백(띄어쓰기)이 포함될 수 없습니다.",
"alert_function_name_empty_text_add_change": "함수명에 공백(띄어쓰기)이 포함될 수 없습니다.",
"alert_no_save_on_error": "문법 오류가 존재하여 작품을 저장할 수 없습니다.",
"warn_unnecessary_arguments": "&(calleeName)(); 는 괄호 사이에 값이 입력될 필요가 없는 명령어 입니다. (line:&(lineNumber))",
"python_code": " 오브젝트의 파이선 코드",
"eof": "줄바꿈",
"newline": "줄바꿈",
"indent": "들여쓰기",
"num": "숫자",
"string": "문자열",
"name": "변수명"
};
Lang.PythonHelper = {
"when_run_button_click_desc": "[시작하기]버튼을 클릭하면 아래 명령어들을 실행합니다.<br>아래 명령어는 [Tab]키를 통해 들여쓰기합니다.",
"when_run_button_click_exampleCode": "def when_start():\n Entry.print(\"안녕!\")",
"when_run_button_click_exampleDesc": "[시작하기]버튼을 클릭하면 오브젝트가 \"안녕!\"이라 말합니다.",
"when_some_key_pressed_desc": "A키를 누르면 아래 명령어들을 실행합니다.<br>아래 명령어는 [Tab]키를 통해 들여쓰기합니다.",
"when_some_key_pressed_elements": "A-- 아래 선택지 중 하나<br>① 알파벳 : \"A\", \"B\" ~ \"Z\" 등(소문자 가능)<br>② 숫자 : 1, 2, 3, 4 ~ 9, 0<br>③ 특수키 : \"space\", \"enter\"<br>④ 방향키 : \"up\", \"down\", \"right\", \"left\"",
"when_some_key_pressed_exampleCode": "def when_press_key(\"W\"):\n Entry.move_to_direction(10)\n\ndef when_press_key(1):\n Entry.add_size(10)",
"when_some_key_pressed_exampleDesc": "W키를 누르면 오브젝트가 이동방향으로 10만큼 이동하고, 1키를 누르면 오브젝트의 크기가 10만큼 커집니다.",
"mouse_clicked_desc": "마우스를 클릭했을 때 아래 명령어들을 실행합니다.<br>아래 명령어는 [Tab]키를 통해 들여쓰기합니다.",
"mouse_clicked_exampleCode": "def when_click_mouse_on():\n Entry.add_size(10)\n Entry.move_to_direction(10)",
"mouse_clicked_exampleDesc": "마우스를 클릭하면 오브젝트의 크기가 10만큼 커지면서 이동방향으로 10만큼 이동합니다.",
"mouse_click_cancled_desc": "마우스 클릭을 해제했을 때 아래 명령어들을 실행합니다.<br>아래 명령어는 [Tab]키를 통해 들여쓰기합니다.",
"mouse_click_cancled_exampleCode": "def when_click_mouse_off():\n Entry.move_to_direction(-10)\n\ndef when_click_mouse_on():\n Entry.move_to_direction(10)",
"mouse_click_cancled_exampleDesc": "마우스를 클릭하면 오브젝트가 이동방향으로 10만큼 이동하고, 마우스 클릭을 해제하면 오브젝트가 이동방향으로 -10만큼 이동합니다.",
"when_object_click_desc": "해당 오브젝트를 클릭했을 때 아래 명령어들을 실행합니다.<br>아래 명령어는 [Tab]키를 통해 들여쓰기합니다.",
"when_object_click_exampleCode": "def when_click_object_on():\n Entry.print_for_sec(\"회전!\", 0.5)\n Entry.add_rotation(90)",
"when_object_click_exampleDesc": "오브젝트를 클릭하면 오브젝트가 \"회전!\"이라 말하고, 90도 만큼 회전합니다.",
"when_object_click_canceled_desc": "해당 오브젝트 클릭을 해제했을 때 아래 명령어들을 실행합니다.<br>아래 명령어는 [Tab]키를 통해 들여쓰기합니다.",
"when_object_click_canceled_exampleCode": "def when_click_object_on():\n Entry.add_rotation(90)\n\ndef when_click_object_off():\n Entry.add_rotation(-90)",
"when_object_click_canceled_exampleDesc": "오브젝트를 클릭하면 오브젝트가 90도 만큼 회전하고, 오브젝트 클릭을 해제하면 오브젝트가 -90도 만큼 회전합니다.",
"when_message_cast_desc": "A 신호를 받으면 아래 명령어들을 실행합니다.<br>아래 명령어는 [Tab]키를 통해 들여쓰기합니다.<br>만약 A 신호가 없으면 [속성] 탭에 A 신호가 자동 생성됩니다.",
"when_message_cast_elements": "A-- \"신호 이름\"",
"when_message_cast_exampleCode": "def when_click_mouse_on():\n Entry.send_signal(\"신호\")\n\ndef when_get_signal(\"신호\"):\n Entry.print_for_sec(\"안녕! 반가워\", 0.5)",
"when_message_cast_exampleDesc": "마우스를 클릭하면 \"신호\"를 보내고, \"신호\"를 받았을때 \"안녕! 반가워\"라고 0.5초간 말합니다.",
"message_cast_desc": "A에 입력된 신호를 보냅니다.<br>만약 A 신호가 없으면 [속성] 탭에 A 신호가 자동 생성됩니다.",
"message_cast_elements": "A-- \"신호 이름\"",
"message_cast_exampleCode": "#\"오브젝트1\"의 파이선 코드\ndef when_start():\n Entry.print_for_sec(\"안녕! 넌 몇살이니?\", 2)\n Entry.send_signal(\"신호\")\n\n#\"오브젝트2\"의 파이선 코드\ndef when_get_signal(\"신호\"):\n Entry.print_for_sec(\"안녕? 난 세 살이야.\", 2)",
"message_cast_exampleDesc": "[시작하기]버튼을 클릭하면 \"오브젝트1\"이 \"안녕! 넌 몇살이니?\"라고 2초간 말하고 \"신호를 보냅니다., \"오브젝트2\"가 \"신호\"를 받았을때 \"안녕? 난 세 살이야.\"라고 2초간 말합니다.",
"message_cast_wait_desc": "A에 입력된 신호를 보내고, 해당 신호를 받는 명령어들의 실행이 끝날 때까지 기다립니다.<br>만약 A 신호가 없으면 [속성] 탭에 A 신호가 자동 생성됩니다.",
"message_cast_wait_elements": "A-- \"신호 이름\"",
"message_cast_wait_exampleCode": "#\"오브젝트1\"의 파이선 코드\ndef when_start():\n Entry.print_for_sec(\"숨바꼭질하자!\", 2)\n Entry.send_signal_wait(\"신호\")\n Entry.hide()\n\n#\"오브젝트2\"의 파이선 코드\ndef when_get_signal(\"신호\"):\n Entry.print_for_sec(\"그래!\", 2)",
"message_cast_wait_exampleDesc": "[시작하기]버튼을 클릭하면 \"오브젝트1\"이 \"숨바꼭질하자!\"라고 2초 동안 말하고 \"신호\"를 보낸 후 기다립니다. \"오브젝트2\"가 \"신호\"를 받으면 \"그래!\"를 2초 동안 말합니다. \"오브젝트1\"이 그 후에 모양을 숨깁니다.",
"when_scene_start_desc": "장면이 시작되면 아래 명령어들을 실행합니다.<br>아래 명령어는 [Tab]키를 통해 들여쓰기합니다.",
"when_scene_start_exampleCode": "#\"장면 1\"의 파이선 코드\ndef when_start():\n Entry.print_for_sec(\"다른 곳으로 가볼까?\", 2)\n Entry.start_scene(\"장면 2\")\n\n#\"장면 2\"의 파이선 코드\ndef when_start_scene():\n Entry.print(\"여기가 어디지?\")",
"when_scene_start_exampleDesc": "\"장면 1\"에서 [시작하기]버튼을 클릭하면 \"다른 곳으로 가볼까?\"라고 2초간 말하고, \"장면 2\"가 시작됩니다. \"장면 2\"가 시작되면 오브젝트가 \"여기가 어디지?\"라고 말합니다.",
"start_scene_desc": "A 장면을 시작합니다.",
"start_scene_elements": "A-- \"장면 이름\"",
"start_scene_exampleCode": "#\"장면 1\"의 파이선 코드\ndef when_click_object_on():\n Entry.start_scene(\"장면 2\")",
"start_scene_exampleDesc": "\"장면 1\"에서 해당 오브젝트를 클릭하면 \"장면 2\"가 시작됩니다.",
"start_neighbor_scene_desc": "A에 입력한 다음 또는 이전 장면을 시작합니다.",
"start_neighbor_scene_elements": "A-- 아래 선택지 중 하나<br>① 다음 장면: \"next\" 또는 \"다음\"<br>② 이전 장면: \"pre\" 또는 \"이전\"",
"start_neighbor_scene_exampleCode": "#\"장면 1\"의 파이선 코드\ndef when_press_key(\"right\"):\n Entry.start_scene_of(\"next\")\n\n#\"장면 2\"의 파이선 코드\ndef when_press_key(\"left\"):\n Entry.start_scene_of(\"pre\")",
"start_neighbor_scene_exampleDesc": "\"장면 1\"에서 오른쪽화살표키를 누르면 다음 장면이, \"장면 2\"에서 왼쪽화살표키를 누르면 이전 장면이 시작됩니다.",
"wait_second_desc": "A초만큼 기다린 후 다음 블록을 실행합니다.",
"wait_second_elements": "A-- 초에 해당하는 수 입력",
"wait_second_exampleCode": "def when_start():\n Entry.add_effect(\"color\", 10)\n Entry.wait_for_sec(2)\n Entry.add_size(10)",
"wait_second_exampleDesc": "[시작하기]버튼을 클릭하면 오브젝트에 색깔효과를 10만큼 주고, 2초동안 기다린 다음 크기를 10만큼 커지게 합니다.",
"repeat_basic_desc": "아래 명령어들을 A번 반복하여 실행합니다.<br>아래 명령어는 [Tab]키를 통해 들여쓰기합니다.",
"repeat_basic_elements": "A-- 반복할 횟수 입력",
"repeat_basic_exampleCode": "def when_start():\n for i in range(10):\n Entry.move_to_direction(10)\n Entry.stamp()",
"repeat_basic_exampleDesc": "[시작하기]버튼을 클릭하면 오브젝트가 이동방향으로 10만큼 이동하고, 도장찍는 행동을 10번 반복합니다.",
"repeat_inf_desc": "A 판단이 True인 동안 아래 명령어들을 반복 실행합니다. A에 True를 입력하면 계속 반복됩니다. <br>아래 명령어는 [Tab]키를 통해 들여쓰기합니다.",
"repeat_inf_elements": "A-- True 또는 False로 판단할 수 있는 명령어 입력(판단 카테고리의 명령어)<br>① True, False<br>② 10 == 10 , 10 > 10 , 10 <= 10 등<br>③ Entry.is_mouse_clicked(), Entry.is_key_pressed(\"Q\") 등",
"repeat_inf_exampleCode": "def when_start():\n while True:\n Entry.move_to_direction(10)\n Entry.bounce_on_edge()",
"repeat_inf_exampleDesc": "[시작하기]버튼을 클릭하면 오브젝트가 계속해서 이동방향으로 10만큼 이동하고, 벽에 닿으면 튕깁니다.",
"repeat_while_true_desc": "A 판단이 True가 될 때까지 아래 명령어들을 반복 실행합니다.<br>아래 명령어는 [Tab]키를 통해 들여쓰기합니다.",
"repeat_while_true_elements": "A-- True 또는 False로 판단할 수 있는 명령어 입력(판단 카테고리의 명령어)<br>① True, False<br>② 10 == 10 , 10 > 10 , 10 <= 10 등<br>③ Entry.is_mouse_clicked(), Entry.is_key_pressed(\"Q\") 등",
"repeat_while_true_exampleCode": "def when_start():\n while not Entry.is_key_pressed(\"space\"):\n Entry.add_rotation(90)",
"repeat_while_true_exampleDesc": "[시작하기]버튼을 클릭하면 스페이스키를 누를때까지 오브젝트가 90도 만큼 회전합니다.",
"stop_repeat_desc": "이 명령어와 가장 가까운 반복 명령어의 반복을 중단합니다.",
"stop_repeat_exampleCode": "def when_start():\n while True:\n Entry.move_to_direction(10)\n if Entry.is_key_pressed(\"enter\"):\n break",
"stop_repeat_exampleDesc": "[시작하기]버튼을 클릭하면 오브젝트가 이동방향으로 10만큼 계속 이동합니다. 엔터키를 누르면 반복이 중단됩니다.",
"_if_desc": "A 부분의 판단이 True이면 if A:아래 명령어들을 실행하고, False이면 실행하지 않습니다.<br>아래 명령어는 [Tab]키를 통해 들여쓰기합니다.",
"_if_elements": "A-- True 또는 False로 판단할 수 있는 명령어 입력(판단 카테고리의 명령어)<br>① True, False<br>② 10 == 10 , 10 > 10 , 10 <= 10 등<br>③ Entry.is_mouse_clicked(), Entry.is_key_pressed(\"Q\") 등",
"_if_exampleCode": "def when_click_mouse_on():\n if (Entry.value_of_mouse_pointer(\"x\") > 0):\n Entry.print_for_sec(\"오른쪽!\", 0.5)",
"_if_exampleDesc": "마우스를 클릭했을 때 마우스 x좌표가 0보다 크면 오브젝트가 \"오른쪽!\"이라고 0.5초 동안 말합니다.",
"if_else_desc": "A 부분의 판단이 True이면 if A: 아래 명령어들을 실행하고, False이면 else: 아래 명령어들을 실행합니다.<br>아래 명령어는 [Tab]키를 통해 들여쓰기합니다.",
"if_else_elements": "A-- True 또는 False로 판단할 수 있는 명령어 입력(판단 카테고리의 명령어)<br>① True, False<br>② 10 == 10 , 10 > 10 , 10 <= 10 등<br>③ Entry.is_mouse_clicked(), Entry.is_key_pressed(\"Q\") 등",
"if_else_exampleCode": "def when_click_mouse_on():\n if Entry.is_touched(\"mouse_pointer\"):\n Entry.print(\"닿았다!\")\n else:\n Entry.print(\"안 닿았다!\")",
"if_else_exampleDesc": "마우스를 클릭했을 때 마우스포인터가 오브젝트에 닿았으면 \"닿았다!\"를 그렇지 않으면 \"안 닿았다!\"를 말합니다.",
"wait_until_true_desc": "A 부분의 판단이 True가 될 때까지 코드의 실행을 멈추고 기다립니다.",
"wait_until_true_elements": "A-- True 또는 False로 판단할 수 있는 명령어 입력(판단 카테고리의 명령어)<br>① True, False<br>② 10 == 10 , 10 > 10 , 10 <= 10 등<br>③ Entry.is_mouse_clicked(), Entry.is_key_pressed(\"Q\") 등",
"wait_until_true_exampleCode": "def when_start():\n Entry.print(\"엔터를 눌러봐!\")\n Entry.wait_until(Entry.is_key_pressed(\"enter\"))\n Entry.print(\"잘했어!\")",
"wait_until_true_exampleDesc": "[시작하기]버튼을 클릭하면 오브젝트가 \"엔터를 눌러봐!\"라 말하고, 엔터키를 누를 때까지 기다립니다. 엔터키를 누르면 \"잘했어!\"라 말합니다.",
"stop_object_desc": "A코드의 실행을 중지합니다.",
"stop_object_elements": "A-- 아래 선택지 중 하나<br>① \"all\": 모든 오브젝트의 모든 코드<br>② \"self\" : 해당 오브젝트의 모든 코드<br>③ \"this\": 이 명령어가 포함된 코드<br>④ \"others\" : 해당 오브젝트의 코드 중 이 명령어가 포함된 코드를 제외한 모든 코드<br/>⑤ \"ohter_objects\" : 이 오브젝트를 제외한 다른 모든 오브젝트의 코드",
"stop_object_exampleCode": "def when_start():\n while True:\n Entry.move_to(\"mouse_pointer\")\n\ndef when_press_key(\"space\"):\n Entry.stop_code(\"all\")\n",
"stop_object_exampleDesc": "[시작하기]버튼을 클릭하면 오브젝트가 계속해서 마우스포인터 위치로 이동합니다. 스페이스키를 누르면 모든 코드의 실행이 중지됩니다.",
"restart_project_desc": "작품을 처음부터 다시 실행합니다.",
"restart_project_exampleCode": "def when_start():\n while True:\n Entry.add_size(10)\n\ndef when_press_key(\"enter\"):\n Entry.start_again()",
"restart_project_exampleDesc": "[시작하기]버튼을 클릭하면 계속해서 오브젝트의 크기가 커집니다. 엔터키를 누르면 작품을 처음부터 다시 실행합니다.",
"when_clone_start_desc": "해당 오브젝트의 복제본이 새로 생성되었을 때 아래 명령어들을 실행합니다.<br>아래 명령어는 [Tab]키를 통해 들여쓰기합니다.",
"when_clone_start_exampleCode": "def when_start():\n for i in range(5):\n Entry.make_clone_of(\"self\")\n\ndef when_make_clone():\n Entry.set_x(random.randint(-200, 200))",
"when_clone_start_exampleDesc": "[시작하기]버튼을 클릭하면 자신의 복제본 5개를 만듭니다. 복제본이 새로 생성되었을때 복제본의 x좌표를 -200에서 200사이의 무작위수로 정합니다.",
"create_clone_desc": "A 오브젝트의 복제본을 생성합니다.",
"create_clone_elements": "A-- 아래 선택지 중 하나<br>① \"오브젝트 이름\"<br>② \"self\" 또는 \"자신\"",
"create_clone_exampleCode": "def when_start():\n for i in range(5):\n Entry.make_clone_of(\"self\")\n\ndef when_make_clone():\n Entry.set_x(random.randint(-200, 200))",
"create_clone_exampleDesc": "[시작하기]버튼을 클릭하면 자신의 복제본 5개를 만듭니다. 복제본이 새로 생성되었을때 복제본의 x좌표를 -200에서 200사이의 무작위수로 정합니다.",
"delete_clone_desc": "Entry.make_clone_of(A) 명령에 의해 생성된 복제본을 삭제합니다.",
"delete_clone_exampleCode": "def when_start():\n for i in range(5):\n Entry.make_clone_of(\"자신\")\n\ndef when_make_clone():\n Entry.set_x(random.randint(-200, 200))\n\ndef when_click_object_on():\n Entry.remove_this_clone()",
"delete_clone_exampleDesc": "[시작하기]버튼을 클릭하면 자신의 복제본 5개를 만듭니다. 복제본이 새로 생성되었을때 복제본의 x좌표를 -200에서 200사이의 무작위수로 정합니다. 복제본을 클릭하면 클릭된 복제본을 삭제합니다.",
"remove_all_clones_desc": "해당 오브젝트의 모든 복제본을 삭제합니다.",
"remove_all_clones_exampleCode": "def when_start():\n for i in range(5):\n Entry.make_clone_of(\"자신\")\n\ndef when_make_clone():\n Entry.set_x(random.randint(-200, 200))\n\ndef when_press_key(\"space\"):\n Entry.remove_all_clone()",
"remove_all_clones_exampleDesc": "[시작하기]버튼을 클릭하면 자신의 복제본 5개를 만듭니다. 복제본이 새로 생성되었을때 복제본의 x좌표를 -200에서 200사이의 무작위수로 정합니다. 스페이스 키를 누르면 모든 복제본을 삭제합니다.",
"move_direction_desc": "A만큼 오브젝트의 이동방향 화살표가 가리키는 방향으로 움직입니다.",
"move_direction_elements": "A-- 이동할 거리에 해당하는 수",
"move_direction_exampleCode": "def when_start():\n Entry.move_to_direction(10)",
"move_direction_exampleDesc": "[시작하기]버튼을 클릭하면 오브젝트가 이동방향으로 10만큼 이동합니다.",
"bounce_wall_desc": "오브젝트가 화면 끝에 닿으면 튕겨져 나옵니다.",
"bounce_wall_exampleCode": "def when_start():\n while True:\n Entry.move_to_direction(10)\n Entry.bounce_on_edge()",
"bounce_wall_exampleDesc": "[시작하기]버튼을 클릭하면 오브젝트가 계속해서 이동방향으로 10만큼 이동하고, 벽에 닿으면 튕깁니다.",
"move_x_desc": "오브젝트의 x좌표를 A만큼 바꿉니다.",
"move_x_elements": "A-- x좌표의 변화 값<br>① 양수: 오브젝트가 오른쪽으로 이동합니다.<br>② 음수: 오브젝트가 왼쪽으로 이동합니다.",
"move_x_exampleCode": "def when_start():\n Entry.add_x(10)\n Entry.wait_for_sec(2)\n Entry.add_x(-10)",
"move_x_exampleDesc": "[시작하기]버튼을 클릭하면 오브젝트가 오른쪽으로 10만큼 이동하고 2초 동안 기다린 후 왼쪽으로 10만큼 이동합니다.",
"move_y_desc": "오브젝트의 y좌표를 A만큼 바꿉니다.",
"move_y_elements": "A-- y좌표의 변화 값<br>① 양수: 오브젝트가 위쪽으로 이동합니다.<br>② 음수: 오브젝트가 아래쪽으로 이동합니다.",
"move_y_exampleCode": "def when_start():\n Entry.add_y(10)\n Entry.wait_for_sec(2)\n Entry.add_y(-10)",
"move_y_exampleDesc": "[시작하기]버튼을 클릭하면 오브젝트가 위쪽으로 10만큼 이동하고 2초 동안 기다린 후 아래쪽으로 10만큼 이동합니다.",
"move_xy_time_desc": "오브젝트가 x와 y좌표를 각각 A와 B만큼 C초에 걸쳐 서서히 바꿉니다.",
"move_xy_time_elements": "A-- x좌표의 변화 값<br>① 양수: 오브젝트가 오른쪽으로 이동합니다.<br>② 음수: 오브젝트가 왼쪽으로 이동합니다.%nextB-- y좌표의 변화 값<br>① 양수: 오브젝트가 위쪽으로 이동합니다.<br>② 음수: 오브젝트가 아래쪽으로 이동합니다.%nextC-- 이동하는 시간(초)",
"move_xy_time_exampleCode": "def when_start():\n Entry.add_xy_for_sec(100, 100, 2)\n Entry.add_xy_for_sec(-100, -100, 2)",
"move_xy_time_exampleDesc": "[시작하기]버튼을 클릭하면 오브젝트가 오른쪽 위로 100만큼 2초 동안 이동한 후 왼쪽 아래로 100만큼 2초 동안 이동합니다.",
"locate_x_desc": "오브젝트의 x좌표를 A로 정합니다. (오브젝트의 중심점이 기준이 됩니다.)",
"locate_x_elements": "A-- 이동할 x좌표",
"locate_x_exampleCode": "def when_press_key(\"right\"):\n Entry.set_x(100)\n\ndef when_press_key(\"left\"):\n Entry.set_x(-100)\n",
"locate_x_exampleDesc": "오른쪽화살표키를 누르면 오브젝트의 x좌표를 100으로 정하고, 왼쪽화살표키를 누르면 오브젝트의 x좌표를 -100으로 정합니다.",
"locate_y_desc": "오브젝트의 y좌표를 A로 정합니다. (오브젝트의 중심점이 기준이 됩니다.)",
"locate_y_elements": "B-- 이동할 y좌표",
"locate_y_exampleCode": "def when_press_key(\"up\"):\n Entry.set_y(100)\n\ndef when_press_key(\"down\"):\n Entry.set_y(-100)",
"locate_y_exampleDesc": "위쪽화살표키를 누르면 오브젝트의 y좌표를 100으로 정하고, 아래쪽화살표키를 누르면 오브젝트의 y좌표를 -100으로 정합니다.",
"locate_xy_desc": "오브젝트가 좌표(A, B)로 이동합니다. (오브젝트의 중심점이 기준이 됩니다.)",
"locate_xy_elements": "A-- 이동할 x좌표%nextB-- 이동할 y좌표",
"locate_xy_exampleCode": "def when_click_mouse_on():\n Entry.set_xy(0, 0)\n\ndef when_press_key(\"right\"):\n Entry.add_x(10)\n\ndef when_press_key(\"up\"):\n Entry.add_y(10)",
"locate_xy_exampleDesc": "오른쪽화살표키를 누르면 오브젝트의 x좌표를 10만큼 바꾸고, 위쪽화살표키를 누르면 오브젝트의 y좌표를 10만큼 바꿉니다. 마우스를 클릭하면 오브젝트의 x, y좌표를 0으로 정합니다.",
"locate_xy_time_desc": "오브젝트가 좌표(A, B)로 C초에 걸쳐 서서히 이동합니다.(오브젝트의 중심점이 기준이 됩니다.)",
"locate_xy_time_elements": "A-- 이동할 x좌표%nextB-- 이동할 y좌표%nextC-- 이동하는 시간",
"locate_xy_time_exampleCode": "def when_click_mouse_on():\n Entry.set_xy_for_sec(0, 0, 2)\n\ndef when_press_key(\"right\"):\n Entry.add_x(10)\n\ndef when_press_key(\"up\"):\n Entry.add_y(10)",
"locate_xy_time_exampleDesc": "오른쪽화살표키를 누르면 오브젝트의 x좌표를 10만큼 바꾸고, 위쪽화살표키를 누르면 오브젝트의 y좌표를 10만큼 바꿉니다. 마우스를 클릭하면 2초 동안 오브젝트를 x,y 좌표 0으로 이동시킵니다.",
"locate_desc": "오브젝트가 A의 위치로 이동합니다. (오브젝트의 중심점이 기준이 됩니다.)",
"locate_elements": "A-- 아래 선택지 중 하나<br>① \"오브젝트 이름\"<br>② \"mouse_pointer\" 또는 \"마우스포인터\"",
"locate_exampleCode": "def when_click_mouse_on():\n Entry.move_to(\"mouse_pointer\")\n\ndef when_press_key(\"space\"):\n Entry.move_to(\"오브젝트\")",
"locate_exampleDesc": "마우스를 클릭하면 오브젝트가 마우스포인터 위치로 이동합니다.<br>스페이스키를 누르면 오브젝트가 \"오브젝트\" 위치로 이동합니다.",
"locate_object_time_desc": "오브젝트가 A의 위치로 B초에 걸쳐 서서히 이동합니다. (오브젝트의 중심점이 기준이 됩니다.)",
"locate_object_time_elements": "A-- 아래 선택지 중 하나<br>① \"오브젝트 이름\"<br>② \"mouse_pointer\" 또는 \"마우스포인터\" %nextB-- 이동하는 시간(초)",
"locate_object_time_exampleCode": "def when_click_mouse_on():\n Entry.move_to_for_sec(\"mouse_pointer\", 2)",
"locate_object_time_exampleDesc": "마우스를 클릭하면 오브젝트가 2초 동안 서서히 마우스포인터 위치로 이동합니다.",
"rotate_relative_desc": "오브젝트의 방향을 A도만큼 시계방향으로 회전합니다. (오브젝트의 중심점을 기준으로 회전합니다.)",
"rotate_relative_elements": "A-- 회전할 각도",
"rotate_relative_exampleCode": "def when_click_object_on():\n Entry.add_rotation(90)\n\ndef when_click_object_off():\n Entry.add_rotation(-90)",
"rotate_relative_exampleDesc": "오브젝트를 클릭하면 오브젝트가 90도 만큼 회전하고, 오브젝트 클릭을 해제하면 오브젝트가 -90도 만큼 회전합니다.",
"direction_relative_desc": "오브젝트의 이동 방향을 A도만큼 회전합니다.",
"direction_relative_elements": "A-- 회전할 각도",
"direction_relative_exampleCode": "def when_start():\n Entry.move_to_direction(50)\n Entry.wait_for_sec(0.5)\n Entry.add_direction(90)\n Entry.wait_for_sec(0.5)\n Entry.move_to_direction(50)",
"direction_relative_exampleDesc": "[시작하기]버튼을 클릭하면 오브젝트가 이동방향으로 50만큼 이동한 다음 0.5초간 기다립니다. 그 후 이동방향을 90도 만큼 회전하고 0.5초간 기다린 후 이동방향으로 50만큼 이동합니다.",
"rotate_by_time_desc": "오브젝트의 방향을 시계방향으로 A도만큼 B초에 걸쳐 회전합니다. (오브젝트의 중심점을 기준으로 회전합니다.)",
"rotate_by_time_elements": "A-- 회전할 각도%nextB-- 회전할 시간(초)",
"rotate_by_time_exampleCode": "def when_start():\n Entry.add_rotation_for_sec(90, 2)\n Entry.add_rotation_for_sec(-90, 2)",
"rotate_by_time_exampleDesc": "[시작하기]버튼을 클릭하면 오브젝트가 2초 동안 90도 만큼 회전하고, 다시 2초 동안 -90도 만큼 회전합니다.",
"direction_relative_duration_desc": "오브젝트의 이동방향을 시계방향으로 A도만큼 B초에 걸쳐 회전합니다. (오브젝트의 중심점을 기준으로 회전합니다.)",
"direction_relative_duration_elements": "A-- 회전할 각도%nextB-- 회전할 시간(초)",
"direction_relative_duration_exampleCode": "def when_start():\n Entry.add_direction_for_sec(90, 2)\n\ndef when_start():\n while True:\n Entry.move_to_direction(1)",
"direction_relative_duration_exampleDesc": "[시작하기]버튼을 클릭하면 오브젝트의 이동방향을 2초 동안 90도만큼 회전시킵니다. 동시에 오브젝트는 이동방향으로 1만큼 계속 이동합니다.",
"rotate_absolute_desc": "오브젝트의 방향을 A로 정합니다.",
"rotate_absolute_elements": "A-- 설정할 방향",
"rotate_absolute_exampleCode": "def when_press_key(\"right\"):\n Entry.set_rotation(90)\n\ndef when_press_key(\"left\"):\n Entry.set_rotation(270)",
"rotate_absolute_exampleDesc": "오른쪽화살표키를 누르면 오브젝트의 방향을 90으로 정하고, 왼쪽화살표키를 누르면 오브젝트의 방향을 270으로 정합니다.",
"direction_absolute_desc": "오브젝트의 이동방향을 A로 정합니다.",
"direction_absolute_elements": "A-- 설정할 이동방향",
"direction_absolute_exampleCode": "def when_press_key(\"right\"):\n Entry.set_direction(90)\n Entry.move_to_direction(10)\n\ndef when_press_key(\"left\"):\n Entry.set_direction(270)\n Entry.move_to_direction(10)",
"direction_absolute_exampleDesc": "오른쪽화살표키를 누르면 오브젝트의 이동방향을 90으로 정한 후 해당 쪽으로 10만큼 이동하고, 왼쪽화살표키를 누르면 오브젝트의 이동방향을 270으로 정하고 해당쪽으로 10만큼 이동합니다.",
"see_angle_object_desc": "오브젝트가 A쪽을 바라봅니다. (이동방향이 A를 향하도록 오브젝트의 방향을 회전해줍니다.)",
"see_angle_object_elements": "A-- 아래 선택지 중 하나<br>① \"오브젝트 이름\"<br>② \"mouse_pointer\" 또는 \"마우스포인터\"",
"see_angle_object_exampleCode": "def when_click_mouse_on():\n Entry.look_at(\"mouse_pointer\")\n\ndef when_press_key(\"space\"):\n Entry.look_at(\"오브젝트\")",
"see_angle_object_exampleDesc": "마우스를 클릭하면 오브젝트가 마우스포인터쪽을 바라보고, 스페이스키를 누르면 \"오브젝트\"쪽을 바라봅니다.",
"move_to_angle_desc": "오브젝트가 A만큼 B방향으로 움직입니다.",
"move_to_angle_elements": "A-- 이동할 거리에 해당하는 수%nextB-- 이동할 방향(12시 방향이 0도, 시계방향으로 증가)",
"move_to_angle_exampleCode": "def when_press_key(\"up\"):\n Entry.move_to_degree(10, 0)\n\ndef when_press_key(\"down\"):\n Entry.move_to_degree(10, 180)",
"move_to_angle_exampleDesc": "위쪽화살표키를 누르면 오브젝트가 0도방향으로 10만큼 이동하고, 아래쪽화살표키를 누르면 오브젝트가 180도방향으로 10만큼 이동합니다.",
"show_desc": "오브젝트를 화면에 나타냅니다.",
"show_exampleCode": "def when_start():\n Entry.wait_for_sec(1)\n Entry.hide()\n Entry.wait_for_sec(1)\n Entry.show()",
"show_exampleDesc": "[시작하기]버튼을 클릭하면 1초 뒤에 오브젝트 모양이 숨겨지고, 다음 1초 뒤에 오브젝트 모양이 나타납니다.",
"hide_desc": "오브젝트를 화면에서 보이지 않게 합니다.",
"hide_exampleCode": "def when_start():\n Entry.wait_for_sec(1)\n Entry.hide()\n Entry.wait_for_sec(1)\n Entry.show()",
"hide_exampleDesc": "[시작하기]버튼을 클릭하면 1초 뒤에 오브젝트 모양이 숨겨지고, 다음 1초 뒤에 오브젝트 모양이 나타납니다.",
"dialog_time_desc": "오브젝트가 A를 B초 동안 말풍선으로 말한 후 다음 명령어가 실행됩니다. 콘솔창에서도 실행 결과를 볼 수 있습니다.",
"dialog_time_elements": "A-- 말할 내용<br>① 문자 : \"안녕!\", \"엔트리\" 등 <br>② 숫자 : 0, 10, 35 등%nextB-- 말하는 시간(초)",
"dialog_time_exampleCode": "def when_start():\n Entry.print_for_sec(\"안녕! 나는\", 2)\n Entry.print_for_sec(16, 2)\n Entry.print_for_sec(\"살이야\", 2)",
"dialog_time_exampleDesc": "[시작하기]버튼을 클릭하면 \"안녕! 나는\", 16, \"살이야\"를 각각 2초 동안 차례대로 말합니다.",
"dialog_desc": "오브젝트가 A를 말풍선으로 말합니다. 콘솔창에서도 실행 결과를 볼 수 있습니다.",
"dialog_elements": "A-- 말할 내용<br>① 문자 : \"안녕!\", \"엔트리\" 등 <br>② 숫자 : 0, 10, 35 등",
"dialog_exampleCode": "def when_start():\n Entry.print(\"키보드로 숫자 1,2 를 누르면 숫자를 말해볼게\")\n\ndef when_press_key(1):\n Entry.print(1)\n\ndef when_press_key(2):\n Entry.print(2)\n",
"dialog_exampleDesc": "[시작하기]버튼을 클릭하면 \"키보드로 숫자 1,2 를 누르면 숫자를 말해볼게\"를 말하고, 키보드로 1, 2를 누르면 각각 1, 2라 말합니다.",
"remove_dialog_desc": "오브젝트가 말하고 있는 말풍선을 지웁니다.",
"remove_dialog_exampleCode": "def when_start():\n Entry.print(\"말풍선을 지우려면 엔터를 눌러!\")\n\ndef when_press_key(\"enter\"):\n Entry.clear_print()",
"remove_dialog_exampleDesc": "[시작하기]버튼을 클릭하면 \"말풍선을 지우려면 엔터를 눌러!\"라 말하고, 엔터키를 누르면 말풍선이 사라집니다.",
"change_to_some_shape_desc": "오브젝트를 A 모양으로 바꿉니다.",
"change_to_some_shape_elements": "A-- 아래 선택지 중 하나<br>① 모양 이름 : [속성] 탭의 \"모양 이름\"을 적음<br>② 모양 번호 : [속성] 탭의 모양 번호를 적음",
"change_to_some_shape_exampleCode": "def when_start():\n Entry.wait_for_sec(0.3)\n Entry.change_shape(\"오브젝트모양\")\n Entry.wait_for_sec(0.3)\n Entry.change_shape(\"오브젝트모양\")",
"change_to_some_shape_exampleDesc": "[시작하기]버튼을 클릭하면 0.3초간 기다린 다음 \"오브젝트모양\"으로 모양을 바꾸고 0.3초간 기다린 다음 \"오브젝트모양\"모양으로 모양을 바꿉니다.",
"change_to_next_shape_desc": "오브젝트의 모양을 다음 또는 이전 모양으로 바꿉니다.",
"change_to_next_shape_elements": "A-- 아래 선택지 중 하나<br>① 다음 모양 : \"next\" 또는 \"다음\" <br>② 이전 모양 : \"pre\" 또는 \"이전\"",
"change_to_next_shape_exampleCode": "def when_start():\n Entry.wait_for_sec(0.3)\n Entry.change_shape_to(\"next\")\n Entry.wait_for_sec(0.3)\n Entry.change_shape_to(\"pre\")",
"change_to_next_shape_exampleDesc": "[시작하기]버튼을 클릭하면 0.3초간 기다린 다음 모양으로 오브젝트 모양을 바꾸고 0.3초간 기다린 다음 이전 모양으로 오브젝트 모양을 바꿉니다.",
"add_effect_amount_desc": "오브젝트에 A 효과를 B만큼 줍니다.",
"add_effect_amount_elements": "A -- 아래 선택지 중 하나<br>① “color” 또는 “색깔“ <br>② “brightness” 또는 “밝기” <br>③ “transparency” 또는 “투명도”%nextB-- 효과의 변화 정도",
"add_effect_amount_exampleCode": "def when_click_mouse_on():\n Entry.add_effect(\"color\", 50)\n Entry.wait_for_sec(1)\n Entry.add_effect(\"brightness\", -50)\n Entry.wait_for_sec(1)\n Entry.add_effect(\"transparency\", 50)",
"add_effect_amount_exampleDesc": "마우스를 클릭하면 오브젝트에 색깔 효과를 50만큼 주고 1초간 기다리고, 밝기 효과를 -50만큼 주고 1초간 기다립니다. 그 후 투명도 효과를 50만큼 줍니다.",
"change_effect_amount_desc": "오브젝트의 A 효과를 B로 정합니다.",
"change_effect_amount_elements": "A-- 아래 선택지 중 하나<br>① “color” 또는 “색깔“ <br>② “brightness” 또는 “밝기” <br>③ “transparency” 또는 “투명도”%nextB-- 효과의 값<br>① color: 0~100 범위의 수, 100을 주기로 반복됨<br>② brightness: -100~100 사이 범위의 수, -100이하는 -100 으로 100 이상은 100 으로 처리 됨<br>③ transparency: 0~100 사이 범위의 수, 0 이하는 0으로, 100이상은 100으로 처리 됨",
"change_effect_amount_exampleCode": "def when_click_mouse_on():\n Entry.set_effect(\"color\", 50)\n Entry.set_effect(\"brightness\", 50)\n Entry.set_effect(\"transparency\", 50)\n\ndef when_click_mouse_off():\n Entry.set_effect(\"color\", 0)\n Entry.set_effect(\"brightness\", 0)\n Entry.set_effect(\"transparency\", 0)",
"change_effect_amount_exampleDesc": "마우스를 클릭하면 오브젝트에 색깔, 밝기, 투명도 효과를 50으로 정하고, 마우스 클릭을 해제하면 각 효과를 0으로 정합니다.",
"erase_all_effects_desc": "오브젝트에 적용된 효과를 모두 지웁니다.",
"erase_all_effects_exampleCode": "def when_click_mouse_on():\n Entry.set_effect(\"color\", 50)\n Entry.set_effect(\"brightness\", 50)\n Entry.set_effect(\"transparency\", 50)\n\ndef when_click_mouse_off():\n Entry.clear_effect()\n",
"erase_all_effects_exampleDesc": "마우스를 클릭하면 오브젝트에 색깔, 밝기, 투명도 효과를 50으로 정하고, 마우스 클릭을 해제하면 오브젝트에 적용된 모든 효과를 지웁니다.",
"change_scale_size_desc": "오브젝트의 크기를 A만큼 바꿉니다.",
"change_scale_size_elements": "A-- 크기 변화 값",
"change_scale_size_exampleCode": "def when_press_key(\"up\"):\n Entry.add_size(10)\n\ndef when_press_key(\"down\"):\n Entry.add_size(-10)\n\ndef when_press_key(\"space\"):\n Entry.set_size(100)",
"change_scale_size_exampleDesc": "위쪽화살표키를 누르면 오브젝트의 크기가 10만큼 커지고, 아래쪽화살표키를 누르면 오브젝트의 크기가 10만큼 작아집니다. 스페이스키를 누르면 오브젝트의 크기를 100으로 정합니다.",
"set_scale_size_desc": "오브젝트의 크기를 A로 정합니다.",
"set_scale_size_elements": "A-- 크기값",
"set_scale_size_exampleCode": "def when_press_key(\"up\"):\n Entry.add_size(10)\n\ndef when_press_key(\"down\"):\n Entry.add_size(-10)\n\ndef when_press_key(\"space\"):\n Entry.set_size(100)",
"set_scale_size_exampleDesc": "위쪽화살표키를 누르면 오브젝트의 크기가 10만큼 커지고, 아래쪽화살표키를 누르면 오브젝트의 크기가 10만큼 작아집니다. 스페이스키를 누르면 오브젝트의 크기를 100으로 정합니다.",
"flip_x_desc": "오브젝트의 상하 모양을 뒤집습니다.",
"flip_x_exampleCode": "def when_press_key(\"up\"):\n Entry.flip_horizontal()\n\ndef when_press_key(\"right\"):\n Entry.flip_vertical()",
"flip_x_exampleDesc": "위쪽화살표키를 누르면 오브젝트의 상하 모양을 뒤집고, 오른쪽화살표키를 누르면 오브젝트의 좌우 모양을 뒤집습니다.",
"flip_y_desc": "오브젝트의 좌우 모양을 뒤집습니다.",
"flip_y_exampleCode": "def when_press_key(\"up\"):\n Entry.flip_horizontal()\n\ndef when_press_key(\"right\"):\n Entry.flip_vertical()",
"flip_y_exampleDesc": "위쪽화살표키를 누르면 오브젝트의 상하 모양을 뒤집고, 오른쪽화살표키를 누르면 오브젝트의 좌우 모양을 뒤집습니다.",
"change_object_index_desc": "오브젝트의 레이어를 A로 가져옵니다.",
"change_object_index_elements": "A-- 아래 선택지 중 하나<br>① “front\" 또는 “맨 앞“ <br>② “forward” 또는 “앞” <br>③ “backward” 또는 “뒤”<br>④ “back” 또는 “맨 뒤”",
"change_object_index_exampleCode": "def when_start():\n Entry.send_layer_to(\"front\")\n Entry.wait_for_sec(2)\n Entry.send_layer_to(\"backward\")",
"change_object_index_exampleDesc": "오브젝트가 여러개가 겹쳐 있을 경우 [시작하기]버튼을 클릭하면 해당 오브젝트의 레이어를 가장 앞으로 가져와서 보여줍니다.",
"brush_stamp_desc": "오브젝트의 모양을 도장처럼 실행화면 위에 찍습니다.",
"brush_stamp_exampleCode": "def when_start():\n for i in range(10):\n Entry.move_to_direction(10)\n Entry.stamp()",
"brush_stamp_exampleDesc": "[시작하기]버튼을 클릭하면 오브젝트가 이동방향으로 10만큼 이동하고, 도장찍는 행동을 10번 반복합니다.",
"start_drawing_desc": "오브젝트가 이동하는 경로를 따라 선이 그려지기 시작합니다. (오브젝트의 중심점이 기준)",
"start_drawing_exampleCode": "def when_start():\n Entry.start_drawing()\n for i in range(10):\n Entry.move_to_direction(10)",
"start_drawing_exampleDesc": "[시작하기]버튼을 클릭하면 그리기가 시작되고, 오브젝트가 이동방향으로 10만큼 10번 이동할 때 오브젝트의 이동경로를 따라 선이 그려집니다.",
"stop_drawing_desc": "오브젝트가 선을 그리는 것을 멈춥니다.",
"stop_drawing_exampleCode": "def when_start():\n Entry.start_drawing()\n while True:\n Entry.move_to_direction(1)\n\ndef when_click_mouse_on():\n Entry.stop_drawing()",
"stop_drawing_exampleDesc": "[시작하기]버튼을 클릭하면 그리기가 시작되고 계속해서 오브젝트가 이동방향으로 10만큼 이동합니다. 마우스를 클릭하면 그리는것을 멈춥니다.",
"set_color_desc": "오브젝트가 그리는 선의 색을 A로 정합니다.",
"set_color_elements": "A-- 아래 선택지 중 하나<br>① 색상 코드 : \"#FF0000\", \"#FFCC00\", \"#3333FF\", \"#000000\" 등<br>② 색깔명 : \"red\", \"orange\", \"yellow\", \"green\", \"blue\", \"navy\", \"purple\", \"black\", \"white\", \"brown\"",
"set_color_exampleCode": "def when_start():\n Entry.start_drawing()\n Entry.set_brush_color_to(\"#000099\")\n while True:\n Entry.move_to_direction(1)",
"set_color_exampleDesc": "[시작하기]버튼을 클릭하면 그리기가 시작되고, 선의 색을 \"#000099\"로 정합니다. 오브젝트는 계속해서 이동방향으로 1만큼 움직이고, 오브젝트의 이동경로를 따라 선이 그려집니다.",
"set_random_color_desc": "오브젝트가 그리는 선의 색을 무작위로 정합니다.",
"set_random_color_exampleCode": "def when_start():\n Entry.start_drawing()\n while True:\n Entry.move_to_direction(1)\n Entry.set_brush_color_to_random()",
"set_random_color_exampleDesc": "[시작하기]버튼을 클릭하면 그리기가 시작됩니다. 오브젝트는 계속해서 이동방향으로 1만큼 움직이고, 오브젝트의 이동경로를 따라 선이 그려집니다. 선의 색깔은 계속해서 무작위로 정해집니다.",
"change_thickness_desc": "오브젝트가 그리는 선의 굵기를 A만큼 바꿉니다.",
"change_thickness_elements": "A-- 굵기 변화 값",
"change_thickness_exampleCode": "def when_start():\n Entry.start_drawing()\n while True:\n Entry.add_brush_size(1)\n Entry.move_to_direction(10)",
"change_thickness_exampleDesc": "[시작하기]버튼을 클릭하면 그리기가 시작됩니다. 오브젝트는 계속해서 이동방향으로 10만큼 움직이고, 오브젝트의 이동경로를 따라 선이 그려집니다. 선의 굵기는 계속해서 1씩 커집니다.",
"set_thickness_desc": "오브젝트가 그리는 선의 굵기를 A로 정합니다.",
"set_thickness_elements": "A-- 굵기값(1이상의 수)",
"set_thickness_exampleCode": "def when_start():\n Entry.start_drawing()\n Entry.set_brush_size(10)\n while True:\n Entry.move_to_direction(10)",
"set_thickness_exampleDesc": "[시작하기]버튼을 클릭하면 그리기가 시작되고, 선의 굵기를 10으로 정합니다. 오브젝트는 계속해서 이동방향으로 10만큼 움직이고, 오브젝트의 이동경로를 따라 선이 그려집니다.",
"change_brush_transparency_desc": "오브젝트가 그리는 선의 투명도를 A만큼 바꿉니다.",
"change_brush_transparency_elements": "A-- 투명도 변화 값",
"change_brush_transparency_exampleCode": "def when_start():\n Entry.start_drawing()\n Entry.set_brush_size(10)\n while True:\n Entry.move_to_direction(10)\n Entry.add_brush_transparency(5)",
"change_brush_transparency_exampleDesc": "[시작하기]버튼을 클릭하면 그리기가 시작되고, 선의 굵기를 10으로 정합니다. 오브젝트는 계속해서 이동방향으로 10만큼 움직이고, 오브젝트의 이동경로를 따라 선이 그려집니다. 선의 투명도는 계속해서 5만큼 바꿉니다.",
"set_brush_tranparency_desc": "오브젝트가 그리는 선의 투명도를 A로 정합니다.",
"set_brush_tranparency_elements": "A-- 투명도값(0~100 의 범위)",
"set_brush_tranparency_exampleCode": "def when_start():\n Entry.start_drawing()\n Entry.set_brush_size(10)\n Entry.set_brush_transparency(50)\n while True:\n Entry.move_to_direction(10)",
"set_brush_tranparency_exampleDesc": "[시작하기]버튼을 클릭하면 그리기가 시작되고, 선의 굵기를 10으로, 선의 투명도를 50으로 정합니다. 오브젝트는 계속해서 이동방향으로 10만큼 움직이고, 오브젝트의 이동경로를 따라 선이 그려집니다.",
"brush_erase_all_desc": "오브젝트가 그린 선과 도장을 모두 지웁니다.",
"brush_erase_all_exampleCode": "def when_start():\n Entry.start_drawing()\n while True:\n Entry.move_to_direction(10)\n\ndef when_click_mouse_on():\n Entry.clear_drawing()",
"brush_erase_all_exampleDesc": "[시작하기]버튼을 클릭하면 그리기가 시작됩니다. 오브젝트는 계속해서 이동방향으로 10만큼 움직이고, 오브젝트의 이동경로를 따라 선이 그려집니다. 마우스를 클릭하면 오브젝트가 그린 선을 모두 지웁니다.",
"text_write_desc": "글상자의 내용을 A로 고쳐씁니다.",
"text_write_elements": "A-- 글상자의 내용<br>① 문자 : \"안녕!\", \"엔트리\" 등 <br>② 숫자 : 0, 10, 35 등",
"text_write_exampleCode": "def when_start():\n Entry.write_text(\"엔트리\")",
"text_write_exampleDesc": "[시작하기]버튼을 클릭하면 글상자의 내용을 \"엔트리\"로 바꿉니다.",
"text_append_desc": "글상자의 내용 뒤에 A를 추가합니다.",
"text_append_elements": "A-- 글상자의 내용<br>① 문자 : \"안녕!\", \"엔트리\" 등 <br>② 숫자 : 0, 10, 35 등",
"text_append_exampleCode": "def when_start():\n Entry.write_text(\"안녕?\")\n Entry.wait_for_sec(1)\n Entry.append_text(\"엔트리!\")",
"text_append_exampleDesc": "[시작하기]버튼을 클릭하면 글상자의 내용이 \"안녕?\"이 되었다가 1초 뒤에 \"엔트리!\"가 추가되어 \"안녕?엔트리!\"가 됩니다.",
"text_prepend_desc": "글상자의 내용 앞에 A를 추가합니다.",
"text_prepend_elements": "A-- 글상자의 내용<br>① 문자 : \"안녕!\", \"엔트리\" 등 <br>② 숫자 : 0, 10, 35 등",
"text_prepend_exampleCode": "def when_start():\n Entry.write_text(\"반가워!\")\n Entry.wait_for_sec(1)\n Entry.prepend_text(\"엔트리!\")",
"text_prepend_exampleDesc": "[시작하기]버튼을 클릭하면 글상자의 내용이 \"반가워!\"가 되었다가 1초 뒤에 \"엔트리!\"가 앞에 추가되어 \"엔트리!반가워!\"가 됩니다.",
"text_flush_desc": "글상자에 저장된 값을 모두 지웁니다.",
"text_flush_exampleCode": "def when_start():\n Entry.write_text(\"엔트리\")\n Entry.wait_for_sec(1)\n Entry.clear_text()",
"text_flush_exampleDesc": "[시작하기]버튼을 클릭하면 글상자의 내용이 \"엔트리\"가 되었다가 1초 뒤에 모든 내용이 사라집니다.",
"sound_something_with_block_desc": "오브젝트가 A 소리를 재생합니다.",
"sound_something_with_block_elements": "A-- 아래 선택지 중 하나<br>① 소리 이름 : [속성] 탭의 \"소리 이름\"을 적음<br>② 소리 번호: [속성] 탭의 소리 번호를 적음",
"sound_something_with_block_exampleCode": "def when_start():\n Entry.play_sound(\"소리\")\n Entry.add_size(50)",
"sound_something_with_block_exampleDesc": "[시작하기]버튼을 클릭하면 \"소리\"를 재생하면서 오브젝트의 크기가 50만큼 커집니다.",
"sound_something_second_with_block_desc": "오브젝트가 A소리를 B초 만큼 재생합니다.",
"sound_something_second_with_block_elements": "A-- 아래 선택지 중 하나<br>① 소리 이름 : [속성] 탭의 \"소리 이름\"을 적음<br>② 소리 번호: [속성] 탭의 소리 번호를 적음",
"sound_something_second_with_block_exampleCode": "def when_start():\n Entry.play_sound_for_sec(\"소리\", 1)\n Entry.add_size(50)",
"sound_something_second_with_block_exampleDesc": "[시작하기]버튼을 클릭하면 \"소리\"를 1초 동안 재생하면서, 오브젝트의 크기가 50만큼 커집니다.",
"sound_from_to_desc": "오브젝트가 A소리를 B초부터 C초까지 재생합니다.",
"sound_from_to_elements": "A-- 아래 선택지 중 하나<br>① 소리 이름 : [속성] 탭의 \"소리 이름\"을 적음<br>② 소리 번호: [속성] 탭의 소리 번호를 적음",
"sound_from_to_exampleCode": "def when_start():\n Entry.play_sound_from_to(\"소리\", 0.5, 1)\n Entry.add_size(50)",
"sound_from_to_exampleDesc": "[시작하기]버튼을 클릭하면 \"소리\"를 0.5초부터 1초 구간까지만 재생하면서, 오브젝트의 크기가 50만큼 커집니다.",
"sound_something_wait_with_block_desc": "오브젝트가 A 소리를 재생하고, 재생이 끝나면 다음 명령을 실행합니다.",
"sound_something_wait_with_block_elements": "A-- 아래 선택지 중 하나<br>① 소리 이름 : [속성] 탭의 \"소리 이름\"을 적음<br>② 소리 번호: [속성] 탭의 소리 번호를 적음",
"sound_something_wait_with_block_exampleCode": "def when_start():\n Entry.play_sound_and_wait(\"소리\")\n Entry.add_size(50)",
"sound_something_wait_with_block_exampleDesc": "[시작하기]버튼을 클릭하면 \"소리\"를 재생하고, 재생이 끝나면 오브젝트의 크기가 50만큼 커집니다.",
"sound_something_second_wait_with_block_desc": "오브젝트가 A소리를 B초 만큼 재생하고, 재생이 끝나면 다음 명령을 실행합니다.",
"sound_something_second_wait_with_block_elements": "A-- 아래 선택지 중 하나<br>① 소리 이름 : [속성] 탭의 \"소리 이름\"을 적음<br>② 소리 번호: [속성] 탭의 소리 번호를 적음",
"sound_something_second_wait_with_block_exampleCode": "def when_start():\n Entry.play_sound_for_sec_and_wait(\"소리\", 1)\n Entry.add_size(50)",
"sound_something_second_wait_with_block_exampleDesc": "[시작하기]버튼을 클릭하면 \"소리\"를 1초 동안 재생하고, 재생이 끝나면 오브젝트의 크기가 50만큼 커집니다.",
"sound_from_to_and_wait_desc": "오브젝트가 A소리를 B초부터 C초까지 재생하고, 재생이 끝나면 다음 명령을 실행합니다.",
"sound_from_to_and_wait_elements": "A-- 아래 선택지 중 하나<br>① 소리 이름 : [속성] 탭의 \"소리 이름\"을 적음<br>② 소리 번호: [속성] 탭의 소리 번호를 적음",
"sound_from_to_and_wait_exampleCode": "def when_start():\n Entry.play_sound_from_to_and_wait(\"소리\", 0.5, 1)\n Entry.add_size(50)",
"sound_from_to_and_wait_exampleDesc": "[시작하기]버튼을 클릭하면 \"소리\"를 0.5초부터 1초 구간까지만 재생하고, 재생이 끝나면 오브젝트의 크기가 50만큼 커집니다.",
"sound_volume_change_desc": "작품에서 재생되는 모든 소리의 크기를 A퍼센트만큼 바꿉니다.",
"sound_volume_change_elements": "A-- 소리 크기 변화 값",
"sound_volume_change_exampleCode": "def when_press_key(\"up\"):\n Entry.add_sound_volume(10)\n\ndef when_press_key(\"down\"):\n Entry.add_sound_volume(-10)\n\ndef when_start():\n while True:\n Entry.play_sound_and_wait(\"소리\")",
"sound_volume_change_exampleDesc": "[시작하기]버튼을 클릭하면 \"소리\"를 계속 재생합니다. 위쪽화살표키를 누르면 소리의 크기가 10\" 커지고, 아래쪽화살표키를 누르면 소리의 크기가 10\"작아집니다.",
"sound_volume_set_desc": "작품에서 재생되는 모든 소리의 크기를 A퍼센트로 정합니다.",
"sound_volume_set_elements": "A-- 소리 크기값",
"sound_volume_set_exampleCode": "def when_press_key(\"up\"):\n Entry.add_sound_volume(10)\n\ndef when_press_key(\"down\"):\n Entry.add_sound_volume(-10)\n\ndef when_press_key(\"enter\"):\n Entry.set_sound_volume(100)\n\ndef when_start():\n while True:\n Entry.play_sound_and_wait(\"소리\")",
"sound_volume_set_exampleDesc": "[시작하기]버튼을 클릭하면 \"소리\"를 계속 재생합니다. 위쪽화살표키를 누르면 소리의 크기가 10\" 커지고, 아래쪽화살표키를 누르면 소리의 크기가 10\"작아집니다. 엔터키를 누르면 소리의 크기를 100\"로 정합니다.",
"sound_silent_all_desc": "현재 재생 중인 모든 소리를 멈춥니다.",
"sound_silent_all_exampleCode": "def when_start():\n while True:\n Entry.play_sound_and_wait(\"소리\")\n\ndef when_press_key(\"enter\"):\n Entry.stop_sound()",
"sound_silent_all_exampleDesc": "[시작하기]버튼을 클릭하면 \"소리\"를 계속 재생합니다. 엔터키를 누르면 현재 재생 중인 소리를 멈춥니다.",
"is_clicked_desc": "마우스를 클릭한 경우 True로 판단합니다.",
"is_clicked_exampleCode": "def when_start():\n while True:\n if Entry.is_mouse_clicked():\n Entry.print_for_sec(\"반가워!\", 0.5)",
"is_clicked_exampleDesc": "[시작하기]버튼을 클릭하면 계속해서 마우스를 클릭했는지 확인합니다. 만약 마우스를 클릭하면 오브젝트가 \"반가워!\"라고 0.5초간 말합니다.",
"is_press_some_key_desc": "A 키가 눌려져 있는 경우 True로 판단합니다.",
"is_press_some_key_elements": "A-- 아래 선택지 중 하나<br>① 알파벳 : \"A\", \"B\" ~ \"Z\" 등(소문자 가능)<br>② 숫자: 1, 2, 3, 4 ~ 9, 0<br>③ 특수키: \"space\", \"enter\"<br>④ 방향키 : \"up\", \"down\", \"right\", \"left\"",
"is_press_some_key_exampleCode": "def when_start():\n while True:\n if Entry.is_key_pressed(\"space\"):\n Entry.move_to_direction(10)",
"is_press_some_key_exampleDesc": "[시작하기]버튼을 클릭하면 계속해서 선택한 키를 눌렀는지 확인합니다. 만약 스페이스 키를 누르면 오브젝트가 이동방향으로 10만큼 이동합니다.",
"reach_something_desc": "오브젝트가 A와 닿은 경우 True으로 판단합니다.",
"reach_something_elements": "A-- 아래 선택지 중 하나<br>① \"오브젝트 이름\"<br>② \"mouse_pointer\" 또는 \"마우스포인터\"<br>③ \"edge\", \"edge_up\", \"edge_down\", \"edge_right\", \"edge_left\"",
"reach_something_exampleCode": "def when_start():\n while True:\n Entry.move_to_direction(10)\n if Entry.is_touched(\"edge\"):\n Entry.add_rotation(150)",
"reach_something_exampleDesc": "[시작하기]버튼을 클릭하면 계속해서 오브젝트가 이동방향으로 10만큼 이동합니다. 만약 오브젝트가 벽에 닿으면 150만큼 회전하게 됩니다.",
"boolean_basic_operator_desc": "A와 B를 비교하여 True 또는 False로 판단합니다.",
"boolean_basic_operator_elements": "A, B-- 비교하고자 하는 숫자값<br>① == : A와 B의 값이 같으면 True, 아니면 False<br>② > : A의 값이 B의 값보다 크면 true, 아니면 False<br>③ < : A의 값이 B의 값보다 작으면 true, 아니면 False<br>④ >= : A의 값이 B의 값보다 크거나 같으면 true, 아니면 False<br>⑤ <= : A의 값이 B의 값보다 작거나 같으면 true, 아니면 False",
"boolean_basic_operator_exampleCode": "def when_start():\n while True:\n Entry.add_x(10)\n if Entry.value_of_object(\"오브젝트\", \"x\") > 240:\n Entry.set_x(0)",
"boolean_basic_operator_exampleDesc": "[시작하기]버튼을 클릭하면 계속해서 오브젝트 x좌표를 10만큼 바꿉니다. 만약 오브젝트 x좌표가 240보다 크면 오브젝트 x좌표를 0으로 정합니다.",
"boolean_and_desc": "A와 B의 판단이 모두 True인 경우 True, 아닌 경우 False로 판단합니다.",
"boolean_and_elements": "A, B-- True 또는 False로 판단할 수 있는 명령어 입력(판단 카테고리의 명령어)<br>① True, False<br>② 10 == 10 , 10 > 10 , 10 <= 10 등<br>③ Entry.is_mouse_clicked(), Entry.is_key_pressed(\"Q\") 등",
"boolean_and_exampleCode": "def when_start():\n while True:\n if Entry.is_key_pressed(\"a\") and Entry.is_key_pressed(\"s\"):\n Entry.add_effect(\"color\", 10)",
"boolean_and_exampleDesc": "[시작하기]버튼을 클릭하고 키보드의 \"a\" 와 \"s\"키를 동시에 눌렀을 때, 색깔 효과를 10만큼 줍니다.",
"boolean_or_desc": "A와 B의 판단 중 하나라도 True인 경우 True, 아닌 경우 False로 판단합니다.",
"boolean_or_elements": "A, B-- True 또는 False로 판단할 수 있는 명령어 입력(판단 카테고리의 명령어)<br>① True, False<br>② 10 == 10 , 10 > 10 , 10 <= 10 등<br>③ Entry.is_mouse_clicked(), Entry.is_key_pressed(\"Q\") 등",
"boolean_or_exampleCode": "def when_start():\n while True:\n if Entry.is_key_pressed(\"a\") or Entry.is_key_pressed(\"s\"):\n Entry.add_effect(\"color\", 10)",
"boolean_or_exampleDesc": "[시작하기]버튼을 클릭하면 키보드의 \"a\"나 \"s\"키 중 무엇이든 하나를 누르면 오브젝트에 색깔 효과를 10만큼 줍니다.",
"boolean_not_desc": "A 판단이 True이면 False, False이면 True로 판단합니다.",
"boolean_not_elements": "A-- True 또는 False로 판단할 수 있는 명령어 입력(판단 카테고리의 명령어)<br>① True, False<br>② 10 == 10 , 10 > 10 , 10 <= 10 등<br>③ Entry.is_mouse_clicked(), Entry.is_key_pressed(\"Q\") 등",
"boolean_not_exampleCode": "def when_start():\n while True:\n if not Entry.is_mouse_clicked():\n Entry.add_size(1)",
"boolean_not_exampleDesc": "[시작하기]버튼을 클릭하면 마우스를 클릭하지 않은 동안 크기가 1씩 커집니다.",
"calc_basic_desc": "A와 B의 연산값입니다.",
"calc_basic_elements": "A, B-- 연산하고자 하는 숫자값<br>① + : A와 B를 더한 값<br>② - : A와 B를 뺀 값<br>③ x : A와 B를 곱한 값<br>④ / : A와 B를 나눈 값",
"calc_basic_exampleCode": "def when_start():\n Entry.print_for_sec(10 + 10, 2)\n Entry.print_for_sec(10 - 10, 2)\n Entry.print_for_sec(10 * 10, 2)\n Entry.print_for_sec(10 / 10, 2)",
"calc_basic_exampleDesc": "[시작하기]버튼을 클릭하면 10과 10을 더한값, 뺀값, 곱한값, 나눈값을 각 2초간 말합니다.",
"calc_rand_desc": "A와 B 사이에서 선택된 무작위 수의 값입니다. (두 수 모두 정수를 입력한 경우 정수로,두 수 중 하나라도 소수를 입력한 경우 소수로 무작위 수가 선택됩니다.)",
"calc_rand_elements": "A, B-- 무작위 수를 추출할 범위<br>① random.randint(A, B) : A, B를 정수로 입력하면 정수 범위에서 무작위 수를 추출<br>② random.uniform(A, B) : A, B를 실수로 입력하면 실수 범위에서 무작위 수를 추출",
"calc_rand_exampleCode": "def when_start():\n Entry.print_for_sec(random.randint(1, 10), 2)\n Entry.print_for_sec(random.uniform(0.1, 2), 2)",
"calc_rand_exampleDesc": "[시작하기]버튼을 클릭하면 1부터 10사이의 정수중 무작위 수를 뽑아 2초간 말합니다. 그 후 0.1부터 2사이의 실수중 무작위 수를 뽑아 2초간 말합니다.",
"coordinate_mouse_desc": "마우스 포인터의 A 좌표 값을 의미합니다.",
"coordinate_mouse_elements": "A-- 아래 선택지 중 하나<br>① \"x\" 또는 \"X\"<br>② \"y\" 또는 \"Y\"",
"coordinate_mouse_exampleCode": "def when_start():\n while True:\n Entry.print(Entry.value_of_mouse_pointer(\"x\"))",
"coordinate_mouse_exampleDesc": "[시작하기]버튼을 클릭하면 오브젝트가 마우스 포인터의 x좌표를 계속해서 말합니다.",
"coordinate_object_desc": "A에 대한 B정보값입니다.",
"coordinate_object_elements": "A-- 아래 선택지 중 하나<br>① \"오브젝트 이름\"<br>② \"self\" 또는 \"자신\"%nextB-- 아래 선택지 중 하나<br>① \"x\" 또는 \"X\"<br>② \"y\" 또는 \"Y\"<br>③ \"rotation\" 또는 \"방향\"<br>④ \"direction\" 또는 \"이동 방향\"<br>⑤ \"size\" 또는 \"크기\"<br>⑥ \"shape_number\" 또는 \"모양 번호\"<br>⑦ \"shape_name\" 또는 \"모양 이름\"",
"coordinate_object_exampleCode": "def when_start():\n while True:\n Entry.add_x(1)\n Entry.print(Entry.value_of_object(\"오브젝트\", \"x\"))\n",
"coordinate_object_exampleDesc": "[시작하기]버튼을 클릭하면 계속해서 오브젝트의 x좌표가 1씩 증가하며, \"오브젝트\"의 x좌표를 말합니다.",
"get_sound_volume_desc": "현재 작품에 설정된 소리의 크기값입니다.",
"get_sound_volume_exampleCode": "def when_start():\n while True:\n Entry.print(Entry.value_of_sound_volume())",
"get_sound_volume_exampleDesc": "[시작하기]버튼을 클릭하면 오브젝트가 소리의 크기값을 계속해서 말합니다.",
"quotient_and_mod_desc": "A와 B의 연산값입니다.",
"quotient_and_mod_elements": "A, B-- 연산하고자 하는 숫자값<br>① // : A / B의 몫에 해당하는 값<br>② % : A / B의 나머지에 해당하는 값",
"quotient_and_mod_exampleCode": "def when_start():\n Entry.print_for_sec(10 // 3, 2)\n Entry.print_for_sec(10 % 3, 2)",
"quotient_and_mod_exampleDesc": "[시작하기]버튼을 클릭하면 10 / 3의 몫인 3을 2초 동안 말하고, 나머지인 1을 2초 동안 말합니다.",
"calc_operation_desc": "A의 연산값입니다.",
"calc_operation_elements": "A, B-- 연산하고자 하는 숫자값<br>① A ** 2 : A를 제곱한 값<br>② math.sqrt(A): A의 루트값<br>③ math.sin(A): A의 사인값<br>④ math.cos(A): A의 코사인 값<br>⑤ math.tan(A): A의 탄젠트값 <br>⑥ math.asin(A): A의 아크사인값<br>⑦ math.acos(A): A의 아크코사인값<br>⑧ math.atan(): A의 아크탄젠트값<br>⑨ math.log10(A): A의 로그값<br>⑩ math.log(A): A의 자연로그값<br>⑪ A - math.floor(A): A의 소수점 부분<br>⑫ math.floor(A): A의 소수점 버림값<br>⑬ math.ceil(A): A의 소수점 올림값<br>⑭ math.round(A): A의 반올림값<br>⑮ math.factorial(A): A의 팩토리얼 값<br>⑯ math.fabs(A): A의 절댓값",
"calc_operation_exampleCode": "def when_start():\n Entry.print_for_sec(10 ** 2, 2)\n Entry.print_for_sec(math.sqrt(9), 2)\n Entry.print_for_sec(math.sin(90), 2)\n Entry.print_for_sec(math.fabs(-10), 2)",
"calc_operation_exampleDesc": "[시작하기]버튼을 클릭하면 10의 제곱, 9의 루트값, 90의 사인값, -10의 절댓값을 각 2초 동안 말합니다.",
"get_project_timer_value_desc": "이 명령이 실행되는 순간 초시계에 저장된 값입니다.",
"get_project_timer_value_exampleCode": "def when_start():\n Entry.timer(\"start\")\n Entry.wait_for_sec(3)\n Entry.timer(\"stop\")\n Entry.timer_view(\"hide\")\n Entry.print(Entry.value_of_timer())",
"get_project_timer_value_exampleDesc": "[시작하기]버튼을 클릭하면 초시계를 시작합니다. 3초 뒤에는 초시계를 정지하고 초시계창을 숨깁니다. 그 후 초시계값을 말합니다.",
"choose_project_timer_action_desc": "초시계의 동작을 A로 정합니다.<br>(이 명령어를 사용하면 실행화면에 ‘초시계 창’이 생성됩니다.)",
"choose_project_timer_action_elements": "A-- 아래 선택지 중 하나<br>① \"start\" : 초시계를 시작<br>② \"stop\" : 초시계를 정지<br>③ \"reset\" : 초시계를 초기화",
"choose_project_timer_action_exampleCode": "def when_start():\n Entry.timer(\"start\")\n Entry.wait_for_sec(3)\n Entry.timer(\"stop\")\n Entry.timer_view(\"hide\")\n Entry.print(Entry.value_of_timer())",
"choose_project_timer_action_exampleDesc": "[시작하기]버튼을 클릭하면 초시계를 시작합니다. 3초 뒤에는 초시계를 정지하고 초시계창을 숨깁니다. 그 후 초시계값을 말합니다.",
"set_visible_project_timer_desc": "실행화면의 초시계 창을 A로 설정합니다.",
"set_visible_project_timer_elements": "A-- 아래 선택지 중 하나<br>① \"hide\" : 초시계창을 숨김<br>② \"show\" : 초시계창을 보임",
"set_visible_project_timer_exampleCode": "def when_start():\n Entry.timer(\"start\")\n Entry.wait_for_sec(3)\n Entry.timer(\"stop\")\n Entry.timer_view(\"hide\")\n Entry.print(Entry.value_of_timer())",
"set_visible_project_timer_exampleDesc": "[시작하기]버튼을 클릭하면 초시계를 시작합니다. 3초 뒤에는 초시계를 정지하고 초시계창을 숨깁니다. 그 후 초시계값을 말합니다.",
"get_date_desc": "현재 A에 대한 값입니다.",
"get_date_elements": "A-- 아래 선택지 중 하나<br>① \"year\" : 현재 연도 값<br>② \"month\" : 현재 월 값<br>③ \"day\" : 현재 일 값<br>④ \"hour\" : 현재 시간 값<br>⑤ \"minute\" : 현재 분 값<br>⑥ \"second\" : 현재 초 값",
"get_date_exampleCode": "def when_start():\n Entry.print(Entry.value_of_current_time(\"year\") + \"년\" + Entry.value_of_current_time(\"month\") + \"월\")",
"get_date_exampleDesc": "[시작하기]버튼을 클릭하면 오브젝트가 현재년도와 월을 말합니다.",
"distance_something_desc": "자신과 A까지의 거리 값입니다.",
"distance_something_elements": "A-- 아래 선택지 중 하나<br>① \"오브젝트 이름\"<br>② \"mouse_pointer\" 또는 \"마우스포인터\"",
"distance_something_exampleCode": "def when_start():\n while True:\n Entry.print(Entry.value_of_distance_to(\"mouse_pointer\"))",
"distance_something_exampleDesc": "[시작하기]버튼을 클릭하면 오브젝트가 마우스포인터와의 거리를 계속해서 말합니다.",
"get_sound_duration_desc": "소리 A의 길이(초)값입니다.",
"get_sound_duration_elements": "A-- \"소리 이름\"",
"get_sound_duration_exampleCode": "def when_start():\n Entry.print(Entry.value_of_sound_length_of(\"소리\"))",
"get_sound_duration_exampleDesc": "[시작하기]버튼을 클릭하면 오브젝트가 \"소리\"의 길이를 말합니다.",
"length_of_string_desc": "입력한 문자값의 공백을 포함한 글자 수입니다.",
"length_of_string_elements": "A-- \"문자열\"",
"length_of_string_exampleCode": "def when_start():\n Entry.print_for_sec(len(\"안녕\"), 2)\n Entry.print_for_sec(len(\"엔트리\"), 2)",
"length_of_string_exampleDesc": "[시작하기]버튼을 클릭하면 오브젝트가 \"안녕\"과 \"엔트리\"의 글자 수를 각각 2초 동안 말합니다.",
"combine_something_desc": "A 문자열과 B 문자열을 결합한 값입니다. (A, B 중 하나가 숫자면 문자열로 바꾸어 처리되고, 둘 다 숫자면 덧셈 연산으로 처리됩니다.)",
"combine_something_elements": "A, B-- \"문자열\"",
"combine_something_exampleCode": "def when_start():\n Entry.print(\"안녕! \" + \"엔트리\")",
"combine_something_exampleDesc": "[시작하기]버튼을 클릭하면 오브젝트가 \"안녕!\"과 \"엔트리\"를 결합한 \"안녕! 엔트리\"를 말합니다.",
"char_at_desc": "A 문자열의 B번째의 글자 값입니다. (첫 번째 글자의 위치는 0부터 시작합니다.)",
"char_at_elements": "A-- \"문자열\"%nextB-- 찾고자 하는 문자열의 위치",
"char_at_exampleCode": "def when_start():\n Entry.print(\"안녕 엔트리!\"[0])",
"char_at_exampleDesc": "[시작하기]버튼을 클릭하면 오브젝트가 \"안녕 엔트리!\"의 0번째 글자인 \"안\"을 말합니다.",
"substring_desc": "A 문자열의 B위치부터 C-1위치까지의 값입니다. (첫 번째 글자의 위치는 0부터 시작합니다.)",
"substring_elements": "A-- \"문자열\"%nextB-- 포함할 문자열의 시작 위치<br>첫 번째 글자는 0부터 시작%nextC-- 문자열을 포함하지 않는 위치",
"substring_exampleCode": "def when_start():\n Entry.print(\"안녕 엔트리!\"[1:5])",
"substring_exampleDesc": "[시작하기]버튼을 클릭하면 오브젝트가 \"안녕 엔트리!\"의 1에서 4번째 글자인 \"녕 엔트\"를 말합니다.",
"index_of_string_desc": "A문자열에서 B문자열이 처음으로 등장하는 위치의 값입니다. (첫 번째 글자의 위치는 0부터 시작합니다.)",
"index_of_string_elements": "A, B-- \"문자열\"",
"index_of_string_exampleCode": "def when_start():\n Entry.print(\"안녕 엔트리!\".find(\"엔트리\"))",
"index_of_string_exampleDesc": "[시작하기]버튼을 클릭하면 오브젝트가 \"안녕 엔트리!\"에서 \"엔트리\"가 처음으로 등장하는 위치인 3을 말합니다.",
"replace_string_desc": "A 문자열에서 B문자열을 모두 찾아 C문자열로 바꾼 값입니다.<br>(영문 입력시 대소문자를 구분합니다.)",
"replace_string_elements": "A, B, C-- \"문자열\"",
"replace_string_exampleCode": "def when_start():\n Entry.print(\"안녕 엔트리!\".replace( \"안녕\", \"반가워\"))",
"replace_string_exampleDesc": "[시작하기]버튼을 클릭하면 오브젝트가 \"안녕 엔트리!\"에서 \"안녕\"을 \"반가워\"로 바꾼 \"반가워 엔트리!\"를 말합니다.",
"change_string_case_desc": "A의 모든 알파벳을 대문자 또는 소문자로 바꾼 문자값입니다.",
"change_string_case_elements": "A-- \"문자열\"<br>① A.upper(): A의 모든 알파벳을 대문자로 바꾼 값<br>② A.lower() : A의 모든 알파벳을 소문자로 바꾼 값",
"change_string_case_exampleCode": "def when_start():\n Entry.print_for_sec(\"Hello Entry!\".upper(), 2)\n Entry.print_for_sec(\"Hello Entry!\".lower(), 2)",
"change_string_case_exampleDesc": "[시작하기]버튼을 클릭하면 오브젝트가 \"Hello Entry!\"를 모두 대문자로 바꾼 \"HELLO ENTRY!\"를 2초간 말한 다음 모두 소문자로 바꾼 \"hello entry!\"를 2초간 말합니다.",
"ask_and_wait_desc": "오브젝트가 A 내용을 말풍선으로 묻고, 대답을 입력받습니다. 대답은 실행화면 또는 콘솔창에서 입력할 수 있으며 입력된 값은 'Entry.answer()'에 저장됩니다. <br>(이 명령어를 사용하면 실행화면에 ‘대답 창’이 생성됩니다.)",
"ask_and_wait_elements": "A-- \"문자열\"",
"ask_and_wait_exampleCode": "def when_start():\n Entry.input(\"이름을 입력해보세요.\")\n Entry.print(Entry.answer() + \" 반가워!\")",
"ask_and_wait_exampleDesc": "[시작하기]버튼을 클릭하면 오브젝트가 \"이름을 입력해보세요.\"라고 말풍선으로 묻습니다. 이름을 입력하면 \"(입력한 이름) 반가워!\"라 말합니다.",
"get_canvas_input_value_desc": "Entry.input(A) 명령에 의해 실행화면 또는 콘솔에서 입력받은 값입니다.",
"get_canvas_input_value_exampleCode": "def when_start():\n Entry.input(\"이름을 입력해보세요.\")\n Entry.print(Entry.answer() + \" 반가워!\")",
"get_canvas_input_value_exampleDesc": "[시작하기]버튼을 클릭하면 오브젝트가 \"이름을 입력해보세요.\"라고 말풍선으로 묻습니다. 이름을 입력하면 \"(입력한 이름) 반가워!\"라 말합니다.",
"set_visible_answer_desc": "실행화면의 대답 창을 A로 설정합니다.",
"set_visible_answer_elements": "A-- 아래 선택지 중 하나<br>① \"hide\" : 대답 창을 숨김<br>② \"show\" : 대답 창을 보임",
"set_visible_answer_exampleCode": "def when_start():\n Entry.answer_view(\"hide\")\n Entry.input(\"나이를 입력하세요.\")\n Entry.print(Entry.answer())",
"set_visible_answer_exampleDesc": "[시작하기]버튼을 클릭하면 대답창이 숨겨지고, 오브젝트가 \"나이를 입력하세요.\"라고 말풍선으로 묻습니다. 나이를 입력하면 오브젝트가 입력한 나이를 말합니다.",
"get_variable_desc": "A 변수에 저장된 값입니다.",
"get_variable_elements": "A-- 변수명<br>① 모든 오브젝트에서 사용: A<br>② 이 오브젝트에서 사용: self.A",
"get_variable_exampleCode": "age = 16\n\ndef when_start():\n Entry.print(age)",
"get_variable_exampleDesc": "age라는 변수를 만들고 그 값을 16으로 정합니다. [시작하기]버튼을 클릭하면 오브젝트가 age 변수에 들어 가 있는 값인 \"16\"을 말합니다.",
"change_variable_desc": "A 변수에 B만큼 더합니다.",
"change_variable_elements": "A-- 변수명<br>① 모든 오브젝트에서 사용: A<br>② 이 오브젝트에서 사용: self.A%nextB-- 숫자값",
"change_variable_exampleCode": "age = 16\n\ndef when_start():\n Entry.print_for_sec(age, 2)\n age += 2\n Entry.print_for_sec(age, 2)",
"change_variable_exampleDesc": "age라는 변수를 만들고 그 값을 16으로 정합니다. [시작하기]버튼을 클릭하면 오브젝트가 age 변수에 들어 가 있는 값인 \"16\"을 2초 동안 말합니다. 그 후 age변수에 2를 더하고 더한값인 \"18\"을 2초 동안 말합니다.",
"set_variable_desc": "A 변수의 값을 B로 정합니다. 만약 A 변수가 없으면 [속성] 탭에 A 변수가 자동 생성됩니다.",
"set_variable_elements": "A-- 변수명<br>① 모든 오브젝트에서 사용: A<br>② 이 오브젝트에서 사용: self.A%nextB-- 변수에 넣을 값<br>① 문자 : \"안녕!\", \"엔트리\" 등 <br>② 숫자 : 0, 10, 35 등",
"set_variable_exampleCode": "age = 16\n\ndef when_start():\n Entry.print(age)",
"set_variable_exampleDesc": "age라는 변수를 만들고 그 값을 16으로 정합니다. [시작하기]버튼을 클릭하면 오브젝트가 age 변수에 들어 가 있는 값인 \"16\"을 말합니다.",
"show_variable_desc": "A 변수 창을 실행화면에 보이게 합니다.",
"show_variable_elements": "A-- \"변수명\"<br>① 모든 오브젝트에서 사용: \"A\"<br>② 이 오브젝트에서 사용: \"self.A\"",
"show_variable_exampleCode": "age = 16\n\ndef when_start():\n Entry.hide_variable(\"age\")\n Entry.wait_for_sec(2)\n age = 20\n Entry.show_variable(\"age\")",
"show_variable_exampleDesc": "age라는 변수를 만들고 그 값을 16으로 정합니다. [시작하기]버튼을 클릭하면 age변수창을 실행화면에서 숨깁니다. 2초 후 변수값을 17로 바꾸고 age변수창을 실행화면에 보이게 합니다.",
"hide_variable_desc": "A 변수 창을 실행화면에서 숨깁니다.",
"hide_variable_elements": "A-- \"변수명\"<br>① 모든 오브젝트에서 사용: \"A\"<br>② 이 오브젝트에서 사용: \"self.A\"",
"hide_variable_exampleCode": "age = 16\n\ndef when_start():\n Entry.hide_variable(\"age\")\n Entry.print_for_sec(age, 2)",
"hide_variable_exampleDesc": "age라는 변수를 만들고 그 값을 16으로 정합니다. [시작하기]버튼을 클릭하면 age변수창을 실행화면에서 숨기고, 오브젝트가 age 변수에 들어 가 있는 값인 \"16\"을 2초 동안 말합니다.",
"value_of_index_from_list_desc": "A 리스트에서 B위치의 항목 값을 의미합니다. <br>(첫 번째 항목의 위치는 0부터 시작합니다.)",
"value_of_index_from_list_elements": "A-- 리스트명<br>① 모든 오브젝트에서 사용: A<br>② 이 오브젝트에서 사용: self.A%nextB-- 리스트 항목의 위치",
"value_of_index_from_list_exampleCode": "basket = [\"apple\", \"orange\", \"pear\", \"grape\"]\n\ndef when_start():\n Entry.print(basket[1])\n",
"value_of_index_from_list_exampleDesc": "basket이라는 리스트를 만들고 4개의 항목을 넣습니다. [시작하기]버튼을 클릭하면 오브젝트가 basket 리스트의 1번째 항목인 orange를 말합니다.",
"add_value_to_list_desc": "A 리스트의 마지막 항목으로 B값이 추가됩니다.",
"add_value_to_list_elements": "A-- 리스트명<br>① 모든 오브젝트에서 사용: A<br>② 이 오브젝트에서 사용: self.A%nextB-- 리스트에 넣을 항목 값<br>① 문자 : \"안녕!\", \"엔트리\" 등 <br>② 숫자 : 0, 10, 35 등",
"add_value_to_list_exampleCode": "basket = [\"apple\", \"orange\", \"pear\", \"grape\"]\n\ndef when_start():\n basket.append(\"juice\")\n Entry.print(basket[4])",
"add_value_to_list_exampleDesc": "basket이라는 리스트를 만들고 4개의 항목을 넣습니다. [시작하기]버튼을 클릭하면 \"juice\"를 basket의 마지막 항목으로 추가합니다. 오브젝트는 basket의 4번째 항목인 \"juice\"를 말합니다.",
"remove_value_from_list_desc": "A 리스트의 B위치에 있는 항목을 삭제합니다.<br>(첫 번째 항목의 위치는 0부터 시작합니다.)",
"remove_value_from_list_elements": "A-- 리스트명<br>① 모든 오브젝트에서 사용: A<br>② 이 오브젝트에서 사용: self.A%nextB-- 리스트 항목의 위치값",
"remove_value_from_list_exampleCode": "basket = [\"apple\", \"orange\", \"pear\", \"grape\"]\ndef when_start():\n basket.pop(0)\n Entry.print(basket[0])",
"remove_value_from_list_exampleDesc": "basket이라는 리스트를 만들고 4개의 항목을 넣습니다. [시작하기]버튼을 클릭하면 basket의 0번째 항목인 apple을 삭제합니다. 오브젝트는 새롭게 basket의 0번째 항목이 된 \"orange\"를 말합니다.",
"insert_value_to_list_desc": "A 리스트의 B위치에 C항목을 끼워 넣습니다. <br>(첫 번째 항목의 위치는 0부터 시작합니다. B위치보다 뒤에 있는 항목들은 순서가 하나씩 밀려납니다.)",
"insert_value_to_list_elements": "A-- 리스트명<br>① 모든 오브젝트에서 사용: A<br>② 이 오브젝트에서 사용: self.A%nextB-- 리스트 항목의 위치%nextC-- 리스트에 넣을 항목 값<br>① 문자 : \"안녕!\", \"엔트리\" 등 <br>② 숫자 : 0, 10, 35 등",
"insert_value_to_list_exampleCode": "basket = [\"apple\", \"orange\", \"pear\", \"grape\"]\n\ndef when_start():\n basket.insert(1, \"juice\")\n Entry.print(basket[2])",
"insert_value_to_list_exampleDesc": "basket이라는 리스트를 만들고 4개의 항목을 넣습니다. [시작하기]버튼을 클릭하면 basket의 1번째 위치에 항목 \"juice\"를 끼워 넣습니다. 오브젝트는 새롭게 basket의 2번째 항목이 된 \"orange\"를 말합니다.",
"change_value_list_index_desc": "A 리스트에서 B위치에 있는 항목의 값을 C 값으로 바꿉니다.<br>(첫 번째 항목의 위치는 0부터 시작합니다.)",
"change_value_list_index_elements": "A-- 리스트명<br>① 모든 오브젝트에서 사용: A<br>② 이 오브젝트에서 사용: self.A%nextB-- 리스트 항목의 위치%nextC-- 리스트에 넣을 항목 값<br>① 문자 : \"안녕!\", \"엔트리\" 등 <br>② 숫자 : 0, 10, 35 등",
"change_value_list_index_exampleCode": "basket = [\"apple\", \"orange\", \"pear\", \"grape\"]\n\ndef when_start():\n basket[0] = \"juice\"\n Entry.print(basket[0])",
"change_value_list_index_exampleDesc": "basket이라는 리스트를 만들고 4개의 항목을 넣습니다. [시작하기]버튼을 클릭하면 basket의 0번째 위치의 항목 \"apple\"을 \"juice\"로 바꿉니다. 오브젝트는 바뀐 basket의 0번째 항목 \"juice\"를 말합니다.",
"length_of_list_desc": "A 리스트가 보유한 항목 개수 값입니다.",
"length_of_list_elements": "A-- 리스트명<br>① 모든 오브젝트에서 사용: A<br>② 이 오브젝트에서 사용: self.A",
"length_of_list_exampleCode": "basket = [\"apple\", \"orange\", \"pear\", \"grape\"]\n\ndef when_start():\n Entry.print(len(basket))",
"length_of_list_exampleDesc": "basket이라는 리스트를 만들고 4개의 항목을 넣습니다. [시작하기]버튼을 클릭하면 오브젝트는 basket의 항목 개수인 4를 말합니다.",
"is_included_in_list_desc": "A값을 가진 항목이 B리스트에 포함되어 있는지 확인합니다.",
"is_included_in_list_elements": "A-- 리스트의 항목 값<br>① 문자 : \"안녕!\", \"엔트리\" 등 <br>② 숫자 : 0, 10, 35 등%nextB-- 리스트명<br>① 모든 오브젝트에서 사용: A<br>② 이 오브젝트에서 사용: self.A",
"is_included_in_list_exampleCode": "basket = [\"apple\", \"orange\", \"pear\", \"grape\"]\n\ndef when_start():\n if \"apple\" in basket:\n Entry.print(\"사과가 있어!\")",
"is_included_in_list_exampleDesc": "basket이라는 리스트를 만들고 4개의 항목을 넣습니다. [시작하기]버튼을 클릭하면 basket 리스트에 \"apple\"항목이 있는지 확인합니다. \"apple\"항목이 있기 때문에 오브젝트는 \"사과가 있어!\"라 말합니다.",
"show_list_desc": "선택한 리스트 창을 실행화면에 보이게 합니다.",
"show_list_elements": "A-- \"리스트명\"<br>① 모든 오브젝트에서 사용: \"A\"<br>② 이 오브젝트에서 사용: \"self.A\"",
"show_list_exampleCode": "basket = [\"apple\", \"orange\", \"pear\", \"grape\"]\n\ndef when_start():\n Entry.hide_list(\"basket\")\n Entry.wait_for_sec(2)\n Entry.show_list(\"basket\")",
"show_list_exampleDesc": "basket이라는 리스트를 만들고 4개의 항목을 넣습니다. [시작하기]버튼을 클릭하면 basket 리스트를 2초간 숨긴 다음 보여줍니다.",
"hide_list_desc": "선택한 리스트 창을 실행화면에서 숨깁니다.",
"hide_list_elements": "A-- \"리스트명\"<br>① 모든 오브젝트에서 사용: \"A\"<br>② 이 오브젝트에서 사용: \"self.A\"",
"hide_list_exampleCode": "basket = [\"apple\", \"orange\", \"pear\", \"grape\"]\n\ndef when_start():\n Entry.hide_list(\"basket\")\n Entry.wait_for_sec(2)\n Entry.show_list(\"basket\")",
"hide_list_exampleDesc": "basket이라는 리스트를 만들고 4개의 항목을 넣습니다. [시작하기]버튼을 클릭하면 basket 리스트를 2초간 숨긴 다음 보여줍니다.",
"boolean_and_or_desc": "A와 B의 판단값을 확인하여 True 또는 False로 판단합니다.",
"boolean_and_or_elements": "A, B-- True 또는 False로 판단할 수 있는 명령어 입력(판단 카테고리의 명령어)<br>① and : A와 B의 판단이 모두 True인 경우 True, 아닌 경우 False<br>② or : A와 B의 판단 중 하나라도 True인 경우 True, 아닌 경우 False",
"boolean_and_or_exampleCode": "def when_start():\n while True:\n if Entry.is_key_pressed(\"a\") and Entry.is_key_pressed(\"s\"):\n Entry.add_effect(\"color\", 10)",
"boolean_and_or_exampleDesc": "[시작하기]버튼을 클릭하고 키보드의 \"a\" 와 \"s\"키를 동시에 눌렀을 때, 색깔 효과를 10만큼 줍니다."
};
if (typeof exports == "object")
exports.Lang = Lang; | songhagwon/entry-hw | app/src/lang/ko.js | JavaScript | mit | 628,882 |
/******/ (function(modules) { // webpackBootstrap
/******/ // install a JSONP callback for chunk loading
/******/ var parentJsonpFunction = window["webpackJsonp"];
/******/ window["webpackJsonp"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) {
/******/ // add "moreModules" to the modules object,
/******/ // then flag all "chunkIds" as loaded and fire callback
/******/ var moduleId, chunkId, i = 0, resolves = [], result;
/******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]);
/******/ }
/******/ installedChunks[chunkId] = 0;
/******/ }
/******/ for(moduleId in moreModules) {
/******/ if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {
/******/ modules[moduleId] = moreModules[moduleId];
/******/ }
/******/ }
/******/ if(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);
/******/ while(resolves.length) {
/******/ resolves.shift()();
/******/ }
/******/ if(executeModules) {
/******/ for(i=0; i < executeModules.length; i++) {
/******/ result = __webpack_require__(__webpack_require__.s = executeModules[i]);
/******/ }
/******/ }
/******/ return result;
/******/ };
/******/
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // objects to store loaded and loading chunks
/******/ var installedChunks = {
/******/ 1: 0
/******/ };
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/ // This file contains only the entry chunk.
/******/ // The chunk loading function for additional chunks
/******/ __webpack_require__.e = function requireEnsure(chunkId) {
/******/ if(installedChunks[chunkId] === 0) {
/******/ return Promise.resolve();
/******/ }
/******/
/******/ // a Promise means "currently loading".
/******/ if(installedChunks[chunkId]) {
/******/ return installedChunks[chunkId][2];
/******/ }
/******/
/******/ // setup Promise in chunk cache
/******/ var promise = new Promise(function(resolve, reject) {
/******/ installedChunks[chunkId] = [resolve, reject];
/******/ });
/******/ installedChunks[chunkId][2] = promise;
/******/
/******/ // start chunk loading
/******/ var head = document.getElementsByTagName('head')[0];
/******/ var script = document.createElement('script');
/******/ script.type = 'text/javascript';
/******/ script.charset = 'utf-8';
/******/ script.async = true;
/******/ script.timeout = 120000;
/******/
/******/ if (__webpack_require__.nc) {
/******/ script.setAttribute("nonce", __webpack_require__.nc);
/******/ }
/******/ script.src = __webpack_require__.p + "" + chunkId + "-bundle.js";
/******/ var timeout = setTimeout(onScriptComplete, 120000);
/******/ script.onerror = script.onload = onScriptComplete;
/******/ function onScriptComplete() {
/******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
/******/ clearTimeout(timeout);
/******/ var chunk = installedChunks[chunkId];
/******/ if(chunk !== 0) {
/******/ if(chunk) {
/******/ chunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));
/******/ }
/******/ installedChunks[chunkId] = undefined;
/******/ }
/******/ };
/******/ head.appendChild(script);
/******/
/******/ return promise;
/******/ };
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // identity function for calling harmony imports with the correct context
/******/ __webpack_require__.i = function(value) { return value; };
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, {
/******/ configurable: false,
/******/ enumerable: true,
/******/ get: getter
/******/ });
/******/ }
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/ // on error function for async loading
/******/ __webpack_require__.oe = function(err) { console.error(err); throw err; };
/******/ })
/************************************************************************/
/******/ ([]); | smilecs/yellowpages | ui/assets/bin/common-chunks-bundle.js | JavaScript | mit | 5,857 |
module.exports = function(app) {
app.controller('FamilyTreeController', ['$scope', 'leafletData', '$http',
function($scope, leafletData, $http) {
var mapQuestKey = 'qszwthBye44A571jhqvCn4AWhTsEILRT';
// required for cypher parser
require('../../plugins/sigma.parsers.json.js');
//for loading neo4j data from database
require('../../plugins/sigma.parsers.cypher.js');
// for styling the graph with labels, sizing, colors, etc.
require('../../plugins/sigma.plugins.design.js');
// directed graph layout algorithm
require('../../plugins/sigma.layout.dagre.js');
// for making arcs on the map
// require('../../plugins/arc.js');
// sigma settings if needed
var settings = {
};
var s = new sigma({
container: 'graph-container',
settings: settings
});
// styling settings applied to graph visualization
var treeStyles = {
nodes: {
label: {
by: 'neo4j_data.name',
format: function(value) { return 'Name: ' + value; }
},
size: {
by: 'neo4j_data.nodeSize',
bins: 10,
min: 1,
max: 20
}
}
};
$scope.drawTree = function() {
$http.post('/api/draw-tree', {username: $scope.currentUser})
.then(function(res) {
var graph = sigma.neo4j.cypher_parse(res.data.results);
s.graph.read(graph);
var design = sigma.plugins.design(s);
design.setStyles(treeStyles);
design.apply();
var config = {
rankdir: 'TB'
};
var listener = sigma.layouts.dagre.configure(s, config);
listener.bind('start stop interpolate', function(event) {
console.log(event.type);
});
sigma.layouts.dagre.start(s);
s.refresh();
$scope.mapFamily();
},
function(err) {
console.log(err);
});
}; // end drawTree function
$scope.clearGraph = function() {
s.graph.clear();
};
// defaults for leaflet
angular.extend($scope, {
defaults: {
scrollWheelZoom: true,
doubleClickZoom: false,
tap: false,
tileLayer: 'http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
maxZoom: 14
},
markers: {
}
});
$scope.newRelative = {};
//gets the current user's family tree.
$scope.getTree = function() {
$http.get('/' + $scope.currentUser.id) // ROUTE?
.then(function(res) {
$scope.family = res.data;
}, function(err) {
console.log(err);
});
};
//pulls info from FORM and sends post request
$scope.addRelative = function(relative) {
//Create two arrays to pass that the backend expects.
relative.parents = [];
relative.children = [];
if(relative.parent1) relative.parents.push(relative.parent1._id);
if(relative.parent2) relative.parents.push(relative.parent2._id);
if(relative.child) relative.children.push(relative.child._id);
$http.post('/api/tree', relative)
.then(function(res) {
$scope.getUser();
$scope.clearGraph();
$scope.drawTree();
$scope.newRelative = {};
$scope.geoCodeResults = {};
}, function(err) {
console.log(err);
}
);
};
$scope.updateRelative = function(relative) {
$http.put('/api/tree', relative)
.then(function(res) {
relative.editing = false;
$scope.getUser();
$scope.clearGraph();
$scope.drawTree();
$scope.geoCodeResults = {};
},
function(err) {
console.log(err);
});
};
//checks appropriate geocoding
$scope.geoCodeResults = {};
$scope.checkBirthGeocode = function(location) {
var url = 'http://www.mapquestapi.com/geocoding/v1/address?key='
+ mapQuestKey
+ '&location=' + location
+ '&callback=JSON_CALLBACK';
$http.jsonp(url)
.success(function(data) {
$scope.geoCodeResults = data;
if (data.results[0].locations.length == 1) {
$scope.newRelative.birthCoords = //need to be put in array for Neo4j
[data.results[0].locations[0].latLng.lat,
data.results[0].locations[0].latLng.lng];
}
});
}; // End checkBirthGeocode
$scope.checkDeathGeocode = function(location) {
var url = 'http://www.mapquestapi.com/geocoding/v1/address?key='
+ mapQuestKey
+ '&location=' + location
+ '&callback=JSON_CALLBACK';
$http.jsonp(url)
.success(function(data) {
$scope.geoCodeResults = data;
if (data.results[0].locations.length == 1) {
$scope.newRelative.deathCoords = //need to be put in array for Neo4j
[data.results[0].locations[0].latLng.lat,
data.results[0].locations[0].latLng.lng];
}
});
}; // End checkDeathGeocode
$scope.mapFamily = function() {
var markers = {};
for (var i = 0; i < $scope.familyMembers.length; i++) {
if ($scope.familyMembers[i].birthCoords) {
var markerName = $scope.familyMembers[i].name + 'Birth';
markers[markerName] = {
lat: $scope.familyMembers[i].birthCoords[0],
lng: $scope.familyMembers[i].birthCoords[1],
message: 'Name: ' + $scope.familyMembers[i].name + '<br>'
+ 'Born: ' + $scope.familyMembers[i].birthLoc
+ '<br>' + $scope.familyMembers[i].birthDate
};
}
if ($scope.familyMembers[i].deathCoords && $scope.familyMembers[i].deathCoords.length) {
var markerName = $scope.familyMembers[i].name + 'Death';
markers[markerName] = {
lat: $scope.familyMembers[i].deathCoords[0],
lng: $scope.familyMembers[i].deathCoords[1],
message: 'Name: ' + $scope.familyMembers[i].name + '<br>'
+ 'Died: ' + $scope.familyMembers[i].deathLoc
+ '<br>' + $scope.familyMembers[i].deathDate
};
}
}
angular.extend($scope, {
markers: markers
});
};
$scope.editing = function(relative, bool) {
relative.editing = bool;
if(bool) {
if(relative.birthDate) {
relative.birthDate = new Date(relative.birthDate);
}
if(relative.deathDate) {
relative.deathDate = new Date(relative.deathDate);
}
}
};
}]);
};
| family-tree-project/family-tree-project | app/js/family_tree/controllers/family_tree_controller.js | JavaScript | mit | 6,968 |
"use strict";
module.exports = function(grunt) {
require("matchdep").filterDev("grunt-*").forEach(grunt.loadNpmTasks);
grunt.initConfig({
// Define Directory
dirs: {
js: "src/js",
coffee: "src/coffee",
build: "dist"
},
// Metadata
pkg: grunt.file.readJSON("package.json"),
banner:
"\n" +
"/*\n" +
" * -------------------------------------------------------\n" +
" * Project: <%= pkg.title %>\n" +
" * Version: <%= pkg.version %>\n" +
" *\n" +
" * Author: <%= pkg.author.name %>\n" +
" * Site: <%= pkg.author.url %>\n" +
" * Contact: <%= pkg.author.email %>\n" +
" *\n" +
" *\n" +
" * Copyright (c) <%= grunt.template.today(\"yyyy\") %> <%= pkg.author.name %>\n" +
" * -------------------------------------------------------\n" +
" */\n" +
"\n",
// Compile CoffeeScript
coffee: {
compileBare: {
options: {
bare: true
},
files: {
"<%= dirs.js %>/Tabu.js" : "<%= dirs.coffee %>/Tabu.coffee"
}
}
},
// Minify and Concat archives
uglify: {
options: {
mangle: false,
banner: "<%= banner %>"
},
dist: {
files: {
"<%= dirs.build %>/Tabu.min.js": "<%= dirs.js %>/Tabu.js"
}
}
},
// Notifications
notify: {
coffee: {
options: {
title: "CoffeeScript - <%= pkg.title %>",
message: "Compiled and minified with success!"
}
},
js: {
options: {
title: "Javascript - <%= pkg.title %>",
message: "Minified and validated with success!"
}
}
}
});
// Register Taks
// --------------------------
// Observe changes, concatenate, minify and validate files
grunt.registerTask( "default", [ "coffee", "notify:coffee", "uglify", "notify:js" ]);
}; | posixpascal/tabu | Gruntfile.js | JavaScript | mit | 2,238 |
import typescript from 'rollup-plugin-typescript'
import bundleWorker from 'rollup-plugin-bundle-worker'
export default {
input: 'src/index.ts',
output: {
file: 'docs/nonogram.js',
format: 'iife',
},
name: 'nonogram',
plugins: [
typescript({ typescript: require('typescript') }),
bundleWorker(),
],
}
| HandsomeOne/Nonogram | rollup.config.js | JavaScript | mit | 330 |
var path = require('path')
ScrewTurnPageFile.LATEST = -1
ScrewTurnPageFile.compare = compare
ScrewTurnPageFile.prototype.isLatest = isLatest
ScrewTurnPageFile.prototype.compareTo = compareTo
function ScrewTurnPageFile(filename) {
var revision = getRevision(filename)
, title = getTitle(filename)
this.__defineGetter__('filename', function() {
return filename
})
this.__defineGetter__('title', function() {
return title
})
this.__defineGetter__('revision', function() {
return revision
})
}
function getRevision(filename) {
var basename = path.basename(filename, '.cs')
, offset = basename.indexOf('.')
, revision = offset >= 0 ? parseInt(basename.substr(offset + 1), 10) : ScrewTurnPageFile.LATEST
return revision
}
function getTitle(filename) {
var basename = path.basename(filename, 'cs')
, offset = basename.indexOf('.')
, title = offset >= 0 ? basename.substr(0, offset) : basename
return title
}
function isLatest() {
return this.revision === ScrewTurnPageFile.LATEST
}
function compareTo(item) {
return compare(this, item)
}
function compare(a, b) {
if(a.title < b.title)
return -1
else if(a.title > b.title)
return 1
else if(a.revision === ScrewTurnPageFile.LATEST)
return 1
else if(b.revision === ScrewTurnPageFile.LATEST)
return -1
return a.revision - b.revision
}
module.exports = ScrewTurnPageFile | Cyberitas/ScrewturnToMediawiki | lib/model/ScrewTurnPageFile.js | JavaScript | mit | 1,480 |
'use strict';
var gulp = require( 'gulp' );
var fontmin = require( 'gulp-fontmin' );
var path = require( '../../paths.js' );
gulp.task( 'fonts', function( )
{
return gulp.src( path.to.fonts.source )
.pipe( fontmin( )
.pipe( gulp.dest( path.to.fonts.destination ) ) );
} );
| awanderingorill/morph_frontend | gulp/tasks/default/fonts.js | JavaScript | mit | 311 |
var http = require('http'),
fs = require('fs');
var people = {};
//var port = process.env.OPENSHIFT_NODEJS_PORT || "1337";
var port = "1337";
//var serverUrl = process.env.OPENSHIFT_NODEJS_IP || "127.0.0.1";
var serverUrl = "127.0.0.1";
var app = http.createServer(function (request, response)
{
//console.log("Server request: " + request.url)
fs.readFile("chat.html", 'utf-8', function (error, data) {
response.writeHead(200, {'Content-Type': 'text/html'});
response.write(data);
response.end();
});
}).listen(port, serverUrl);
console.log("Listening at " + serverUrl + ":" + port);
var io = require('socket.io').listen(app);
io.sockets.on('connection', function(client) {
client.emit('connected');
client.on("join", function(name){
people[client.id] = {name:name, html:'<span onclick="msgTo(\''+client.id+'\')" title="Type a message and click here to send in private">'+name+'</span>'}; //data["name"];
io.sockets.to(client.id).emit('messageMe', 'Server', 'You have connected.');
io.sockets.emit("update", name + " has joined the server.")
io.sockets.emit("update-people", people);
console.log("New join: " + name);
});
client.on('sendTo', function(id, msg, name){
if (people[client.id] == undefined || people[client.id] == null)
{
people[client.id] = {name:name, html:'<span onclick="msgTo(\''+client.id+'\')" title="Type a message and click here to send in private">'+name+'</span>'}; //data["name"];
io.sockets.to(client.id).emit('messageMe', 'Server', 'You have connected.');
io.sockets.emit("update", name + " has joined the server.")
io.sockets.emit("update-people", people);
console.log("New join: " + name);
}
io.sockets.to(id).emit('messageMe', people[client.id]["name"] + '<span style="color:red"> in PVT</span>', msg);
io.sockets.to(client.id).emit('messageMe', people[client.id]["name"] + '<span style="color:red"> in PVT</span>', msg);
});
client.on("sendAll", function(msg, name){
if (people[client.id] == undefined || people[client.id] == null)
{
people[client.id] = {name:name, html:'<span onclick="msgTo(\''+client.id+'\')" title="Type a message and click here to send in private">'+name+'</span>'}; //data["name"];
io.sockets.to(client.id).emit('messageMe', 'Server', 'You have connected.');
io.sockets.emit("update", name + " has joined the server.")
io.sockets.emit("update-people", people);
console.log("New join: " + name);
}
//console.log("Send message by " + people[client.id] + ": " + msg);
io.sockets.emit("chat", people[client.id]["name"], msg);
});
client.on("disconnect", function(){
if (people[client.id] != undefined){
io.sockets.emit("update", people[client.id]["name"] + " has left the server.");
console.log(people[client.id]["name"] + " was disconnected")
delete people[client.id];
io.sockets.emit("update-people", people);
}
});
}); | cdcunha/simplechat | server.js | JavaScript | mit | 2,929 |
// Here is where you can define configuration overrides based on the execution environment.
// Supply a key to the default export matching the NODE_ENV that you wish to target, and
// the base configuration will apply your overrides before exporting itself.
export default {
// ======================================================
// Overrides when NODE_ENV === 'development'
// ======================================================
// NOTE: In development, we use an explicit public path when the assets
// are served webpack by to fix this issue:
// http://stackoverflow.com/questions/34133808/webpack-ots-parsing-error-loading-fonts/34133809#34133809
development: (config) => ({
compiler_public_path: `http://${config.server_host}:${config.server_port}/`,
proxy: {
enabled: false,
options: {
host: 'http://localhost:8000',
match: /^\/api\/.*/
}
}
}),
// ======================================================
// Overrides when NODE_ENV === 'production'
// ======================================================
production: (config) => ({
compiler_public_path: '/',
compiler_fail_on_warning: false,
compiler_hash_type: 'chunkhash',
compiler_devtool: null,
compiler_stats: {
chunks: true,
chunkModules: true,
colors: true
}
})
};
| Edmondton/weather-forecasts | config/environments.js | JavaScript | mit | 1,292 |
/* globals Mustache */
var NAILS_Admin_CMS_Menus_Create_Edit;
NAILS_Admin_CMS_Menus_Create_Edit = function(items) {
/**
* Avoid scope issues in callbacks and anonymous functions by referring to `this` as `base`
* @type {Object}
*/
var base = this;
// --------------------------------------------------------------------------
/**
* The item's template
* @type {String}
*/
base.itemTemplate = '';
/**
* The length of the ID to generate
* @type {Number}
*/
base.idLength = 32;
// --------------------------------------------------------------------------
/**
* Constructs the edit page
* @param {array} items The menu items
* @return {void}
*/
base.__construct = function(items) {
base.itemTemplate = $('#template-item').html();
// Init NestedSortable
$('div.nested-sortable').each(function() {
var sortable, container, html, target;
// Get the sortable item
sortable = $(this);
// Get the container
container = sortable.children('ol.nested-sortable').first();
// Build initial menu items
for (var key in items) {
if (items.hasOwnProperty(key)) {
html = Mustache.render(base.itemTemplate, items[key]);
// Does this have a parent? If so then we need to append it there
if (items[key].parent_id !== null && items[key].parent_id !== '') {
// Find the parent and append to it's <ol class="nested-sortable-sub">
target = $('li.target-' + items[key].parent_id + ' ol.nested-sortable-sub').first();
if (target.length === 0) {
target = container;
}
} else {
target = container;
}
target.append(html);
// If the page_id is set, then make sure it's selected in the dropdown
if (parseInt(items[key].page_id, 10) > 0) {
target.find('li:last option[value=' + items[key].page_id + ']').prop('selected', true);
}
}
}
// --------------------------------------------------------------------------
// Sortitize!
container.nestedSortable({
'handle': 'div.handle',
'items': 'li',
'toleranceElement': '> div',
'stop': function() {
// Update parents
base.updateParentIds(container);
}
});
// --------------------------------------------------------------------------
// Bind to add button
sortable.find('a.add-item').on('click', function() {
var _data = {
id: base.generateId()
};
var html = Mustache.render(base.itemTemplate, _data);
container.append(html);
return false;
});
});
// --------------------------------------------------------------------------
// Bind to remove buttons
$(document).on('click', 'a.item-remove', function() {
var _obj = $(this);
$('<div>')
.html('<p>This will remove this menu item (and any children) from the interface.</p><p>You will still need to "Save Changes" to commit the removal</p>')
.dialog(
{
title: 'Are you sure?',
resizable: false,
draggable: false,
modal: true,
dialogClass: "no-close",
buttons:
{
OK: function() {
_obj.closest('li.target').remove();
$(this).dialog("close");
},
Cancel: function() {
$(this).dialog("close");
}
}
})
.show();
return false;
});
};
// --------------------------------------------------------------------------
/**
* Updates each menu item's parent ID field
* @param {Object} container The container object to restrict to
* @return {void}
*/
base.updateParentIds = function(container) {
$('input.input-parent_id', container).each(function() {
var parentId = $(this).closest('ol').closest('li').data('id');
$(this).val(parentId);
});
};
// --------------------------------------------------------------------------
/**
* Generates a unique ID for the page
* @return {String}
*/
base.generateId = function() {
var chars, idStr;
chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789';
do {
idStr = 'newid-';
for (var i = base.idLength; i > 0; --i) {
idStr += chars[Math.round(Math.random() * (chars.length - 1))];
}
} while ($('li.target-' + idStr).length > 0);
return idStr;
};
// --------------------------------------------------------------------------
return base.__construct(items);
}; | nailsapp/module-cms | assets/js/admin.menus.edit.js | JavaScript | mit | 5,646 |
import React, { PureComponent } from 'react';
import PropTypes from 'prop-types';
import { Animated, StyleSheet } from 'react-native';
import { H6 } from '@ui/typography';
import styled from '@ui/styled';
export const LabelText = styled(({ theme }) => ({
color: theme.colors.text.secondary,
backgroundColor: 'transparent',
paddingVertical: theme.sizing.baseUnit / 4,
}), 'FloatingLabel.LabelText')(H6);
const styles = StyleSheet.create({
floatLabelView: {
position: 'absolute',
bottom: 0,
top: 0,
justifyContent: 'center',
},
});
class FloatingLabel extends PureComponent {
static propTypes = {
children: PropTypes.node,
animation: PropTypes.shape({
interpolate: PropTypes.func,
}),
scaleSize: PropTypes.number, // how much smaller to make label when focused
floatingOpacity: PropTypes.number,
};
static defaultProps = {
animation: new Animated.Value(0),
scaleSize: 0.8,
floatingOpacity: 0.8,
};
state = {
labelWidth: 0,
labelHeight: 0,
};
handleLayout = ({ nativeEvent: { layout } }) => {
this.setState({
labelWidth: layout.width,
labelHeight: layout.height,
});
};
render() {
const scaledWidth = this.state.labelWidth * (1.05 - this.props.scaleSize);
const sideScaledWidth = scaledWidth / 2;
const scale = this.props.animation.interpolate({
inputRange: [0, 1],
outputRange: [1, this.props.scaleSize],
});
const opacity = this.props.animation.interpolate({
inputRange: [0, 1],
outputRange: [1, this.props.floatingOpacity],
});
const translateY = this.props.animation.interpolate({
inputRange: [0, 1],
outputRange: [0, -(this.state.labelHeight * 0.7)],
});
const translateX = this.props.animation.interpolate({
inputRange: [0, 1],
outputRange: [0, -sideScaledWidth],
});
const wrapperStyles = {
transform: [{ scale }, { translateX }, { translateY }],
opacity,
};
return (
<Animated.View
pointerEvents="none"
onLayout={this.handleLayout}
style={[styles.floatLabelView, wrapperStyles]}
>
<LabelText>
{this.props.children}
</LabelText>
</Animated.View>
);
}
}
export default FloatingLabel;
| NewSpring/Apollos | src/@ui/inputs/FloatingLabel.js | JavaScript | mit | 2,292 |
//= require wow
//= require formvalidation.min
//= require formvalidation/framework/bootstrap.min
//= require formvalidation/language/pt_BR
//= require_self
//= require_tree ./autoload
| Bit-Bahia/bitbahia-rails | app/assets/javascripts/application.js | JavaScript | mit | 185 |
// Load in dependencies
var exec = require('./utils').exec;
// Helper function to collect information about a window
function windowInfo(id) {
// Get active window and window info
// http://unix.stackexchange.com/questions/61037/how-to-resize-application-windows-in-an-arbitrary-direction-not-vertical-and-no
var info = {
width: +exec("xwininfo -id " + id + " | grep Width | cut --delimiter ' ' --fields 4"),
height: +exec("xwininfo -id " + id + " | grep Height | cut --delimiter ' ' --fields 4"),
left: +exec("xwininfo -id " + id + " | grep 'Absolute upper-left X' | cut --delimiter ' ' --fields 7"),
top: +exec("xwininfo -id " + id + " | grep 'Absolute upper-left Y' | cut --delimiter ' ' --fields 7")
};
var state = exec('xprop -id ' + id + ' | grep _NET_WM_STATE'),
isHorzMaximized = state.match('_NET_WM_STATE_MAXIMIZED_HORZ');
// wmctrl resizes left +3 and top +24 to account for borders
// Adjust info back
info.top -= 24;
info.height += 24;
// If we are not horizontally maxed out, adjust for horizontal border
// DEV: The vertical border is always present
if (!isHorzMaximized) {
info.left -= 3;
info.width += 3;
}
// TODO: Should do some tests against chrome since borderless might not apply
// Return the info
return info;
}
// Expose windowInfo
module.exports = windowInfo; | metainfa/controlpad | lib/windowInfo.js | JavaScript | mit | 1,354 |
(function() {
var devices = {};
$.subscribe('ninja.data', function(topic, d) {
console.log("Got some data", d);
if (!devices[d.G]) {
$.publish('mappu.zone', d.G);
devices[d.G] = true;
}
var age = new Date().getTime() - d.DA.timestamp;
$.publish('mappu.alarm.'+d.G, d.DA.Alarm1, age, d.DA.timestamp);
$.publish('mappu.battery.'+d.G, d.DA.Battery, age, d.DA.timestamp);
$.publish('mappu.tamper.'+d.G, d.DA.Tamper, age, d.DA.timestamp);
});
})();
| ninjablocks/occupy-office | app/src/DeviceStore.js | JavaScript | mit | 502 |
import Octicon from '../components/Octicon.vue'
Octicon.register({"file-zip":{"width":12,"height":16,"d":"M8.5 1H1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V4.5L8.5 1zM11 14H1V2h3v1h1V2h3l3 3v9zM5 4V3h1v1H5zM4 4h1v1H4V4zm1 2V5h1v1H5zM4 6h1v1H4V6zm1 2V7h1v1H5zM4 9.28A2 2 0 0 0 3 11v1h4v-1a2 2 0 0 0-2-2V8H4v1.28zM6 10v1H4v-1h2z"}})
| Justineo/vue-octicon | src/icons/file-zip.js | JavaScript | mit | 339 |
version https://git-lfs.github.com/spec/v1
oid sha256:57f07eb24fc71a0deb80c59e16d9ba40da0e8cb6fe6b9156fd85cc14f56c8f8a
size 2663
| yogeshsaroya/new-cdnjs | ajax/libs/ace/1.1.01/theme-merbivore_soft.js | JavaScript | mit | 129 |
import configureUrlQuery from '../configureUrlQuery';
import urlQueryConfig from '../urlQueryConfig';
it('updates the singleton query object', () => {
configureUrlQuery({ test: 99 });
expect(urlQueryConfig.test).toBe(99);
configureUrlQuery({ history: 123 });
expect(urlQueryConfig.history).toBe(123);
expect(urlQueryConfig.test).toBe(99);
});
it('does not break on undefined options', () => {
configureUrlQuery();
expect(Object.keys(urlQueryConfig).length).toBeGreaterThan(0);
});
it('configures entrySeparator and keyValSeparator global values', () => {
expect(urlQueryConfig.entrySeparator).toBe('_');
expect(urlQueryConfig.keyValSeparator).toBe('-');
configureUrlQuery({ entrySeparator: '__' });
expect(urlQueryConfig.entrySeparator).toBe('__');
expect(urlQueryConfig.keyValSeparator).toBe('-');
configureUrlQuery({ keyValSeparator: '--' });
expect(urlQueryConfig.entrySeparator).toBe('__');
expect(urlQueryConfig.keyValSeparator).toBe('--');
// Reset so it does not effect other tests
configureUrlQuery({ entrySeparator: '_', keyValSeparator: '-' });
});
| pbeshai/react-url-query | src/__tests__/configureUrlQuery-test.js | JavaScript | mit | 1,100 |
'use strict';
angular
.module('personalWebsiteApp', [
'ngResource',
'ngRoute',
'ngAnimate',
'animatedBirdsDirective',
'scrollAnimDirective',
'swfTemplateDirective'
])
.config(['$routeProvider', function ($routeProvider) {
$routeProvider
.when('/', {
templateUrl: 'views/main.html',
controller: 'MainCtrl'
})
.when('/about', {
templateUrl: 'views/about.html'
})
.when('/resume', {
templateUrl: 'views/resume.html'
})
.when('/work', {
templateUrl: 'views/portfolio.html'
})
.when('/identity-design-case-study-rangleio', {
templateUrl: 'views/portfolio/identity-design-case-study-rangleio.html'
})
.when('/aid85', {
templateUrl: 'views/portfolio/aid85.html'
})
.otherwise({
redirectTo: '/'
});
}]);
| Homa/personal-website | app/scripts/app.js | JavaScript | mit | 883 |
define(['mousetrap'], function(Mousetrap){
'use strict';
var utils = require('util'),
instances = []
;
function IframeMousetrap(a){
var self = new Mousetrap(a);
/*self._instanceId = instances.push(this);
self._originalHandleKey = this._handleKey;
self._handleKey = IframeMousetrap.prototype._handleKey;*/
self.handleKey = IframeMousetrap.prototype.handleKey;
self.shutdown = IframeMousetrap.prototype.shutdown;
return self;
}
IframeMousetrap.prototype.shutdown = function() {
this._handleKey = function(){}; //:(
};
IframeMousetrap.prototype.handleKey = function() {
return Mousetrap.handleKey.apply(Mousetrap, arguments);
};
return IframeMousetrap;
}); | danyg/Scrum4Display | app/js/IframeMousetrap.js | JavaScript | mit | 724 |
'use strict';
const EmberApp = require('./ember-app');
/**
* FastBoot renders your Ember.js applications in Node.js. Start by
* instantiating this class with the path to your compiled Ember app:
*
*
* #### Sandboxing
*
* For security and correctness reasons, Ember applications running in FastBoot
* are run inside a sandbox that prohibits them from accessing the normal
* Node.js environment.
*
* This sandbox is the built-in `VMSandbox` class, which uses
* Node's `vm` module. You may add and/or override sandbox variables by
* passing the `addOrOverrideSandboxGlobals` option.
*
* @example
* const FastBoot = require('fastboot');
*
* let app = new FastBoot({
* distPath: 'path/to/dist',
* buildSandboxGlobals(globals) {
* return Object.assign({}, globals, {
* // custom globals
* });
* },
* });
*
* app.visit('/photos')
* .then(result => result.html())
* .then(html => res.send(html));
*/
class FastBoot {
/**
* Create a new FastBoot instance.
*
* @param {Object} options
* @param {string} options.distPath the path to the built Ember application
* @param {Boolean} [options.resilient=false] if true, errors during rendering won't reject the `visit()` promise but instead resolve to a {@link Result}
* @param {Function} [options.buildSandboxGlobals] a function used to build the final set of global properties setup within the sandbox
* @param {Number} [options.maxSandboxQueueSize] - maximum sandbox queue size when using buildSandboxPerRequest flag.
*/
constructor(options = {}) {
let { distPath, buildSandboxGlobals, maxSandboxQueueSize } = options;
this.resilient = 'resilient' in options ? Boolean(options.resilient) : false;
this.distPath = distPath;
// deprecate the legacy path, but support it
if (buildSandboxGlobals === undefined && options.sandboxGlobals !== undefined) {
console.warn(
'[DEPRECATION] Instantiating `fastboot` with a `sandboxGlobals` option has been deprecated. Please migrate to specifying `buildSandboxGlobals` instead.'
);
buildSandboxGlobals = globals => Object.assign({}, globals, options.sandboxGlobals);
}
this.buildSandboxGlobals = buildSandboxGlobals;
this.maxSandboxQueueSize = maxSandboxQueueSize;
this._buildEmberApp(this.distPath, this.buildSandboxGlobals, maxSandboxQueueSize);
}
/**
* Renders the Ember app at a specific URL, returning a promise that resolves
* to a {@link Result}, giving you access to the rendered HTML as well as
* metadata about the request such as the HTTP status code.
*
* @param {string} path the URL path to render, like `/photos/1`
* @param {Object} options
* @param {Boolean} [options.resilient] whether to reject the returned promise if there is an error during rendering. Overrides the instance's `resilient` setting
* @param {string} [options.html] the HTML document to insert the rendered app into. Uses the built app's index.html by default.
* @param {Object} [options.metadata] per request meta data that need to be exposed in the app.
* @param {Boolean} [options.shouldRender] whether the app should do rendering or not. If set to false, it puts the app in routing-only.
* @param {Boolean} [options.disableShoebox] whether we should send the API data in the shoebox. If set to false, it will not send the API data used for rendering the app on server side in the index.html.
* @param {Integer} [options.destroyAppInstanceInMs] whether to destroy the instance in the given number of ms. This is a failure mechanism to not wedge the Node process (See: https://github.com/ember-fastboot/fastboot/issues/90)
* @param {Boolean} [options.buildSandboxPerVisit=false] whether to create a new sandbox context per-visit (slows down each visit, but guarantees no prototype leakages can occur), or reuse the existing sandbox (faster per-request, but each request shares the same set of prototypes)
* @returns {Promise<Result>} result
*/
async visit(path, options = {}) {
let resilient = 'resilient' in options ? options.resilient : this.resilient;
let result = await this._app.visit(path, options);
if (!resilient && result.error) {
throw result.error;
} else {
return result;
}
}
/**
* Destroy the existing Ember application instance, and recreate it from the provided dist path.
* This is commonly done when `dist` has been updated, and you need to prepare to serve requests
* with the updated assets.
*
* @param {Object} options
* @param {string} options.distPath the path to the built Ember application
*/
reload({ distPath }) {
if (this._app) {
this._app.destroy();
}
this._buildEmberApp(distPath);
}
_buildEmberApp(
distPath = this.distPath,
buildSandboxGlobals = this.buildSandboxGlobals,
maxSandboxQueueSize = this.maxSandboxQueueSize
) {
if (!distPath) {
throw new Error(
'You must instantiate FastBoot with a distPath ' +
'option that contains a path to a dist directory ' +
'produced by running ember fastboot:build in your Ember app:' +
'\n\n' +
'new FastBootServer({\n' +
" distPath: 'path/to/dist'\n" +
'});'
);
}
this.distPath = distPath;
this._app = new EmberApp({
distPath,
buildSandboxGlobals,
maxSandboxQueueSize,
});
}
}
module.exports = FastBoot;
| ember-fastboot/ember-cli-fastboot | packages/fastboot/src/index.js | JavaScript | mit | 5,462 |
//# sourceURL=add.js
$(function () {
$("#frm").jValidate({
rules:{
name:{
required:true,
minlength:2,
maxlength:32,
stringCheck:true
},
code:{
required:true,
minlength:2,
maxlength:64,
pattern:/^\w{2,32}$/,
checkRepeat1:["/admin/system/courier/checkCode",'$value']
},
cost:{
money:true
},
address:{
minlength:2,
maxlength:64
},
linkman:{
minlength:2,
maxlength:32
},
linkphone:{
checkPhone:true,
minlength:8,
maxlength:32
},
email:{
email:true,
minlength:8,
maxlength:32
},
remark:{
minlength:2,
maxlength:128
}
},
messages:{
code:{
checkRepeat1:"快递公司编码已经存在",
pattern:'快递公司编码无效'
}
}
});
$('#save').click(function () {
var valid=$("#frm").valid();
if(!valid) return;
$.jAjax({
url:'/admin/system/courier/add',
data:$('#frm').formData(),
method:'post',
success:function(data){
if($.isPlainObject(data) && data.id>0){
$.notice('快递公司保存成功');
$('#frm').resetForm();
}
}
})
});
$('#reset').click(function(){
$('#frm').resetForm();
})
}) | jiangysh/51z10 | public/javascripts/admin/system/courier/add.js | JavaScript | mit | 1,813 |
/* ========================================================================
* ZUI: browser.js
* http://zui.sexy
* ========================================================================
* Copyright (c) 2014 cnezsoft.com; Licensed MIT
* ======================================================================== */
(function(window, $)
{
'use strict';
var browseHappyTip = {
'zh_cn': '您的浏览器版本过低,无法体验所有功能,建议升级或者更换浏览器。 <a href="http://browsehappy.com/" target="_blank" class="alert-link">了解更多...</a>',
'zh_tw': '您的瀏覽器版本過低,無法體驗所有功能,建議升級或者更换瀏覽器。<a href="http://browsehappy.com/" target="_blank" class="alert-link">了解更多...</a>',
'en': 'Your browser is too old, it has been unable to experience the colorful internet. We strongly recommend that you upgrade a better one. <a href="http://browsehappy.com/" target="_blank" class="alert-link">Learn more...</a>'
};
// The browser modal class
var Browser = function()
{
var isIE = this.isIE;
var ie = isIE();
if (ie)
{
for (var i = 10; i > 5; i--)
{
if (isIE(i))
{
ie = i;
break;
}
}
}
this.ie = ie;
this.cssHelper();
};
// Append CSS class to html tag
Browser.prototype.cssHelper = function()
{
var ie = this.ie,
$html = $('html');
$html.toggleClass('ie', ie)
.removeClass('ie-6 ie-7 ie-8 ie-9 ie-10');
if (ie)
{
$html.addClass('ie-' + ie)
.toggleClass('gt-ie-7 gte-ie-8 support-ie', ie >= 8)
.toggleClass('lte-ie-7 lt-ie-8 outdated-ie', ie < 8)
.toggleClass('gt-ie-8 gte-ie-9', ie >= 9)
.toggleClass('lte-ie-8 lt-ie-9', ie < 9)
.toggleClass('gt-ie-9 gte-ie-10', ie >= 10)
.toggleClass('lte-ie-9 lt-ie-10', ie < 10);
}
};
// Show browse happy tip
Browser.prototype.tip = function()
{
if (this.ie && this.ie < 8)
{
var $browseHappy = $('#browseHappyTip');
if (!$browseHappy.length)
{
$browseHappy = $('<div id="browseHappyTip" class="alert alert-dismissable alert-danger alert-block" style="position: relative; z-index: 99999"><button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button><div class="container"><div class="content text-center"></div></div></div>');
$browseHappy.prependTo('body');
}
$browseHappy.find('.content').html(this.browseHappyTip || browseHappyTip[$.clientLang() || 'zh_cn']);
}
};
// Detect it is IE, can given a version
Browser.prototype.isIE = function(version)
{
// var ie = /*@cc_on !@*/false;
var b = document.createElement('b');
b.innerHTML = '<!--[if IE ' + (version || '') + ']><i></i><![endif]-->';
return b.getElementsByTagName('i').length === 1;
};
// Detect ie 10 with hack
Browser.prototype.isIE10 = function()
{
return ( /*@cc_on!@*/ false);
};
window.browser = new Browser();
$(function()
{
if (!$('body').hasClass('disabled-browser-tip'))
{
window.browser.tip();
}
});
}(window, jQuery));
| 404904728/ui_zui | src/js/browser.js | JavaScript | mit | 3,528 |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.flushCacheConfiguration = exports.getCacheConfiguration = exports.loadCacheConfigurations = exports.setCacheConfiguration = undefined;
var _stringify = require('babel-runtime/core-js/json/stringify');
var _stringify2 = _interopRequireDefault(_stringify);
var _keys = require('babel-runtime/core-js/object/keys');
var _keys2 = _interopRequireDefault(_keys);
var _typeof2 = require('babel-runtime/helpers/typeof');
var _typeof3 = _interopRequireDefault(_typeof2);
var _promise = require('babel-runtime/core-js/promise');
var _promise2 = _interopRequireDefault(_promise);
var _serverSideReactNative = require('./server-side-react-native');
var _constants = require('../constants');
var _constants2 = _interopRequireDefault(_constants);
var _stringToJson = require('string-to-json');
var _stringToJson2 = _interopRequireDefault(_stringToJson);
var _flat = require('flat');
var _flat2 = _interopRequireDefault(_flat);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
// var settleVersioning = function (original, update) {
// if (!original.versions) return true;
// if (typeof original.versions.theme !== 'string' || typeof original.versions.reactadmin !== 'string') return true;
// if (!update.versions) return true;
// let themeOutofDate = (typeof update.versions.theme === 'string') ? semver.lt(original.versions.theme, update.versions.theme) : false;
// let reactadminOutofDate = (typeof update.versions.reactadmin === 'string') ? semver.lt(original.versions.reactadmin, update.versions.reactadmin) : false;
// return (themeOutofDate || reactadminOutofDate);
// };
// var handleConfigurationAssigment = function (original, update) {
// if (original && settleVersioning(original, update)) {
// original = Object.assign({}, update);
// } else if (!original) {
// original = Object.assign({}, update);
// }
// return original;
// };
// var handleConfigurationVersioning = function (data, type, options = {}) {
// if (!type) throw new Error('Configurations must have a specified type');
// let configuration;
// try {
// configuration = JSON.parse(data.configuration) || {};
// } catch (e) {
// configuration = {};
// }
// configuration = flatten(configuration || {}, { safe: true, maxDepth: options.depth || 2, });
// if (options.multi === true) {
// if (typeof type === 'string') {
// configuration[type] = Object.keys(data).reduce((result, key) => {
// result[key] = handleConfigurationAssigment(result[key], Object.assign(data[key].data.settings, { versions: data.versions, }));
// return result;
// }, configuration[type] || {});
// } else if (type && typeof type === 'object') {
// configuration = Object.keys(data).reduce((result, key) => {
// if (type[key]) result[type[key]] = handleConfigurationAssigment(result[type[key]], Object.assign(data[key].data.settings, { versions: data.versions, }));
// return result;
// }, configuration || {});
// }
// } else {
// configuration[type] = handleConfigurationAssigment(configuration[type], Object.assign(data.settings, { versions: data.versions, }));
// }
// return str2json.convert(configuration);
// };
// import semver from 'semver';
var setCacheConfiguration = exports.setCacheConfiguration = function setCacheConfiguration(fn, type) {
var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
return function () {
var invoked = fn.apply(undefined, arguments);
// if (invoked && typeof invoked.then === 'function' && typeof invoked.catch === 'function') {
// return invoked
// .then(result => {
// let settings = result.data.settings;
// return AsyncStorage.getItem(constants.cache.CONFIGURATION_CACHE)
// .then(_result => {
// _result = { configuration: _result, versions: result.data.versions, };
// if (options.multi) return Object.assign(_result, settings);
// return Object.assign(_result, { settings: settings, });
// }, e => Promise.reject(e));
// })
// .then(result => handleConfigurationVersioning(result, type, options))
// .then(result => {
// // console.log({ type, result, });
// return AsyncStorage.setItem(constants.cache.CONFIGURATION_CACHE, JSON.stringify(result))
// .then(() => result, e => Promise.reject(e));
// })
// .catch(e => Promise.reject(e));
// }
return invoked;
};
};
var loadCacheConfigurations = exports.loadCacheConfigurations = function loadCacheConfigurations() {
return _serverSideReactNative.AsyncStorage.getItem(_constants2.default.cache.CONFIGURATION_CACHE).then(function (result) {
try {
return JSON.parse(result) || {};
} catch (e) {
return {};
}
}).catch(function (e) {
return _promise2.default.reject(e);
});
};
var getCacheConfiguration = exports.getCacheConfiguration = function getCacheConfiguration() {
var actions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
return function (dispatch) {
return _serverSideReactNative.AsyncStorage.getItem(_constants2.default.cache.CONFIGURATION_CACHE).then(function (result) {
try {
return JSON.parse(result) || {};
} catch (e) {
return {};
}
}).then(function (result) {
if (result.manifest) {
if (result.manifest.authenticated && actions.manifest && actions.manifest.receivedManifestData) dispatch(actions.manifest.receivedManifestData(result.manifest.authenticated));
if (result.manifest.unauthenticated && actions.manifest && actions.manifest.unauthenticatedReceivedManifestData) dispatch(actions.manifest.unauthenticatedReceivedManifestData(result.manifest.unauthenticated));
}
if (result.user) {
if (result.user.preferences && actions.user && actions.user.preferenceSuccessResponse) {
dispatch(actions.user.preferenceSuccessResponse({
data: {
settings: result.user.preferences
}
}));
}
if (result.user.navigation && actions.user && actions.user.navigationSuccessResponse) {
dispatch(actions.user.navigationSuccessResponse({
data: {
settings: result.user.navigation
}
}));
}
}
if (result.components) {
if (result.components.login && actions.components && actions.components.setLoginComponent) {
dispatch(actions.components.setLoginComponent({
data: {
settings: result.components.login
}
}));
}
if (result.components.error && actions.components && actions.components.setErrorComponent) {
dispatch(actions.components.setErrorComponent({
data: {
settings: result.components.error
}
}));
}
if (result.components.main && actions.components && actions.components.setMainComponent) {
dispatch(actions.components.setMainComponent({
data: {
settings: result.components.main
}
}));
}
}
}).catch(function (e) {
return _promise2.default.reject(e);
});
};
};
var flushCacheConfiguration = exports.flushCacheConfiguration = function flushCacheConfiguration(toRemove) {
if (!toRemove) return _serverSideReactNative.AsyncStorage.removeItem(_constants2.default.cache.CONFIGURATION_CACHE);
return _serverSideReactNative.AsyncStorage.getItem(_constants2.default.cache.CONFIGURATION_CACHE).then(function (result) {
try {
return (0, _flat2.default)(JSON.parse(result), { safe: true, maxDepth: 2 }) || {};
} catch (e) {
return {};
}
}).then(function (result) {
if (typeof toRemove === 'string' && result[toRemove]) delete result[toRemove];else if (toRemove && (typeof toRemove === 'undefined' ? 'undefined' : (0, _typeof3.default)(toRemove)) === 'object') {
(0, _keys2.default)(toRemove).forEach(function (key) {
if (result[toRemove[key]]) delete result[toRemove[key]];
});
}
return _serverSideReactNative.AsyncStorage.setItem(_constants2.default.cache.CONFIGURATION_CACHE, (0, _stringify2.default)(_stringToJson2.default.convert(result)));
}).catch(function (e) {
return _promise2.default.reject(e);
});
}; | typesettin/periodicjs.ext.reactadmin | adminclient/_src/util/cache_configuration.js | JavaScript | mit | 8,550 |
//@ sourceMappingURL=connect.test.map
// Generated by CoffeeScript 1.6.1
(function() {
var assert, async, wongo,
__hasProp = {}.hasOwnProperty;
assert = require('assert');
async = require('async');
wongo = require('../lib/wongo');
describe('Wongo.connect()', function() {
it('should connect to the database', function(done) {
wongo.connect(process.env.DB_URL);
return done();
});
return it('should clear every registered schema', function(done) {
var _type, _types;
_types = (function() {
var _ref, _results;
_ref = wongo.schemas;
_results = [];
for (_type in _ref) {
if (!__hasProp.call(_ref, _type)) continue;
_results.push(_type);
}
return _results;
})();
return async.each(_types, function(_type, nextInLoop) {
return wongo.clear(_type, nextInLoop);
}, done);
});
});
}).call(this);
| wookets/wongo | test/connect.test.js | JavaScript | mit | 942 |