CINXE.COM
ᐁ ᐊᔨᒥᐦᐄᑐᓈᓅᐦᒡ |
<!DOCTYPE html> <html lang="crj-CA"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,10"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>ᐁ ᐊᔨᒥᐦᐄᑐᓈᓅᐦᒡ | </title> <link rel="profile" href="https://gmpg.org/xfn/11"> <script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.4.0/js/tether.min.js" integrity="sha384-DztdAPBWPRXSA/3eYEEUWrWCy7G5KFbe8fFjk5JAIxUYHKkDx6Qin1DkWx51bBrb" crossorigin="anonymous"></script> <link rel="shortcut icon" href="https://www.eastcree.org/cree/wp-content/themes/eastcree_twentytwenty/favicon.ico" /> <link rel="shortcut icon" href="https://www.eastcree.org/cree/wp-content/themes/eastcree_twentytwenty/favicon.png" /> <meta name='robots' content='max-image-preview:large' /> <link rel='dns-prefetch' href='//s.w.org' /> <link rel="alternate" type="application/rss+xml" title="East Cree » ᐁ ᐊᔨᒥᐦᐄᑐᓈᓅᐦᒡ Comments Feed" href="https://www.eastcree.org/cree/sc/terminology/feed/" /> <script type="text/javascript"> window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/13.1.0\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/13.1.0\/svg\/","svgExt":".svg","source":{"concatemoji":"https:\/\/www.eastcree.org\/cree\/wp-includes\/js\/wp-emoji-release.min.js?ver=5.9.3"}}; /*! This file is auto-generated */ !function(e,a,t){var n,r,o,i=a.createElement("canvas"),p=i.getContext&&i.getContext("2d");function s(e,t){var a=String.fromCharCode;p.clearRect(0,0,i.width,i.height),p.fillText(a.apply(this,e),0,0);e=i.toDataURL();return p.clearRect(0,0,i.width,i.height),p.fillText(a.apply(this,t),0,0),e===i.toDataURL()}function c(e){var t=a.createElement("script");t.src=e,t.defer=t.type="text/javascript",a.getElementsByTagName("head")[0].appendChild(t)}for(o=Array("flag","emoji"),t.supports={everything:!0,everythingExceptFlag:!0},r=0;r<o.length;r++)t.supports[o[r]]=function(e){if(!p||!p.fillText)return!1;switch(p.textBaseline="top",p.font="600 32px Arial",e){case"flag":return s([127987,65039,8205,9895,65039],[127987,65039,8203,9895,65039])?!1:!s([55356,56826,55356,56819],[55356,56826,8203,55356,56819])&&!s([55356,57332,56128,56423,56128,56418,56128,56421,56128,56430,56128,56423,56128,56447],[55356,57332,8203,56128,56423,8203,56128,56418,8203,56128,56421,8203,56128,56430,8203,56128,56423,8203,56128,56447]);case"emoji":return!s([10084,65039,8205,55357,56613],[10084,65039,8203,55357,56613])}return!1}(o[r]),t.supports.everything=t.supports.everything&&t.supports[o[r]],"flag"!==o[r]&&(t.supports.everythingExceptFlag=t.supports.everythingExceptFlag&&t.supports[o[r]]);t.supports.everythingExceptFlag=t.supports.everythingExceptFlag&&!t.supports.flag,t.DOMReady=!1,t.readyCallback=function(){t.DOMReady=!0},t.supports.everything||(n=function(){t.readyCallback()},a.addEventListener?(a.addEventListener("DOMContentLoaded",n,!1),e.addEventListener("load",n,!1)):(e.attachEvent("onload",n),a.attachEvent("onreadystatechange",function(){"complete"===a.readyState&&t.readyCallback()})),(n=t.source||{}).concatemoji?c(n.concatemoji):n.wpemoji&&n.twemoji&&(c(n.twemoji),c(n.wpemoji)))}(window,document,window._wpemojiSettings); </script> <style type="text/css"> img.wp-smiley, img.emoji { display: inline !important; border: none !important; box-shadow: none !important; height: 1em !important; width: 1em !important; margin: 0 0.07em !important; vertical-align: -0.1em !important; background: none !important; padding: 0 !important; } </style> <link rel='stylesheet' id='wp-block-library-css' href='https://www.eastcree.org/cree/wp-includes/css/dist/block-library/style.min.css?ver=5.9.3' type='text/css' media='all' /> <style id='global-styles-inline-css' type='text/css'> body{--wp--preset--color--black: #000000;--wp--preset--color--cyan-bluish-gray: #abb8c3;--wp--preset--color--white: #ffffff;--wp--preset--color--pale-pink: #f78da7;--wp--preset--color--vivid-red: #cf2e2e;--wp--preset--color--luminous-vivid-orange: #ff6900;--wp--preset--color--luminous-vivid-amber: #fcb900;--wp--preset--color--light-green-cyan: #7bdcb5;--wp--preset--color--vivid-green-cyan: #00d084;--wp--preset--color--pale-cyan-blue: #8ed1fc;--wp--preset--color--vivid-cyan-blue: #0693e3;--wp--preset--color--vivid-purple: #9b51e0;--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple: linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%);--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan: linear-gradient(135deg,rgb(122,220,180) 0%,rgb(0,208,130) 100%);--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange: linear-gradient(135deg,rgba(252,185,0,1) 0%,rgba(255,105,0,1) 100%);--wp--preset--gradient--luminous-vivid-orange-to-vivid-red: linear-gradient(135deg,rgba(255,105,0,1) 0%,rgb(207,46,46) 100%);--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray: linear-gradient(135deg,rgb(238,238,238) 0%,rgb(169,184,195) 100%);--wp--preset--gradient--cool-to-warm-spectrum: linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%);--wp--preset--gradient--blush-light-purple: linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%);--wp--preset--gradient--blush-bordeaux: linear-gradient(135deg,rgb(254,205,165) 0%,rgb(254,45,45) 50%,rgb(107,0,62) 100%);--wp--preset--gradient--luminous-dusk: linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%);--wp--preset--gradient--pale-ocean: linear-gradient(135deg,rgb(255,245,203) 0%,rgb(182,227,212) 50%,rgb(51,167,181) 100%);--wp--preset--gradient--electric-grass: linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%);--wp--preset--gradient--midnight: linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%);--wp--preset--duotone--dark-grayscale: url('#wp-duotone-dark-grayscale');--wp--preset--duotone--grayscale: url('#wp-duotone-grayscale');--wp--preset--duotone--purple-yellow: url('#wp-duotone-purple-yellow');--wp--preset--duotone--blue-red: url('#wp-duotone-blue-red');--wp--preset--duotone--midnight: url('#wp-duotone-midnight');--wp--preset--duotone--magenta-yellow: url('#wp-duotone-magenta-yellow');--wp--preset--duotone--purple-green: url('#wp-duotone-purple-green');--wp--preset--duotone--blue-orange: url('#wp-duotone-blue-orange');--wp--preset--font-size--small: 13px;--wp--preset--font-size--medium: 20px;--wp--preset--font-size--large: 36px;--wp--preset--font-size--x-large: 42px;}.has-black-color{color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-color{color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-color{color: var(--wp--preset--color--white) !important;}.has-pale-pink-color{color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-color{color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-color{color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-color{color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-color{color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-color{color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-color{color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-color{color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-color{color: var(--wp--preset--color--vivid-purple) !important;}.has-black-background-color{background-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-background-color{background-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-background-color{background-color: var(--wp--preset--color--white) !important;}.has-pale-pink-background-color{background-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-background-color{background-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-background-color{background-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-background-color{background-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-background-color{background-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-background-color{background-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-background-color{background-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-background-color{background-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-background-color{background-color: var(--wp--preset--color--vivid-purple) !important;}.has-black-border-color{border-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-border-color{border-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-border-color{border-color: var(--wp--preset--color--white) !important;}.has-pale-pink-border-color{border-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-border-color{border-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-border-color{border-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-border-color{border-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-border-color{border-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-border-color{border-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-border-color{border-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-border-color{border-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-border-color{border-color: var(--wp--preset--color--vivid-purple) !important;}.has-vivid-cyan-blue-to-vivid-purple-gradient-background{background: var(--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple) !important;}.has-light-green-cyan-to-vivid-green-cyan-gradient-background{background: var(--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan) !important;}.has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange) !important;}.has-luminous-vivid-orange-to-vivid-red-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-orange-to-vivid-red) !important;}.has-very-light-gray-to-cyan-bluish-gray-gradient-background{background: var(--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray) !important;}.has-cool-to-warm-spectrum-gradient-background{background: var(--wp--preset--gradient--cool-to-warm-spectrum) !important;}.has-blush-light-purple-gradient-background{background: var(--wp--preset--gradient--blush-light-purple) !important;}.has-blush-bordeaux-gradient-background{background: var(--wp--preset--gradient--blush-bordeaux) !important;}.has-luminous-dusk-gradient-background{background: var(--wp--preset--gradient--luminous-dusk) !important;}.has-pale-ocean-gradient-background{background: var(--wp--preset--gradient--pale-ocean) !important;}.has-electric-grass-gradient-background{background: var(--wp--preset--gradient--electric-grass) !important;}.has-midnight-gradient-background{background: var(--wp--preset--gradient--midnight) !important;}.has-small-font-size{font-size: var(--wp--preset--font-size--small) !important;}.has-medium-font-size{font-size: var(--wp--preset--font-size--medium) !important;}.has-large-font-size{font-size: var(--wp--preset--font-size--large) !important;}.has-x-large-font-size{font-size: var(--wp--preset--font-size--x-large) !important;} </style> <link rel='stylesheet' id='eastcree_twentytwenty-style-bootstrap-reboot-css' href='https://www.eastcree.org/cree/wp-content/themes/eastcree_twentytwenty/css/bootstrap-reboot.min.css?ver=5.9.3' type='text/css' media='all' /> <link rel='stylesheet' id='eastcree_twentytwenty-style-bootstrap-css' href='https://www.eastcree.org/cree/wp-content/themes/eastcree_twentytwenty/css/bootstrap.min.css?ver=5.9.3' type='text/css' media='all' /> <link rel='stylesheet' id='eastcree_twentytwenty-style-bootstrap-grid-css' href='https://www.eastcree.org/cree/wp-content/themes/eastcree_twentytwenty/css/bootstrap-grid.min.css?ver=5.9.3' type='text/css' media='all' /> <link rel='stylesheet' id='eastcree_twentytwenty-theme-css' href='https://www.eastcree.org/cree/wp-content/themes/eastcree_twentytwenty/css/eastcree_twentytwenty_theme.css?version=20210104&ver=5.9.3' type='text/css' media='all' /> <link rel='stylesheet' id='eastcree_twentytwenty-style-css' href='https://www.eastcree.org/cree/wp-content/themes/eastcree_twentytwenty/style.css?ver=5.9.3' type='text/css' media='all' /> <link rel='stylesheet' id='eastcree_twentytwenty-glyphicon-css' href='https://www.eastcree.org/cree/wp-content/themes/eastcree_twentytwenty/css/glyphicon.css?ver=5.9.3' type='text/css' media='all' /> <link rel='stylesheet' id='eastcree_twentytwenty-fontawesome-css' href='https://www.eastcree.org/cree/wp-content/themes/eastcree_twentytwenty/css/all.css?ver=5.9.3' type='text/css' media='all' /> <script type='text/javascript' src='https://www.eastcree.org/cree/wp-includes/js/jquery/jquery.min.js?ver=3.6.0' id='jquery-core-js'></script> <script type='text/javascript' src='https://www.eastcree.org/cree/wp-includes/js/jquery/jquery-migrate.min.js?ver=3.3.2' id='jquery-migrate-js'></script> <script type='text/javascript' src='https://www.eastcree.org/cree/wp-content/themes/eastcree_twentytwenty/js/jquery-3.1.1.min.js?ver=3.1.1' id='eastcree_twentytwenty-script-jquery-js'></script> <link rel="https://api.w.org/" href="https://www.eastcree.org/cree/wp-json/" /><link rel="alternate" type="application/json" href="https://www.eastcree.org/cree/wp-json/wp/v2/pages/72" /><link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://www.eastcree.org/cree/xmlrpc.php?rsd" /> <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="https://www.eastcree.org/cree/wp-includes/wlwmanifest.xml" /> <meta name="generator" content="WordPress 5.9.3" /> <link rel="canonical" href="https://www.eastcree.org/cree/sc/terminology/" /> <link rel='shortlink' href='https://www.eastcree.org/cree/?p=72' /> <link rel="alternate" type="application/json+oembed" href="https://www.eastcree.org/cree/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fwww.eastcree.org%2Fcree%2Fsc%2Fterminology%2F" /> <link rel="alternate" type="text/xml+oembed" href="https://www.eastcree.org/cree/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fwww.eastcree.org%2Fcree%2Fsc%2Fterminology%2F&format=xml" /> <meta name="apple-itunes-app" content="app-id=1105155804"><link rel="manifest" href="https://www.eastcree.org/cree/wp-content/themes/eastcree_twentytwenty/manifest.json"><meta name="keywords" content="cree, language, terminology"/> <style type="text/css"> .user-buttons { position: absolute; top:25px; right:25px; min-height: 45px; display:block; margin-bottom: 1rem; width: 100%; text-align: right; } #header { /* The image used */ background-image: url("https://www.eastcree.org/cree/wp-content/themes/eastcree_twentytwenty/images/banner2.jpg"); /* Set a specific height */ height: 15vh padding: 0; /* Create the parallax scrolling effect */ background-attachment: fixed; background-position: center; background-repeat: no-repeat; background-size: cover; } #header .breadcrumb a { color: white } #header .breadcrumb { background: transparent; color: white; } @media (min-width: 768px) { #header { height: 15vh; } } @media (min-width: 992px) { #header { height: 20vh; } } #spelling-side { display: none } #cite table { border: 0 !important; padding: 1em; border-radius: .3rem; } #cite table tr > td { background: white; display: block; } #cite table tr:first-of-type > td span[style*="ff0000"] { color: #fff !important; } #cite table tr:first-of-type > td span[style*="ff0000"]:before { content: "https://www.eastcree.org/cree/sc/terminology/";color: #333 !important; } #cite table tr:nth-of-type(3) > td span[style*="ff0000"]{ color: #fff !important;} #cite table tr:nth-of-type(3) > td span[style*="ff0000"]:before { content: "17 Feb. 2025";color: #333 !important; } .head {page-break-after: avoid; padding-bottom: 1em} h1 + *,h2 + *,h3 + *,h4 + *,h5 + *,h6 + *,h7+ *,.head + * { page-break-before: avoid; } @page { size:auto; margin: 25mm 25mm 25mm 25mm; border:1px solid #ccc} body {padding-top:170px;/**/} .navbar-inverse .navbar-nav .nav-link {color:white;} .navbar-inverse .navbar-nav .current-nav-item .nav-link, .navbar-inverse .navbar-nav .current-page-ancestor >.nav-link { color:#fd7/*rgba(255,255,255,0.55)*/;} .admin-bar .fixed-top { top:31px;} #wpadminbar { z-index: 1000} h1,h2,h3,h4 { font-weight:300; } .sidebar .list-item > a { /*white-space: nowrap;*/ overflow: hidden; text-overflow: ellipsis; max-width: calc(100% - 50px); } </style> <style type="text/css" media="print"> #cite {display:block !important; position: relative !important; break-inside: avoid; margin-top:2em; margin-bottom: 2em; background: none !important; box-shadow: none !important;} #cite > div { position: relative !important;background: none !important; ;} p, page-id-10214 div, table {page-break-inside: avoid;} h1 + *,h2 + *,h3 + *,h4 + *,h5 + *,h6 + *,h7+ *,.head + * { page-break-before: avoid;} @page { size:auto; margin 25mm 25mm 25mm 25mm; border:1px solid #ccc} </style> </head> <body class="page-template-default page page-id-72 page-child parent-pageid-10" > <nav id="main-navbar" class="navbar navbar-expand-md bg-primary navbar-inverse fixed-top d-print-none mb-5" role="navigation" style="/*background-color: rgba(63,0,0,0.8) !important;*/"> <button class="navbar-toggler text-white" type="button" data-toggle="collapse" data-target="#navbar-collapse-1" aria-controls="navbar-collapse-1" aria-expanded="false" aria-label="Toggle navigation"> <i class="fa fa-hamburger"></i><span class="navbar-toggler-icon"></span> </button> <a class="navbar-brand " style="color:#ddd" href="https://www.eastcree.org/cree" rel="home"><span class="glyphicon glyphicon-home"></span> </a> <div class=" collapse navbar-collapse" id="navbar-collapse-1"> <div class="col-9 "><ul class="navbar-nav mr-auto"><li id="nav-item-13213" class="nav-item nav-item-type-post_type nav-item-object-page nav-item-13213"><a class="nav-link" href="https://www.eastcree.org/cree/sc/about/">ᐁ ᐃᔑ ᐋᔨᒨᑌᒡ</a></li> <li id="nav-item-13220" class="nav-item nav-item-type-post_type nav-item-object-page nav-item-13220"><a class="nav-link" href="https://www.eastcree.org/cree/sc/grammar/">ᐄᓅ ᐊᔨᒧᐧᐃᓐ</a></li> <li id="nav-item-13214" class="nav-item nav-item-type-post_type nav-item-object-page nav-item-13214"><a class="nav-link" href="https://www.eastcree.org/cree/sc/stories/">ᑎᐹᒋᒧᐧᐃᓐᐦ</a></li> <li id="nav-item-13215" class="nav-item nav-item-type-post_type nav-item-object-page nav-item-13215"><a class="nav-link" href="https://www.eastcree.org/cree/sc/lessons/">ᒋᔅᑯᑕᒫᒉᐧᐃᓐᐦ</a></li> <li id="nav-item-13216" class="nav-item nav-item-type-post_type nav-item-object-page current-nav-item page_item page-item-72 current_page_item nav-item-13216"><a class="nav-link" href="https://www.eastcree.org/cree/sc/terminology/" aria-current="page">ᐁ ᐊᔨᒥᐦᐄᑐᓈᓅᐦᒡ</a></li> <li id="nav-item-13217" class="nav-item nav-item-type-post_type nav-item-object-page nav-item-13217"><a class="nav-link" href="https://www.eastcree.org/cree/sc/dictionary/">ᐊᔨᒧᐧᐃᓐ ᒪᓯᓇᐦᐄᑲᓐ</a></li> <li id="nav-item-13218" class="nav-item nav-item-type-post_type nav-item-object-page nav-item-13218"><a class="nav-link" href="https://www.eastcree.org/cree/sc/resources/">ᒉ ᐧᐄᒋᐦᐄᑯᔨᓐ</a></li> <li id="nav-item-13219" class="nav-item nav-item-type-post_type nav-item-object-page nav-item-13219"><a class="nav-link" href="https://www.eastcree.org/cree/sc/catalogue/">ᓈᑕᓯᓇᐦᐄᒉᐅᓯᓇᐦᐄᑲᓐ</a></li> </ul></div> <form class="form-inline col" action="https://www.eastcree.org/cree"> <input class="form-control mr-sm-2" type="search" name="s" value="" placeholder="search" onchange="this.form.submit()"> </form> <ul class="nav navbar-nav navbar-inverse navbar-right "> <li> </li> <li style="min-width: 75px;" class="dropdown "> <a href="#" class="dropdown-toggle text-white" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">ᔖᐧᐊᓅᑖᐦ</a> <ul class="dropdown-menu"> <li class=""><a class="text-white" href="https://www.eastcree.org/cree/en/terminology" >English</a></li> <li class=""><a class="text-white" href="https://www.eastcree.org/cree/fr/terminology" >Français</a></li> <li class=""><a class="text-white cree" href="https://www.eastcree.org/cree/nc/terminology" >ᐊᑎᒫᐲᓯᒻ</a></li> <li class=" active"><a class="text-white cree" href="https://www.eastcree.org/cree/sc/terminology" >ᔖᐧᐊᓅᑖᐦᒡ</a></li> </ul> </li> <li><a class="btn-sm" href="#"><span class="glyphicon glyphicon-user" onclick="location.href='https://www.eastcree.org/cree/wp-admin/'; return false; "></span></a></li> </ul> <script type="text/javascript"> //adjust menu function adjustMenu(){ $("ul.nav > li.page_item_has_children > a").addClass("dropdown-toggle").attr("data-toggle","dropdown").attr("role","button").attr( "aria-expanded","false").append('<span class="caret"></span>'); $("li.page_item_has_children").removeClass("page_item_has_children").addClass("dropdown"); $("li.current-menu-item, li.current_page_parent, li.current_page ").addClass("active"); } </script> </div> </nav> <header id="header" class="d-print-none "> <div class=" row" style="/*background-color: rgba(0,0,0,0.3);*/ margin-top:-115px;"> <div class="col"> <div class="scene"> <div class="cube" > <div class="cube-face front" style=" "> East Cree <small style="color:#eee; font-size:40%; display:block; padding-left:.5em">language resources</small> </div> <div class="cube-face back bg-snow" > <strong style="font-size:1.5rem" class="syllabics" > ᒥᔪᒪᑯᔐᒌᔑᑲᓂᐦᑖᐦ </strong> <small style="color:#eee; font-size:0.7rem; display:block; padding-left:.5em">miyumakushechiishikanihtaah </small> </div> <div class="cube-face left bg-snow" > <strong style="font-size:0.9rem" class="syllabics">ᒑ ᐧᐄᐦ ᒥᔪᐱᔨᔨᓐ ᒑ ᐅᔅᒋᐱᐳᐦᒡ</strong> <small style="color:#eee; font-size:0.7rem; display:block; padding-left:2px">chaa wiih miyupiyiyin chaa uschipipuhch</small> </div> <div class="cube-face right bg-snow"> <span style="font-size:1.2rem; margin-bottom:.1rem; padding-bottom:0;" > Happy new year!</span> <span style="font-size:1.2rem; display:block; margin-top:.1rem; padding-top:0;"> Bonne année!</span> </div> </div> </div> <!-- <h1 style="color:white; text-shadow:1px 1px #000; padding:0.2em 0.5em; /*background-color:rgba(0,0,0,0.1);*/ "><a style="font-size:36px; color:white; " href="https://www.eastcree.org/cree"> East Cree </a><small style="color:#eee; font-size:40%; display:block; padding-left:2px">language resources</small></h1> <h1 style="color:white; text-shadow:1px 1px #000; padding:0.2em 0.5em; "><a style="font-size:36px; color:white; " href="https://www.eastcree.org/cree"> 20 </a><small style="color:#eee; font-size:40%; display:block; padding-left:2px">years</small></h1> --> </div> <div class="d-none col-md-6 d-md-block col-lg-7 text-right" style=" max-height:100px;background: transparent url(https://www.atlas-ling.ca/img/atlas-logo.png) no-repeat top right ; background-size: contain; "> </div> </div> <div class="d-none container-fluid mt-5 d-md-block" style="position: absolute; margin:0; padding:.35rem; bottom:0; left:0; right:0; background-color: rgba(0,0,0,0.3);"> <div class="row"> <div class="col-1"> <span class="btn btn-primary btn-lg d-md-none" onclick="$(this).toggleClass('active'); $('#content').toggleClass('col-4').toggleClass('col'); $('#sidenav').toggleClass('d-none');"> <span class="glyphicon glyphicon-menu-hamburger"></span> </span> </div> <div class="col-10 d-md-block"> <ol class="breadcrumb" style="margin:0; padding:0;"> <li class="breadcrumb-item"><a href="">Home</a></li> <li class="breadcrumb-item"><a href="https://www.eastcree.org/cree/sc/" class="cree">ᔖᐧᐊᓅᑖᐦᒡ</a></li> <li class="breadcrumb-item"><a href="https://www.eastcree.org/cree/sc/terminology/" class="cree">ᐁ ᐊᔨᒥᐦᐄᑐᓈᓅᐦᒡ</a></li> </ol> </div> </div> </div> </header> <main id="main" class="main container-fluid"> <section class="row" id="container"> <div class="col" id="content"> <button class="btn btn-lg btn-outline-primary d-lg-none" data-toggle="button" onclick="$('#sidenav').toggleClass('d-none')"><span class="fa fa-bars"></span> </button> <script type="text/javascript" id="eastcree_twentytwenty-script-catalogue-angular.min" src="https://www.eastcree.org/cree/wp-content/themes/eastcree_twentytwenty/js/angular.min.js"></script><script type="text/javascript" id="eastcree_twentytwenty-script-catalogue-angular-route.min" src="https://www.eastcree.org/cree/wp-content/themes/eastcree_twentytwenty/js/angular-route.min.js"></script><script type="text/javascript" id="eastcree_twentytwenty-script-catalogue-angular-sanitize.min" src="https://www.eastcree.org/cree/wp-content/themes/eastcree_twentytwenty/js/angular-sanitize.min.js"></script><script type="text/javascript" id="eastcree_twentytwenty-script-catalogue-angular-resource.min" src="https://www.eastcree.org/cree/wp-content/themes/eastcree_twentytwenty/js/angular-resource.min.js"></script><script type="text/javascript" id="eastcree_twentytwenty-script-catalogue-ui-bootstrap-tpls-1.3.1.min" src="https://www.eastcree.org/cree/wp-content/themes/eastcree_twentytwenty/js/ui-bootstrap-tpls-1.3.1.min.js"></script><img src="https://www.eastcree.org/cree/wp-content/themes/eastcree_twentytwenty/images/eclipse.gif" id='loading' style='position:fixed; top:45%; left:45%; z-index: 1000;'/> <style type="text/css"> .clickable { cursor: pointer !important; } .syllabics { font-size: 120%;} div.comments p { border-top: 1px solid #ddd; font-size: 95%; marging-top:.5rem; padding: 0.2rem;} .alert.fade { z-index: -1 !important;} .alert.show {z-index: 1000 !important;} .alert > .glyphicon , .alert > .fa { margin-right: 1em;} li.active a {color:white;} mark.hightlight{ padding: 0 ; margin: 0; text-decoration: underline; } .modal-body { max-height: calc(100vh - 212px); overflow-y: auto; } #sidebar { overflow-y: auto; } .card-columns { @include media-breakpoint-only(md) { column-count: 2; } @include media-breakpoint-only(lg) { column-count: 3; } @include media-breakpoint-only(xl) { column-count: 4; } } </style> <div id="BrowseController" ng-init="baseURL='https://www.eastcree.org/cree/sc/terminology/'; lang='crj';" class="container-fluid"> <a title="Contribute to the terminology" style="position: absolute; right: 10px; top:-10px;" class="btn btn-outline-info" href="https://terminology.algonquianlanguages.ca/pages/home/locale:eng">Contribute</a> <div class="row" style="max-height: calc(100vh - 120px); margin-bottom: 0"> <div class="d-none d-md-block col-10 col-md-4 col-lg-3 order-md-2 " id="sidebar"> <h3 class="card-header"> <button class="btn btn-outline-primary d-md-none" type="button" onclick="$('#sidebar').toggleClass('d-none')" aria-controls="sidebar" aria-expanded="false" aria-label="Toggle sidebar"> <span class="fa fa-bars"></span> </button>Categories</h3> <ul id="sidebar_categories" class="list-group "> <li data-ng-repeat="(i,c) in categoriesTree.tree_map" ng-init='id = (c | remove_underscore); lvl = (c | count_underscore); nxtlvl = ( categoriesTree.tree_map[i+1] | count_underscore); ' class="list-group-item lvl{{lvl}} parent{{categoriesTree.categories[id].Category.parent_id}} ng-class:{active:(browseUUID==categoriesTree.categories[id].Category.uuid)}" id="{{categoriesTree.categories[id].Category.uuid}}" > <span data-uuid="{{id}}" class="fa fa-plus add btn-xs text-muted ng-class:{invisible: (nxtlvl <=lvl)}" onclick="$('#sidebar_categories > li.parent'+$(this).data('uuid')).removeClass('ng-hide'); $(' .minus',this.parentNode).removeClass('ng-hide'); $(this).addClass('ng-hide');"></span> <span data-uuid="{{id}}" class="fa fa-minus minus btn-xs text-muted ng-hide ng-class:{invisible: (nxtlvl <= lvl)}" onclick="$('#sidebar_categories > li.parent'+$(this).data('uuid')).addClass('ng-hide'); $(' .add',this.parentNode).removeClass('ng-hide'); $(this).addClass('ng-hide'); $('#sidebar_categories > li.parent'+$(this).data('uuid')+' > span.minus').click();"></span> <a data-ng-href="{{baseUrl}}#/category/{{categoriesTree.translations[id] }}/{{categoriesTree.categories[id].Category.uuid | base64}}" style="cursor:pointer; padding-left: {{(1*lvl)+0.5}}em; " class="" ng-bind-html="categoriesTree.translations[id] | remove_bracket | html"></a> </li> </ul> </div> <div class="col col-md-8 col-lg-9 order-md-1" data-ng-view> </div> </div> </div> <script type="text/javascript"> /* The app */ angular.module('terminologyApp',['ngRoute','ui.bootstrap','terminologyApp.controllers','terminologyApp.services','terminologyApp.filters','terminologyApp.directives']) .config(['$routeProvider', function($routeProvider) { $routeProvider. when('/terms/:search?', { templateUrl: 'index.html', controller: 'TermsListController', controllerAs:'terms' }). when('/category/:name/:uuid', { templateUrl: 'index.html', controller: 'TermsListController', controllerAs:'terms' }). otherwise({ redirectTo:'/terms'}); }]) .config(function($sceDelegateProvider){ $sceDelegateProvider.resourceUrlWhitelist(['self','http://*.atlas-ling.ca/**','https://terminology.eastcree.org/**']); }); /* The services */ angular.module('terminologyApp.services', ['ngResource']) .factory('Data', ['$resource','$rootScope', function($resource,$rootScope){ return $resource('https://terminology.eastcree.org/:controller/:action/:model/:uuid/:searchText/:searchField/:searchWhere/:page/:sort/:direction.json', {}, { query: {method:'GET', params:{action:'index'}, isArray:false}, save: {method:'POST', isArray:false} /*search: {method:'POST', params:{action:'search'}, isArray:false}, filter: {method:'POST', params:{action:'filter'}, isArray:false}*/ }); }]) .factory('LocalStore', ['$window', function($window){ if(typeof(Storage) !== "undefined") { return window.localStorage; } console.log("warning local storage not available"); return false; }]); /* directive */ angular.module('terminologyApp.directives',[]) .directive('infiniteScroll',[ function(){ function infiniteScroll(scope){ $(window).on('DOMContentLoaded load resize scroll', function(event){ $(".infinite-scroll").each(function(index,elm){ //console.log($(elm).offset()); var rect = elm.getBoundingClientRect(); //console.log(rect,window.innerHeight); //return; if( // scope.paging.Term.pageCount && !scope.isLoading && //check that we are not waiting for the a page to load //rect.top >= 0 && // rect.left >= 0 && //rect.bottom > 0 && //rect.right > 0 && rect.bottom <= (window.innerHeight || document.documentElement.clientHeight) //&& /*or $(window).height() */ //rect.right <= (window.innerWidth || document.documentElement.clientWidth) /*or $(window).width() */ // elm.offset().top<0 ) scope.nextPage(); }); }); } return { //restrict : 'A', link: infiniteScroll }; } ]) .directive('detailView',['$rootScope', function (rootScope) { return { scope: { term:"=", index:"=", locale:"=", currentUser:"=" }, templateUrl:'detail.html', controller:'TermDetail' }; } ] ) .directive('mediaIcon',function(){ return{ scope:{ m:'=' }, template:"<span class=\"btn-xs text-muted fa ng-class:{' fa-headphones':(m.indexOf('audio')!=-1), ' fa-video':(m.indexOf('video')!=-1), ' fa-image':(m.indexOf('image')!=-1)} \"></span> " } }) .directive('mediaDisplay', function(){ return{ scope:{ media:'=', baseUrl:'=' }, template:' <div data-ng-init="absURL=\'https://terminology.eastcree.org\'+media.url;">{{asbURL}}<img class="media-object img-thumbnail img-responsive" title="{{media.orthography}} {{media.public_note_en}}" data-meta="{{media}}" data-ng-src="{{absURL | trustedResource}}" onclick="previewImage(this); " style=" /* margin-bottom:.5em; max-height:250px; max-width:450px;*/" data-ng-if="media.mime.match(\'image/\')!=null"/>'+ '<span class="audio-box" data-ng-if="media.mime.match(\'audio/\')!=null">'+ '<audio class="media-object" controls="controls" style="max-height:150px; margin-bottom:.5em;" title="{{media.public_note_en}}">'+ '<source data-ng-src="{{absURL | trustedResource}}" type="{{media.mime}}" />'+ '</audio>'+ '</span>'+ '<video class="media-object" controls="controls" style="max-height:150px; margin-bottom:.5em;" data-ng-if="media.mime.match(\'video/\')!=null" title="{{media.public_note_en}}">'+ '<source data-ng-src="{{baseUrl+media.url | trustedResource}}" type="{{media.mime}}" />'+ '</video></div>' } }) .directive('editableField',['$rootScope', function(rootScope){ return { scope:{ id:"=", uuid:"=", newText:"=text", text:"=", field:"=", currentUser:"=", model:"=mdl", index:"=" }, templateUrl :'editableField.html', controller:'EditableField' } }]) ; </script> <!-- parts --> <script type="text/javascript"> angular.module('terminologyApp.controllers',['ngRoute']). controller('TermsListController',['$rootScope','$scope','Data','$location','$routeParams', '$timeout', '$window', function($rootScope,$scope,Data,$location,$routeParams, $timeout, $window) { var errorCallback = function (response) { angular.element('#loading').hide(); console.log(response); }; $rootScope.paging = {}; $scope.page=1; $scope.terms_list = []; $scope.communities = {}; $scope.searchText = ""; $scope.browseModel=""; $rootScope.browseUUID=""; $scope.categories = {}; $scope.isLoading= false; $scope.isInit = true; //$scope.topLvlC = ""; var timedSearch = null; function resetState(){ $rootScope.paging = {}; $scope.page=1; $scope.terms_list = []; $scope.searchText = ""; $rootScope.searchText = ""; $scope.browseModel=""; $rootScope.browseUUID=""; $scope.callback_url =""; $scope.category=null; }; $scope.index = function(){ if($scope.isLoading)return; angular.element("#loading").show(); $scope.isLoading = true; var params = {page:'page:'+$scope.page,action:'index',controller:'terms'}; if($scope.browseModel && $rootScope.browseUUID){ params.action = 'browseby'; params.uuid = $rootScope.browseUUID; params.model = 'Category'; } if($rootScope.searchText)params.searchText = $rootScope.searchText; Data.get(params,function successCallback(data) { console.log(data); $scope.terms_list = $scope.terms_list.concat(data.termtranslations); $rootScope.currentUser = data.currentUser; angular.element('#loading').hide(); angular.element("#search-anim").hide(); $rootScope.paging = data.paging; $scope.isLoading = false; if($rootScope.browseUUID){ /* if($window.screen.availHeight<=768){ angular.element('#sidebar').addClass('collapse'); angular.element('#sidebar').removeClass('show'); }else{ angular.element('#sidebar').removeClass('collapse'); }**/ }else{ $rootScope.selectedCategory = ""; } }, errorCallback); }; $scope.nextPage = function () { try{ if(!$scope.isLoading && $rootScope.paging!=undefined && $rootScope.paging.TermTranslation!=undefined && $rootScope.paging.TermTranslation.pageCount!=undefined && $rootScope.paging.TermTranslation.pageCount > $scope.page ){ $scope.page+=1; $scope.index(); } }catch (err){ } //console.log('nextPage',$scope.page,$rootScope.paging.TermTranslation); }; $scope.init = function (){ resetState(); console.log('init'); if($window.screen.availWidth<768){ angular.element('#sidebar_categories').addClass('collapse'); }else{ angular.element('#sidebar_categories').removeClass('collapse'); } Data.get({controller:'categories',action:'index'},function successCallback(data) { $scope.index(); $rootScope.categoriesTree = data.categories_tree; for(var catID in data.categories_tree.categories) if(data.categories_tree.categories[catID].Category.uuid == $rootScope.browseUUID){ $rootScope.selectedCategory = data.categories_tree.translations[catID]; $rootScope.selectedCategoryAncestry = []; var parent_id = data.categories_tree.categories[catID].Category.parent_id; while(parent_id!=undefined){ $rootScope.selectedCategoryAncestry.push(parent_id); parent_id = data.categories_tree.categories[parent_id].Category.parent_id; } } $timeout(function(){ angular.element('#sidebar_categories li.lvl3').addClass('ng-hide'); angular.element('#sidebar_categories li.lvl2').addClass('ng-hide'); angular.element('#sidebar_categories li.lvl1').addClass('ng-hide'); if($rootScope.browseUUID) { angular.element('#' + $rootScope.browseUUID).removeClass('ng-hide'); //$rootScope.selectedCategory = //console.log(angular.element('#'+$rootScope.browseUUID)[0].classList); console.log($rootScope.selectedCategoryAncestry); if( $rootScope.selectedCategoryAncestry) for(var pInd in $rootScope.selectedCategoryAncestry){ var parentID = $rootScope.selectedCategoryAncestry[pInd]; try{ angular.element('.parent' + parentID).removeClass('ng-hide'); angular.element('span.minus[data-uuid="'+parentID+'"]' ).removeClass('ng-hide'); angular.element('span.add[data-uuid="'+parentID+'"]' ).addClass('ng-hide'); }catch (err){ console.log(err); } } angular.element('#' + $rootScope.browseUUID + ' span.add').click(); } }); },errorCallback); if($routeParams.uuid){ $scope.browseModel = "Category"; $rootScope.browseUUID = $window.atob($routeParams.uuid); }else if($location.url().match('/category/')){ console.log($location.url()); var params = $location.url().split("/"); if(params.length>0){ var uuid =params.pop(); if(uuid!= undefined && uuid.indexOf("#")!=-1){ params = uuid.split("#"); uuid = params.shift(); } if(uuid!= undefined && $rootScope.browseUUID!=uuid){ $scope.browseModel = "Category"; $rootScope.browseUUID = $window.atob(uuid); } } } if($routeParams.search){ $scope.searchText=$rootScope.searchText = $routeParams.search; } $scope.loadingImg = $rootScope.baseUrl+"img/ajax-loader.gif"; angular.element($window).bind('orientationchange', function () { if($window.screen.availWidth<768){ angular.element('#sidebar').addClass('collapse'); }else{ angular.element('#sidebar').removeClass('collapse'); } }); }; $scope.init(); $rootScope.toggleDetail = function (ind,refresh) { if(ind==undefined)return false; if(refresh){ $scope.terms_list[ind].detail=undefined; $scope.terms_list[ind].visible = false; } console.log('toggleDetail',ind,$scope.terms_list[ind]); $scope.terms_list[ind].visible = $scope.terms_list[ind].visible==undefined||(!$scope.terms_list[ind].visible); if($scope.terms_list[ind].detail==undefined){ $scope.terms_list[ind].detail = Data.get({controller:'terms',action:'view',uuid:$scope.terms_list[ind].Term.uuid},function (data) { }); } }; $rootScope.doSearch = function (search) { console.log(search); if(search!=$scope.searchText) $scope.searchText = search; if(search!=$rootScope.searchText) $rootScope.searchText = search; $scope.page = 1; $scope.terms_list = []; $scope.index(); } }]) .controller('TermDetail',['$rootScope','$scope','Data','$timeout','$window', function ($rootScope,$scope, Data, $timeout,$window) { var errorCallback = function (response) { angular.element('#loading').hide(); console.log(response); }; $scope.shortCode = { eng:'ENG', fra:'FRA', crl:'EC-N', crj:'EC-S' }; $scope.getCommentReplies = function(t,c,comment){ if($scope.term.TermTranslation[t].Comment[c].replies==undefined) Data.get({controller:'comments',action:'replies',uuid:comment.id}, function (data) { $scope.term.TermTranslation[t].Comment[c].replies=data.replies; }) }; }]) .controller('EditableField',['$rootScope', '$scope', 'Data','$window','$timeout',function ($rootScope,$scope,Data,$window,$timeout) { //console.log($scope); $scope.isEditingMode = false; $scope.startEditingMode = function(){ $scope.isEditingMode=true; }; $scope.endEditingMode = function(){ $scope.isEditingMode=false; }; }]) ; </script> <script type="text/javascript"> /** * Created by Del on 22/12/15. */ angular.module('terminologyApp.filters',['ngSanitize']) .filter('trustedResource',[ '$sce', function($sce){ return function(val){ if(val) return $sce.trustAsResourceUrl(val); return val; } } ]) .filter('html', ['$sce', function($sce) { return function(val) { if(val && val.length) return $sce.trustAsHtml(val); return val; }; }]) .filter('remove_underscore',[function(){ return function(val){ if(val && val.length) return val.replace(/_/g,""); return ""; } }]) .filter('ids_vals',[function(){ return function(data){ var val = {}; for(var d in data){ for(var k in data[d]){ val[k] = data[d][k]; } } return val; } }]) .filter('remove_last',[function(){ return function(val,lvl){ console.log('remove_last',val,lvl); if(val && val.length && val.match(" ")!=null) return val.substr(0,val.lastIndexOf(" ")); if(lvl) return val; return ""; } }]) .filter('count_underscore',[function(){ return function(val){ var count = 0; if(val && val.length){ try{ count = val.match(/_/g).length; }catch(err){ } } return count; } }]) .filter('find_replace',[function(){ return function(val,findText, replaceText){ try{ if(val && val.length) { var re = new RegExp(findText,"g"); return val.replace(re,replaceText?replaceText:""); } return val; }catch(err){ return ""; } } }]) .filter('underscore_to_space',['$sce',function($sce){ return function(val){ if(val && val.trim()) return $sce.trustAsHtml(val.replace(/[^_]/g,"").replace(/_/g,'<span style="padding-right:1em; margin-right: .3em;"></span>')); return val; } }]) .filter('humanize',function(){ return function(val){ if(val && val.trim().length) return val.trim().replace(/[_]/g," "); return val; } }) .filter('highlight_search_text',['$sce',function($sce){ return function(text,searchText){ if(text && text.length && searchText && searchText.length){ var searchHighlight= "<mark class='hightlight'>$1</mark>"; var re = new RegExp("("+searchText+")",'i'); return text.replace(re, searchHighlight); } return text; } }]) .filter('in_category',[function(){ return function(val,categories){ for(var c in categories) if(categories[c].uuid.match(val)!=null) return true; return false; } }]) .filter('jsonToTable',[function(){ return function(val){ var table='<table class=" "> '; try{ if(val ){ //console.log(json); var returnText = ""; if(angular.isObject(val) ||angular.isObject(angular.fromJson(val))){ var json = angular.isObject(val)?val: angular.fromJson(val); for(var k in json){ if(json[k] && json[k].length && json[k].indexOf("--")==-1 )//returnText+=k+': '+json[k]+"\r\n"; table+=' <tr><th>'+ k[0].toUpperCase()+ k.substr(1).replace('_',' ')+': </th> <td style="padding-left: 1em;" class="text-left">'+json[k]+'</td></tr>'; } }else { table+='<tr><th>Uploaded by: </th><td>'+val+'</td></tr>'; } return table+'</table>';//returnText;//$sce.trustAsHtml();//val.replace(searchText, searchHighlight)); } }catch(err){ // console.log('toTable',val, err); } //console.log('toTable error',val,angular.isObject(val) ); table+='<tr><th>Uploaded by: </th><td>'+val+'</td></tr>'; return table+'</table>'; return val; } }]) .filter('remove_bracket',[function(){ return function(val){ if(val && val.length){ if(val.indexOf("(")>1) return val.substring(0,val.indexOf("(")-1); } return val; } }]) .filter('base64', ['$window',function ($window) { return function (val) { return $window.btoa(val); } }]) .filter('timeElapsed', function () { return function (val) { try{ if(val){ var output=""; var d = new Date(val); var today = new Date(); var years =today.getFullYear()-d.getFullYear(); var months = today.getMonth()-d.getMonth(); if(months<0) months=d.getMonth()-today.getMonth(); if(years>0){ output=years+" year"+(years>1?"s":""); }else if(months>0){ output=months+" month"+(months>1?"s":""); }else{ var minutes = 1000 * 60; var hours = minutes * 60; var days = hours * 24; var diff= today.getTime()-d.getTime(); if(isNaN(diff)) throw "diff is not a number "+ diff; if(diff>days){ days=Math.round(diff/days); output=days+" day"+(days>1?"s":""); }else if(diff>hours){ hours=Math.round(diff/hours); output=hours+" hr"+(hours>1?"s":""); }else if(diff>minutes){ minutes=Math.round(diff/minutes); output=minutes+" min"+(minutes>1?"s":""); }else{ output = diff+" s"; } } //console.log(output); return output+" ago" } }catch(err){} return val; } }) ; </script> <script type="text/ng-template" id="index.html"> <button class="btn btn-outline-primary d-md-none" type="button" onclick="$('#sidebar').toggleClass('d-none')" aria-controls="sidebar" aria-expanded="false" aria-label="Toggle sidebar"> <span class=" fa fa-bars"></span> </button> <h1 class="font-weight-light">East Cree Terminology<span class="ml-3 float-right text-primary"><span ng-bind="selectedCategory"></span><sup class="badge badge-light" ng-bind="paging.TermTranslation.count"></sup></span></h1> <div class="list-group mb-3"> <div class="list-group-item"> <form class="form" > <div class="input-group"> <input class="form-control" type="search" ng-model="searchText" placeholder="search terms"> <button class="btn btn-outline-primary my-2 my-sm-0" type="submit" ng-click="doSearch(searchText)" title="Search"><span class=" fa fa-search"></span> </button> <a data-ng-href="{{baseUrl}}#/terms" ng-click="init()" class="btn btn-outline-success my-2 my-sm-0" title="Reset"><span class=" fa fa-home"></span> </a> </div> </form> </div> <div class="list-group-item" ng-if="$scope.isLoading"> <div class="alert alert-info"> Searching for <strong>{{searchText}}</strong> </div> </div> <div class="list-group-item" ng-if="(!isLoading && terms_list.length<1 && search.length>1)"> <div class="alert alert-danger"> Did not find term <strong>{{searchText}}</strong> </div> </div> <div data-ng-repeat="(ind,term) in terms_list" ng-if="term.TermTranslation.term" class="list-group-item align-items-start " ng-style="{'border-right-color':(term.visible?'#0275d8':'rgba(0,0,0,.125)'),'border-right-width':(term.detail?'3px':'1px')}" > <div class="d-flex w-100 justify-content-between clickable" ng-click="toggleDetail(ind)"> <h5 class="mb-1" ng-bind-html="term.TermTranslation.term | highlight_search_text:searchText| html"></h5> <span class="pull-right btn-group-xs"><span data-ng-repeat="m in term.Term.hasMedia" media-icon data-m="m"></span><span data-ng-repeat="m in term.TermTranslation.hasMedia" media-icon data-m="m"></span></span> </div> <p class="mb-1" ng-bind-html="term.TermTranslation.definition | highlight_search_text:searchText| html"></p> <div data-detail-view data-locale="locale" data-term="terms_list[ind].detail.term" data-index="ind" data-current-user="currentUser" data-base-url="baseUrl" ng-show="term.visible"></div> </div> </div> <div class="alert alert-{{generalAlert.class}} alert-dismissible fade " role="alert" id="general-alert" style="position: fixed; top:20%; left:20%; right:10%; z-index: 10;"> <button type="button" class="close" data-dismiss="alert" aria-label="Close"> <span aria-hidden="true">×</span> </button> <h2 class="" ng-bind="generalAlert.class|find_replace:'alert-'">Alert</h2> <div ng-bind-html="generalAlert.message | humanize | html"></div> </div> <img src="https://www.eastcree.org/cree/wp-content/themes/eastcree_twentytwenty/images/ajax-loader.gif" class='infinite-scroll' data-infinite-scroll data-ng-show="page<paging.TermTranslation.pageCount" style='margin-bottom:3em'/> </script> <script type="text/ng-template" id="detail.html"> <div class="card-deck"> <!-- Diagram labels --> <div class="card mb-4" ng-repeat="(l,dlabel) in term.DiagramLabel" ng-if="dlabel.Diagram.name_cr"> <h3 class="card-header"><span ng-if="(locale.indexOf('en')>-1)" ng-bind="dlabel.Diagram.name_en"></span><span ng-if="(locale.indexOf('fr')>-1)" ng-bind="dlabel.Diagram.name_fr"></span> </h3> <div class="card-body"> <div class="card-block"> <div media-display data-media="dlabel.Diagram.Media" data-base-url="baseUrl"></div> <h3 class="display-4 text-center" data-current-user="currentUser" data-editable-field data-term-index="termIndex" data-ctrl="'DiagramLabels'" data-mdl="'DiagramLabel'" data-id="dlabel.id" data-uuid="dlabel.uuid" data-field="'name'" data-text="dlabel.name"></h3> </div> </div> </div> <div class="card mb-2" ng-repeat="media in term.Media" media-display data-media="media" data-base-url="baseUrl"></div> <div class="card mb-2 card-outline-default " style="min-width: 33%; " data-ng-repeat="(t,translation) in term.TermTranslation" ng-if="(shortCode[translation.locale]!=undefined) "> <h3 class="card-header syllabics" ng-if="(translation.term_syllabics.length>0)"><span ng-bind-html="translation.term_syllabics"></span><small style="font-size:1rem" class=" float-right" ng-bind="shortCode[translation.locale]"></small> </h3> <h3 title="Term" class="card-header translation " ng-if="(translation.term_syllabics==undefined || translation.term_syllabics.length<1)"> <span class="data" ng-bind-html="translation.term"></span> <small style="font-size:1rem" class=" float-right" ng-bind="shortCode[translation.locale]"></small> </h3> <div class="card-block p-2"> <!-- term --> <h5 title="Term" class="card-title translation " ng-if="(translation.term_syllabics.length>0)" > <span class="data" id="{{'term_' + index + translation.term_id + translation.uuid + $index}}" ng-bind-html="translation.term"></span> </h5> <!-- definition --> <p class="card-text syllabics" ng-if="translation.definition_syllabics" ng-bind-html="translation.definition_syllabics | html"> </p> <p class="card-text " ng-bind-html="translation.definition | html"> </p> <!-- public note --> <p class="card-text text-success" ng-bind="translation.public_note_en"></p> <p class="card-text text-success" ng-bind="translation.public_note_fr"></p> <!-- source --> <p class="small text-muted text-right" > <cite class="small" ng-bind-html="translation.source"></cite> </p> <p class="card-text"><span ng-repeat="media in translation.Media" media-display data-media="media" data-base-url="baseUrl"></span></p> <!-- comments --> <div class="list-group" > <div class="list-group-item-action flex-column align-items-start" ng-repeat="(c,comment) in translation.Comment"> <h5 class="mb-1 small"> <span ng-bind="comment.Creator.alias"></span> <small class=" text-muted " ng-bind="comment.modified | timeElapsed"></small> <span class="pull-right btn-group btn-group-sm"> <!-- relpy and view replies --> <span ng-if="comment.child_count>0" class="btn btn-outline-info" data-toggle="button" ng-click="getCommentReplies(t,c,comment)" onclick="$(this).parent().parent().siblings('.list-group').toggleClass('in')" data-toggle="button"> see replies <span class="badge" ng-bind="comment.child_count"></span> </span> </span> </h5> <p class="mb-1" ng-bind-html="comment.message | html"></p> <ul class="list-group small"> <li ng-repeat="reply in comment.replies" class="list-group-item list-group-item-action flex-column align-items-start"> <h5 style="display:block;" class="small mb-1 "> <span ng-bind="reply.Creator.alias"></span> <small class="text-muted" ng-bind="reply.Comment.modified | timeElapsed"></small> </h5> <p class="mb-1" ng-bind-html="reply.Comment.message | html"></p> </li> </ul> </div> </div> </div> </div> <div class="card-footer"> <span ng-if="translation.modified">Last updated: <span ng-bind="translation.modified"></span></span> </div> </div> </div> <div class="row "> <div class="col-12"> <small ng-repeat="(c,category) in term.Category"> <a class="btn btn-sm btn-xs btn-outline-primary" data-ng-href="{{baseUrl}}#/category/{{category.CategoryTranslation[0].name }}/{{category.uuid | base64}}" ng-bind="category.CategoryTranslation[0].name"></a> </small> </div> </div> </script> <script type="text/javascript"> angular.element(function() { console.log("bootstrapping"); angular.bootstrap(document, ['terminologyApp']); }); </script> </div> </section> </main> <footer id="footer" class="footer d-print-none" style=""> <div class=" container-fluid"> <div class="row"> </div> <div class="row"> <div class="pull-right"> Last modified: September 5, 2017 </div> <div class="pull-left" style="color: #d3d3d3"> </div> <div class="center-block"> ©2000-2025 www.eastcree.org </div> </div> <div class="row"> <script type='text/javascript' src='https://www.eastcree.org/cree/wp-content/themes/eastcree_twentytwenty/js/bootstrap.min.js?ver=20170520' id='eastcree_twentytwenty-script-bootstrap-js'></script> <script type='text/javascript' src='https://www.eastcree.org/cree/wp-content/themes/eastcree_twentytwenty/js/all.js?ver=20170520' id='eastcree_twentytwenty-script-fontawesome-js'></script> </div> <div class="row"> <div class="col col-xs-6 text-danger"> Data-mining and scraping strictly prohibited. </div> <div class="col col-xs-6 text-right text-danger"> L’extraction des données est strictement interdite </div> </div> </div> </footer> <script type="text/javascript"> </script> <!-- Piwik --> <script type="text/javascript"> var _paq = _paq || []; _paq.push(['trackPageView']); _paq.push(['enableLinkTracking']); (function() { var u="//webstats.atlas-ling.ca/"; _paq.push(['setTrackerUrl', u+'piwik.php']); _paq.push(['setSiteId', 1]); var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s); })(); </script> <noscript><p><img src="https://webstats.atlas-ling.ca/piwik.php?idsite=1" style="border:0;" alt="" /></p></noscript> <!-- End Piwik Code --> <script type="text/javascript"> var images = ['https://www.eastcree.org/cree/wp-content/themes/eastcree_twentytwenty/images/banner1.jpg', 'https://www.eastcree.org/cree/wp-content/themes/eastcree_twentytwenty/images/banner2.jpg', 'https://www.eastcree.org/cree/wp-content/themes/eastcree_twentytwenty/images/banner3.jpg', 'https://www.eastcree.org/cree/wp-content/themes/eastcree_twentytwenty/images/banner4.jpg', 'https://www.eastcree.org/cree/wp-content/themes/eastcree_twentytwenty/images/banner5.jpg', 'https://www.eastcree.org/cree/wp-content/themes/eastcree_twentytwenty/images/banner6.jpg', 'https://www.eastcree.org/cree/wp-content/themes/eastcree_twentytwenty/images/banner7.jpg', 'https://www.eastcree.org/cree/wp-content/themes/eastcree_twentytwenty/images/banner8.jpg', 'https://www.eastcree.org/cree/wp-content/themes/eastcree_twentytwenty/images/banner9.jpg', 'https://www.eastcree.org/cree/wp-content/themes/eastcree_twentytwenty/images/banner10.jpg', 'https://www.eastcree.org/cree/wp-content/themes/eastcree_twentytwenty/images/banner11.jpg', 'https://www.eastcree.org/cree/wp-content/themes/eastcree_twentytwenty/images/banner12.jpg', 'https://www.eastcree.org/cree/wp-content/themes/eastcree_twentytwenty/images/banner13.jpg', ]; var imagesQueue =[]; var imageTimer=false; var deg =0; $( function () { try{ adjustMenu(); }catch(err){ console.log(err); } try{ adjustSidebar(); } catch (err) { console.log(err); } try { imageTimer = setInterval(function () { if (imagesQueue.length < 1) imagesQueue = images.slice(0); var index = imagesQueue.length > 1 ? Math.floor(Math.random() * imagesQueue.length) : 0; //console.log(images[index]); /* deg +=90; if(deg>=360)deg=0; $(".cube").css('transform'," rotateY("+deg+"deg)");*/ $("#header").css('background-image','url('+imagesQueue.splice(index,1)+')'); }, 30000); }catch(err){ console.log(err); } if($("#cite").length){ $("#content > .row").css('margin-top','25px'); $("#content").prepend('<div class="user-buttons d-print-none"><span class="btn-group"><span aria-controls="cite" role="button" class="btn btn-outline-primary " onclick="$(\'#cite\').show()">Cite</span><span class="btn btn-outline-primary" onclick="window.print()"><span class="fa fa-print"></span> </span> </span></div>'); $("#cite div:first,#cite .close").on('click',function () { $("#cite").hide(); }) } $(".clickable").addClass("btn"); $("button").addClass("btn btn-outline-primary"); //$(".user-buttons> button").addClass("btn-outline-secondary"); $(".pg-title").addClass(" text-primary "); $("img[src$='speak.gif']").hide().after(function(i) { //console.log(this.onclick, $(this).attr('data-sound-url')); return $('<span class="btn btn-lg text-primary clickable"' + ($(this).attr('data-sound-url') ? ' data-sound-url="' + $(this).attr('data-sound-url') : ' onclick=" $(this).prev(\'img\').click()') + '"></span>').append('<span class="glyphicon glyphicon-volume-up"></span>'); }); $("[data-sound-url]").click(function () { play($(this).attr('data-sound-url')); }); /*TODO:fix display or come up with a better way to do this*/ //console.log('ready'); }); function play(url) { try { //console.log(url); if ($("#audioPlayer").length > 0) { try { $("#audioPlayer")[0].pause(); } catch (err) { } $("#audioPlayer source").attr('src', 'https://www.eastcree.org' + encodeURI(url)); $("#audioPlayer")[0].load(); $("#audioPlayer")[0].play(); } } catch (err) { console.log(err); } //console.log($("#audioPlayer")); } </script> <audio id="audioPlayer" controls style="opacity: 0; visibility: hidden;"> <source type="audio/mpeg"/> </audio> </body> </html>