Changeset 35407


Ignore:
Timestamp:
2021-09-15T14:57:53+12:00 (9 days ago)
Author:
cstephen
Message:

Improve theme + update translations

Location:
main/trunk/model-interfaces-dev/atea
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/model-interfaces-dev/atea/korero-maori-asr/src/App.vue

    r35406 r35407  
    1111    </div>
    1212
    13     <ul class="list-view">
     13    <ul id="transcription-list" class="list-view">
    1414        <transition-group name="transcription-list">
    1515            <li class="list-item transcription-list-item" v-for="[id, transcription] in transcriptions" :key="id">
     
    2121
    2222<style lang="scss">
    23 #container {
    24     background-color: var(--page-bg-color);
    25     margin-bottom: 0;
    26 }
    27 
    28 #gs_content {
    29     padding: 0;
    30     background-color: var(--page-bg-color);
    31 }
    32 
    33 #gs_banner {
     23#transcription-list {
    3424    margin-bottom: 1em;
    35     border-radius: 0 0 0.3em 0.3em;
    3625}
    3726
  • main/trunk/model-interfaces-dev/atea/korero-maori-asr/src/components/AudioUpload.vue

    r35389 r35407  
    2525        <progress v-if="isTranscribing" class="indeterminateLoadingBar" />
    2626
    27         <ul class="list-view">
     27        <ul class="list-view" v-if="failures.size > 0">
    2828            <li v-for="[id, failure] in failures" :key="failure.id" class="list-view__item transcription-error-container">
    2929                <div>
  • main/trunk/model-interfaces-dev/atea/resources/interface_atea.properties

    r35393 r35407  
    77atea.TranscriptionItem_Remove=Remove
    88atea.TranscriptionItem_ExpandEditor=Playback and Edit
     9atea.TranscriptionItem_Download=Download
     10atea.TranscriptionItem_DownloadAsText=Download transcription
     11atea.TranscriptionItem_DownloadAsJson=Download as JSON
     12atea.TranscriptionItem_DownloadAsWebvtt=Download as WebVTT
    913
    10 atea.TranscriptionItemEditor_SetDisplayMode=Display Mode
    11 atea.TranscriptionItemEditor_DisplayMode_Words=Words
    12 atea.TranscriptionItemEditor_DisplayMode_Editor=Editor
     14atea.TranscriptionItemEditor_EnableEditing=Enable Editing
  • main/trunk/model-interfaces-dev/atea/resources/interface_atea_mi.properties

    r35393 r35407  
    77atea.TranscriptionItem_Remove=Tango
    88atea.TranscriptionItem_ExpandEditor=Purei Ake me te Whakatika
     9atea.TranscriptionItem_Download=Tangohia
     10atea.TranscriptionItem_DownloadAsText=Tangohia te tuhinga tuhi
     11atea.TranscriptionItem_DownloadAsJson=Tangohia hei JSON
     12atea.TranscriptionItem_DownloadAsWebvtt=Tangohia hei WebVTT
    913
    10 atea.TranscriptionItemEditor_SetDisplayMode=Aratau Whakaatu
    11 atea.TranscriptionItemEditor_DisplayMode_Words=Kupu
    12 atea.TranscriptionItemEditor_DisplayMode_Editor=Etita
     14atea.TranscriptionItemEditor_EnableEditing=Whakahohea te Whakatika
  • main/trunk/model-interfaces-dev/atea/transform/pages/korero-maori-asr.xsl

    r35367 r35407  
    88    xmlns:gsf="http://www.greenstone.org/greenstone3/schema/ConfigFormat"
    99    xmlns:gslib="http://www.greenstone.org/skinning"
    10     xmlns:v-bind="http://vuejs.org"
    11     xmlns:v-on="http://vuejs.org"
    1210    extension-element-prefixes="java util"
    1311    exclude-result-prefixes="java util">
     
    4846        <link href="interfaces/{$interface_name}/korero-maori-asr/dist/css/app.css" rel="stylesheet" />
    4947
     48        <gsf:style>
     49            #container {
     50                background-color: var(--page-bg-color);
     51            }
     52           
     53            #gs_content {
     54                padding: 0;
     55                background-color: var(--page-bg-color);
     56            }
     57           
     58            #gs_banner {
     59                display: none;
     60            }
     61
     62            #topArea {
     63                padding: 0.5em;
     64                border-radius: 0 0 5px 5px;
     65                margin-bottom: 2em;
     66
     67                background-color: var(--primary-bg-color);
     68                box-shadow: var(--primary-box-shadow);
     69            }
     70        </gsf:style>
     71
    5072        <noscript>
    5173            <strong>We're sorry but the Korero Maori ASR interface doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
    5274        </noscript>
     75        xxx=<xsl:value-of disable-output-escaping="yes" select="util:getInterfaceText($interface_name, /page/@lang, 'atea.AudioUpload_SelectFileText')" />
    5376       
    5477        <div id="app"></div>
    5578        <!-- built files will be auto injected -->
    56        
     79
    5780        <gslib:langfrag name="atea" />
    5881        <gsf:script src="interfaces/{$interface_name}/korero-maori-asr/dist/js/chunk-vendors.js"></gsf:script>
Note: See TracChangeset for help on using the changeset viewer.