Changeset 48


Ignore:
Timestamp:
Dec 16, 2011 4:27:18 PM (4 years ago)
Author:
gnum
Message:

Worked on tests, can be created not not much to do with those right now.

Location:
trunk
Files:
8 added
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/activate.php

    r41 r48  
    1616}
    1717
    18 add_subtype('object', 'dmgroup', 'DigiMinaGroup');
    1918add_subtype('object', 'dmcompetencymodel', 'DigiMinaCompetencyModel');
    2019add_subtype('object', 'dmcompetency', 'DigiMinaCompetency');
    2120add_subtype('object', 'dmsubcompetency', 'DigiMinaSubCompetency');
    2221add_subtype('object', 'dmperformancelevel', 'DigiMinaPerformanceLevel');
     22
     23add_subtype('object', 'dmgroup', 'DigiMinaGroup');
     24add_subtype('object', 'dmtest', 'DigiMinaTest');
  • trunk/languages/en.php

    r47 r48  
    1111   
    1212        /*
    13         File: /digimina/mod/digimina/pages/digimina/member.php
    14         Lines: 17
    15         Text: Groups where %s is member
    16         _missing_translation_
    17         */
    18         "digimina:dmgroups:memberof" => "Groups where %s is member",
    19        
    20         /*
    2113        File: /digimina/mod/digimina/pages/digimina/profile.php
    2214        Lines: 20
     
    2719       
    2820        /*
    29         File: /digimina/mod/digimina/actions/digimina/edit.php
    30         File: /digimina/mod/digimina/actions/digimina/edit.php
    31         Lines: 40, 104
    32         Text: Group could not be saved
    33         _missing_translation_
    34         */
    35         "digimina:dmgroup:error:no_save" => "Group could not be saved",
    36        
    37         /*
    38         File: /digimina/mod/digimina/actions/digimina/admin/import_competency_model.php
    39         Lines: 60
    40         Text: There should be 5 unique performance levels, from 1 to 5.
    41         _missing_translation_
    42         */
    43         "digimina:file:performancelevel:notunique" => "There should be 5 unique performance levels, from 1 to 5.",
     21        File: /digimina/mod/digimina/actions/digimina/test/new.php
     22        Lines: 25
     23        Text: New test could not be started.
     24        _missing_translation_
     25        */
     26        "digimina:error:new:test:not:started" => "New test could not be started.",
    4427       
    4528        /*
     
    6043       
    6144        /*
    62         File: /digimina/mod/digimina/lib/digimina.php
    63         File: /digimina/mod/digimina/pages/digimina/edit.php
    64         Lines: 118, 20
    65         Text: Edit group
    66         _missing_translation_
    67         */
    68         "digimina:dmgroup:edit" => "Edit group",
    69        
    70         /*
    71         File: /digimina/mod/digimina/actions/digimina/edit.php
    72         File: /digimina/mod/digimina/actions/digimina/membership/add.php
    73         Lines: 84, 27
    74         Text: Welcome to the %s group!
    75         _missing_translation_
    76         */
    77         "digimina:dmgroup:welcome:subject" => "Welcome to the %s group!",
    78        
    79         /*
    80         File: /digimina/mod/digimina/views/default/digimina/membershiprequests.php
    81         Lines: 49
    82         Text: There are no current membership requests.
    83         _missing_translation_
    84         */
    85         "digimina:dmgroup:requests:none" => "There are no current membership requests.",
    86        
    87         /*
    88         File: /digimina/mod/digimina/views/default/digimina/desk/profile.php
    89         Lines: 16
    90         Text: User information
    91         _missing_translation_
    92         */
    93         "digimina:user_info" => "User information",
    94        
    95         /*
    9645        File: /digimina/mod/digimina/start.php
    9746        File: /digimina/mod/digimina/views/default/forms/digimina/edit.php
    98         Lines: 286, 39
     47        Lines: 293, 39
    9948        Text: closed
    10049        _missing_translation_
     
    10352       
    10453        /*
    105         File: /digimina/mod/digimina/translator/dummy.php
    106         Lines: 22
    107         Text: Taught subjects
    108         _missing_translation_
    109         */
    110         "profile:taughtsubjects" => "Taught subjects",
    111        
    112         /*
    113         File: /digimina/mod/digimina/actions/digimina/edit.php
    114         Lines: 32
    115         Text: Title is required
    116         _missing_translation_
    117         */
    118         "digimina:dmgroup:error:no_title" => "Title is required",
    119        
    120         /*
    121         File: /digimina/mod/digimina/actions/digimina/admin/import_competency_model.php
    122         Lines: 92
    123         Text: Competency model needs title
    124         _missing_translation_
    125         */
    126         "digimina:file:model:notitle" => "Competency model needs title",
    127        
    128         /*
    129         File: /digimina/mod/digimina/views/default/plugins/digimina/usersettings.php
    130         Lines: 22
    131         Text: Groups
    132         _missing_translation_
    133         */
    134         "digimina:visibility:competency_profile_groups" => "Groups",
    135        
    136         /*
    13754        File: /digimina/mod/digimina/start.php
    13855        File: /digimina/mod/digimina/views/default/page/layouts/desk_content.php
    139         Lines: 222, 15
     56        Lines: 229, 15
    14057        Text: My groups
    14158        _missing_translation_
    14259        */
    14360        "digimina:my:groups" => "My groups",
    144        
    145         /*
    146         File: /digimina/mod/digimina/actions/digimina/admin/import_competency_model.php
    147         Lines: 48
    148         Text: Performance level needs description.
    149         _missing_translation_
    150         */
    151         "digimina:file:performancelevel:nodescription" => "Performance level needs description.",
    152        
    153         /*
    154         File: /digimina/mod/digimina/lib/digimina.php
    155         Lines: 150
    156         Text: Join
    157         _missing_translation_
    158         */
    159         "digimina:dmgroup:join" => "Join",
    160        
    161         /*
    162         File: /digimina/mod/digimina/views/default/page/layouts/desk_content.php
    163         Lines: 24
    164         Text: Partner assessments
    165         _missing_translation_
    166         */
    167         "digimina:partner:assessments" => "Partner assessments",
    168        
    169         /*
    170         File: /digimina/mod/digimina/actions/digimina/admin/import_competency_model.php
    171         Lines: 25
    172         Text: Not an XML file.
    173         _missing_translation_
    174         */
    175         "digimina:file:notxml" => "Not an XML file.",
    17661       
    17762        /*
     
    17964        File: /digimina/mod/digimina/pages/digimina/help.php
    18065        File: /digimina/mod/digimina/views/default/plugins/digimina/settings.php
    181         Lines: 258, 12, 28
     66        Lines: 265, 12, 28
    18267        Text: Help
    18368        _missing_translation_
    18469        */
    18570        "digimina:help" => "Help",
    186        
    187         /*
    188         File: /digimina/mod/digimina/pages/digimina/world.php
    189         File: /digimina/mod/digimina/views/default/digimina/desk/groups.php
    190         Lines: 12, 25
    191         Text: All groups
    192         _missing_translation_
    193         */
    194         "digimina:all:dmgroups" => "All groups",
    19571       
    19672        /*
     
    20379       
    20480        /*
    205         File: /digimina/mod/digimina/translator/dummy.php
    206         Lines: 8
    207         Text: Add New Group
    208         _missing_translation_
    209         */
    210         "digimina:add" => "Add New Group",
    211        
    212         /*
    213         File: /digimina/mod/digimina/actions/digimina/membership/join.php
    214         Lines: 59
    215         Text: Could not request to join group
    216         _missing_translation_
    217         */
    218         "digimina:dmgroup:joinrequestnotmade" => "Could not request to join group",
    219        
    220         /*
    221         File: /digimina/mod/digimina/start.php
    222         File: /digimina/mod/digimina/pages/digimina/competencies.php
    223         Lines: 248, 12
    224         Text: Competency Model
    225         _missing_translation_
    226         */
    227         "digimina:competency:model" => "Competency Model",
    228        
    229         /*
    230         File: /digimina/mod/digimina/actions/digimina/membership/join.php
    231         Lines: 56
    232         Text: Requested to join group
    233         _missing_translation_
    234         */
    235         "digimina:dmgroup:joinrequestmade" => "Requested to join group",
     81        File: /digimina/mod/digimina/pages/digimina/test.php
     82        Lines: 23
     83        Text: Self-estimation
     84        _missing_translation_
     85        */
     86        "digimina:title:test:estimate" => "Self-estimation",
     87       
     88        /*
     89        File: /digimina/mod/digimina/views/default/forms/digimina/test/info.php
     90        Lines: 26
     91        Text: Cancel
     92        _missing_translation_
     93        */
     94        "digimina:button:cancel" => "Cancel",
    23695       
    23796        /*
     
    248107       
    249108        /*
    250         File: /digimina/mod/digimina/actions/digimina/admin/import_competency_model.php
    251         Lines: 128
    252         Text: Model could not be created.
    253         _missing_translation_
    254         */
    255         "digimina:file:model:notcreated" => "Model could not be created.",
    256        
    257         /*
    258         File: /digimina/mod/digimina/actions/digimina/admin/import_competency_model.php
    259         Lines: 16
    260         Text: There was an error uploading the file.
    261         _missing_translation_
    262         */
    263         "digimina:file:cannotload" => "There was an error uploading the file.",
    264        
    265         /*
    266         File: /digimina/mod/digimina/actions/digimina/membership/join.php
    267         Lines: 33
    268         Text: You have joined a group
    269         _missing_translation_
    270         */
    271         "digimina:dmgroup:joined" => "You have joined a group",
    272        
    273         /*
    274         File: /digimina/mod/digimina/pages/digimina/add.php
    275         Lines: 15
    276         Text: Add new group
    277         _missing_translation_
    278         */
    279         "digimina:dmgroup:add" => "Add new group",
     109        File: /digimina/mod/digimina/translator/dummy.php
     110        Lines: 22
     111        Text: Taught subjects
     112        _missing_translation_
     113        */
     114        "profile:taughtsubjects" => "Taught subjects",
     115       
     116        /*
     117        File: /digimina/mod/digimina/views/default/digimina/desk/tests.php
     118        Lines: 27
     119        Text: Start new test
     120        _missing_translation_
     121        */
     122        "digimina:start_new_test" => "Start new test",
    280123       
    281124        /*
    282125        File: /digimina/mod/digimina/start.php
    283126        File: /digimina/mod/digimina/views/default/forms/digimina/edit.php
    284         Lines: 289, 41
     127        Lines: 296, 41
    285128        Text: opened
    286129        _missing_translation_
    287130        */
    288131        "digimina:membership:opened" => "opened",
    289        
    290         /*
    291         File: /digimina/mod/digimina/actions/digimina/admin/import_competency_model.php
    292         Lines: 65
    293         Text: Sub competency needs 5 performance levels.
    294         _missing_translation_
    295         */
    296         "digimina:file:subcompetency:performancelevelerror" => "Sub competency needs 5 performance levels.",
    297        
    298         /*
    299         File: /digimina/mod/digimina/translator/dummy.php
    300         Lines: 24
    301         Text: Groups
    302         _missing_translation_
    303         */
    304         "item:object:dmgroup" => "Groups",
    305132       
    306133        /*
     
    321148       
    322149        /*
     150        File: /digimina/mod/digimina/translator/dummy.php
     151        Lines: 10
     152        Text: Name
     153        _missing_translation_
     154        */
     155        "digimina:label:title" => "Name",
     156       
     157        /*
     158        File: /digimina/mod/digimina/actions/digimina/admin/import_competency_model.php
     159        Lines: 10
     160        Text: Competency has already been set.
     161        _missing_translation_
     162        */
     163        "digimina:file:competency:model:already:set" => "Competency has already been set.",
     164       
     165        /*
     166        File: /digimina/mod/digimina/views/default/page/layouts/desk_content.php
     167        Lines: 13
     168        Text: My tests
     169        _missing_translation_
     170        */
     171        "digimina:my:tests" => "My tests",
     172       
     173        /*
     174        File: /digimina/mod/digimina/actions/digimina/admin/import_competency_model.php
     175        Lines: 132
     176        Text: You must select a file.
     177        _missing_translation_
     178        */
     179        "digimina:file:nofile" => "You must select a file.",
     180       
     181        /*
     182        File: /digimina/mod/digimina/lib/digimina.php
     183        Lines: 154
     184        Text: Request membership
     185        _missing_translation_
     186        */
     187        "digimina:dmgroup:joinrequest" => "Request membership",
     188       
     189        /*
    323190        File: /digimina/mod/digimina/views/default/plugins/digimina/usersettings.php
    324191        Lines: 20
     
    330197        /*
    331198        File: /digimina/mod/digimina/views/default/forms/digimina/edit.php
    332         Lines: 49
    333         Text: Closed group is best suited for school or study group, opened group is best suited for broader open teacher community (e.g. 'Teachers of Saaremaa').
    334         _missing_translation_
    335         */
    336         "digimina:membership:type:explanation" => "Closed group is best suited for school or study group, opened group is best suited for broader open teacher community (e.g. 'Teachers of Saaremaa').",
    337        
    338         /*
    339         File: /digimina/mod/digimina/start.php
    340         Lines: 213
    341         Text: Groups I own
    342         _missing_translation_
    343         */
    344         "digimina:dmgroups:owned" => "Groups I own",
    345        
    346         /*
    347         File: /digimina/mod/digimina/actions/digimina/delete.php
    348         Lines: 16
    349         Text: Group removed
    350         _missing_translation_
    351         */
    352         "digimina:dmgroup:delete:success" => "Group removed",
    353        
    354         /*
    355         File: /digimina/mod/digimina/actions/digimina/membership/leave.php
    356         Lines: 22
    357         Text: Successfully left group
    358         _missing_translation_
    359         */
    360         "digimina:dmgroup:left" => "Successfully left group",
     199        Lines: 32
     200        Text: Type
     201        _missing_translation_
     202        */
     203        "digimina:title:membership" => "Type",
     204       
     205        /*
     206        File: /digimina/mod/digimina/views/default/plugins/digimina/usersettings.php
     207        Lines: 15
     208        Text: Competency profile visibility
     209        _missing_translation_
     210        */
     211        "digimina:usersettings:show_competency_profile" => "Competency profile visibility",
     212       
     213        /*
     214        File: /digimina/mod/digimina/actions/digimina/edit.php
     215        File: /digimina/mod/digimina/actions/digimina/edit.php
     216        Lines: 40, 104
     217        Text: Group could not be saved
     218        _missing_translation_
     219        */
     220        "digimina:dmgroup:error:no_save" => "Group could not be saved",
    361221       
    362222        /*
     
    376236       
    377237        /*
     238        File: /digimina/mod/digimina/views/default/forms/digimina/edit.php
     239        Lines: 49
     240        Text: Closed group is best suited for school or study group, opened group is best suited for broader open teacher community (e.g. 'Teachers of Saaremaa').
     241        _missing_translation_
     242        */
     243        "digimina:membership:type:explanation" => "Closed group is best suited for school or study group, opened group is best suited for broader open teacher community (e.g. 'Teachers of Saaremaa').",
     244       
     245        /*
     246        File: /digimina/mod/digimina/actions/digimina/admin/import_competency_model.php
     247        Lines: 60
     248        Text: There should be 5 unique performance levels, from 1 to 5.
     249        _missing_translation_
     250        */
     251        "digimina:file:performancelevel:notunique" => "There should be 5 unique performance levels, from 1 to 5.",
     252       
     253        /*
     254        File: /digimina/mod/digimina/actions/digimina/admin/import_competency_model.php
     255        Lines: 48
     256        Text: Performance level needs description.
     257        _missing_translation_
     258        */
     259        "digimina:file:performancelevel:nodescription" => "Performance level needs description.",
     260       
     261        /*
     262        File: /digimina/mod/digimina/actions/digimina/delete.php
     263        Lines: 16
     264        Text: Group removed
     265        _missing_translation_
     266        */
     267        "digimina:dmgroup:delete:success" => "Group removed",
     268       
     269        /*
     270        File: /digimina/mod/digimina/actions/digimina/membership/leave.php
     271        Lines: 22
     272        Text: Successfully left group
     273        _missing_translation_
     274        */
     275        "digimina:dmgroup:left" => "Successfully left group",
     276       
     277        /*
     278        File: /digimina/mod/digimina/views/default/forms/digimina/test/info.php
     279        Lines: 23
     280        Text: Proceed
     281        _missing_translation_
     282        */
     283        "digimina:button:proceed" => "Proceed",
     284       
     285        /*
     286        File: /digimina/mod/digimina/lib/digimina.php
     287        Lines: 150
     288        Text: Join
     289        _missing_translation_
     290        */
     291        "digimina:dmgroup:join" => "Join",
     292       
     293        /*
     294        File: /digimina/mod/digimina/actions/digimina/membership/join.php
     295        Lines: 33
     296        Text: You have joined a group
     297        _missing_translation_
     298        */
     299        "digimina:dmgroup:joined" => "You have joined a group",
     300       
     301        /*
     302        File: /digimina/mod/digimina/actions/digimina/membership/join.php
     303        File: /digimina/mod/digimina/actions/digimina/membership/join.php
     304        Lines: 37, 64
     305        Text: Can not join group
     306        _missing_translation_
     307        */
     308        "digimina:dmgroup:cantjoin" => "Can not join group",
     309       
     310        /*
     311        File: /digimina/mod/digimina/actions/digimina/admin/import_competency_model.php
     312        Lines: 65
     313        Text: Sub competency needs 5 performance levels.
     314        _missing_translation_
     315        */
     316        "digimina:file:subcompetency:performancelevelerror" => "Sub competency needs 5 performance levels.",
     317       
     318        /*
     319        File: /digimina/mod/digimina/pages/digimina/world.php
     320        File: /digimina/mod/digimina/views/default/digimina/desk/groups.php
     321        Lines: 12, 25
     322        Text: All groups
     323        _missing_translation_
     324        */
     325        "digimina:all:dmgroups" => "All groups",
     326       
     327        /*
    378328        File: /digimina/mod/digimina/actions/digimina/admin/import_competency_model.php
    379329        Lines: 70
     
    392342       
    393343        /*
     344        File: /digimina/mod/digimina/actions/digimina/test/new.php
     345        Lines: 10
     346        Text: You already have an ongoing test. Only one ongoing test at a time is allowed.
     347        _missing_translation_
     348        */
     349        "digimina:can:not:start:new:test" => "You already have an ongoing test. Only one ongoing test at a time is allowed.",
     350       
     351        /*
     352        File: /digimina/mod/digimina/pages/digimina/test.php
     353        Lines: 19
     354        Text: About competency test
     355        _missing_translation_
     356        */
     357        "digimina:title:test:info" => "About competency test",
     358       
     359        /*
     360        File: /digimina/mod/digimina/start.php
     361        File: /digimina/mod/digimina/pages/digimina/desk.php
     362        Lines: 207, 18
     363        Text: Desk
     364        _missing_translation_
     365        */
     366        "digimina:desk" => "Desk",
     367       
     368        /*
     369        File: /digimina/mod/digimina/actions/digimina/edit.php
     370        Lines: 62
     371        Text: Group saved
     372        _missing_translation_
     373        */
     374        "digimina:dmgroup:saved" => "Group saved",
     375       
     376        /*
     377        File: /digimina/mod/digimina/translator/dummy.php
     378        Lines: 20
     379        Text: ePortfolio (URL)
     380        _missing_translation_
     381        */
     382        "profile:eportfolio" => "ePortfolio (URL)",
     383       
     384        /*
     385        File: /digimina/mod/digimina/views/default/plugins/digimina/usersettings.php
     386        Lines: 22
     387        Text: Groups
     388        _missing_translation_
     389        */
     390        "digimina:visibility:competency_profile_groups" => "Groups",
     391       
     392        /*
     393        File: /digimina/mod/digimina/actions/digimina/membership/leave.php
     394        File: /digimina/mod/digimina/actions/digimina/membership/leave.php
     395        File: /digimina/mod/digimina/actions/digimina/membership/leave.php
     396        Lines: 25, 29, 33
     397        Text: Could not leave group
     398        _missing_translation_
     399        */
     400        "digimina:dmgroup:cantleave" => "Could not leave group",
     401       
     402        /*
     403        File: /digimina/mod/digimina/start.php
     404        Lines: 309
     405        Text: %s members
     406        _missing_translation_
     407        */
     408        "digimina:dmgroup:members:count" => "%s members",
     409       
     410        /*
    394411        File: /digimina/mod/digimina/views/default/page/layouts/desk_content.php
    395         Lines: 26
    396         Text: My competency profile
    397         _missing_translation_
    398         */
    399         "digimina:my:competency:profile" => "My competency profile",
     412        Lines: 24
     413        Text: Partner assessments
     414        _missing_translation_
     415        */
     416        "digimina:partner:assessments" => "Partner assessments",
     417       
     418        /*
     419        File: /digimina/mod/digimina/actions/digimina/test/new.php
     420        Lines: 21
     421        Text: You have started a new test.
     422        _missing_translation_
     423        */
     424        "digimina:new:test:started" => "You have started a new test.",
     425       
     426        /*
     427        File: /digimina/mod/digimina/actions/digimina/membership/join.php
     428        Lines: 56
     429        Text: Requested to join group
     430        _missing_translation_
     431        */
     432        "digimina:dmgroup:joinrequestmade" => "Requested to join group",
     433       
     434        /*
     435        File: /digimina/mod/digimina/lib/digimina.php
     436        Lines: 135
     437        Text: Leave
     438        _missing_translation_
     439        */
     440        "digimina:dmgroup:leave" => "Leave",
     441       
     442        /*
     443        File: /digimina/mod/digimina/start.php
     444        Lines: 220
     445        Text: Groups I own
     446        _missing_translation_
     447        */
     448        "digimina:dmgroups:owned" => "Groups I own",
     449       
     450        /*
     451        File: /digimina/mod/digimina/start.php
     452        File: /digimina/mod/digimina/views/default/digimina/desk/profile.php
     453        Lines: 213, 26
     454        Text: Competency profile
     455        _missing_translation_
     456        */
     457        "digimina:competency_profile" => "Competency profile",
     458       
     459        /*
     460        File: /digimina/mod/digimina/views/default/digimina/membershiprequests.php
     461        Lines: 34
     462        Text: Are you sure you want to remove this join request?
     463        _missing_translation_
     464        */
     465        "digimina:dmgroup:joinrequest:remove:check" => "Are you sure you want to remove this join request?",
     466       
     467        /*
     468        File: /digimina/mod/digimina/pages/digimina/owner.php
     469        Lines: 17
     470        Text: Groups of %s
     471        _missing_translation_
     472        */
     473        "digimina:dmgroups:owner" => "Groups of %s",
     474       
     475        /*
     476        File: /digimina/mod/digimina/lib/digimina.php
     477        File: /digimina/mod/digimina/pages/digimina/edit.php
     478        Lines: 118, 20
     479        Text: Edit group
     480        _missing_translation_
     481        */
     482        "digimina:dmgroup:edit" => "Edit group",
     483       
     484        /*
     485        File: /digimina/mod/digimina/actions/digimina/admin/import_competency_model.php
     486        Lines: 87
     487        Text: Competency model needs at least one competency
     488        _missing_translation_
     489        */
     490        "digimina:file:model:nocompetencies" => "Competency model needs at least one competency",
     491       
     492        /*
     493        File: /digimina/mod/digimina/translator/dummy.php
     494        Lines: 16
     495        Text: Competency Model
     496        _missing_translation_
     497        */
     498        "admin:digimina:competencymodel" => "Competency Model",
     499       
     500        /*
     501        File: /digimina/mod/digimina/actions/digimina/membership/delete_request.php
     502        Lines: 18
     503        Text: The join request has been deleted.
     504        _missing_translation_
     505        */
     506        "digimina:dmgroup:joinrequestkilled" => "The join request has been deleted.",
     507       
     508        /*
     509        File: /digimina/mod/digimina/actions/digimina/membership/remove.php
     510        Lines: 21
     511        Text: Successfully removed %s from group
     512        _missing_translation_
     513        */
     514        "digimina:dmgroup:removed" => "Successfully removed %s from group",
     515       
     516        /*
     517        File: /digimina/mod/digimina/start.php
     518        File: /digimina/mod/digimina/pages/digimina/requests.php
     519        Lines: 241, 21
     520        Text: Manage join requests
     521        _missing_translation_
     522        */
     523        "digimina:dmgroup:membershiprequests" => "Manage join requests",
     524       
     525        /*
     526        File: /digimina/mod/digimina/views/default/forms/digimina/competencymodel.php
     527        Lines: 12
     528        Text: Competency model XML
     529        _missing_translation_
     530        */
     531        "digimina:title:cometency:model:xml:file" => "Competency model XML",
     532       
     533        /*
     534        File: /digimina/mod/digimina/pages/digimina/test.php
     535        Lines: 11
     536        Text: There are no ongoing tests at the moment.
     537        _missing_translation_
     538        */
     539        "digimina:no:ongoing:tests" => "There are no ongoing tests at the moment.",
     540       
     541        /*
     542        File: /digimina/mod/digimina/pages/digimina/member.php
     543        Lines: 17
     544        Text: Groups where %s is member
     545        _missing_translation_
     546        */
     547        "digimina:dmgroups:memberof" => "Groups where %s is member",
     548       
     549        /*
     550        File: /digimina/mod/digimina/pages/digimina/member.php
     551        File: /digimina/mod/digimina/pages/digimina/owner.php
     552        File: /digimina/mod/digimina/pages/digimina/world.php
     553        Lines: 32, 30, 24
     554        Text: No groups found
     555        _missing_translation_
     556        */
     557        "digimina:dmgroup:none" => "No groups found",
     558       
     559        /*
     560        File: /digimina/mod/digimina/actions/digimina/edit.php
     561        File: /digimina/mod/digimina/actions/digimina/membership/add.php
     562        Lines: 84, 27
     563        Text: Welcome to the %s group!
     564        _missing_translation_
     565        */
     566        "digimina:dmgroup:welcome:subject" => "Welcome to the %s group!",
     567       
     568        /*
     569        File: /digimina/mod/digimina/actions/digimina/edit.php
     570        Lines: 32
     571        Text: Title is required
     572        _missing_translation_
     573        */
     574        "digimina:dmgroup:error:no_title" => "Title is required",
     575       
     576        /*
     577        File: /digimina/mod/digimina/pages/digimina/add.php
     578        Lines: 15
     579        Text: Add new group
     580        _missing_translation_
     581        */
     582        "digimina:dmgroup:add" => "Add new group",
     583       
     584        /*
     585        File: /digimina/mod/digimina/views/default/digimina/membershiprequests.php
     586        Lines: 49
     587        Text: There are no current membership requests.
     588        _missing_translation_
     589        */
     590        "digimina:dmgroup:requests:none" => "There are no current membership requests.",
     591       
     592        /*
     593        File: /digimina/mod/digimina/actions/digimina/admin/import_competency_model.php
     594        Lines: 25
     595        Text: Not an XML file.
     596        _missing_translation_
     597        */
     598        "digimina:file:notxml" => "Not an XML file.",
     599       
     600        /*
     601        File: /digimina/mod/digimina/translator/dummy.php
     602        Lines: 8
     603        Text: Add New Group
     604        _missing_translation_
     605        */
     606        "digimina:add" => "Add New Group",
     607       
     608        /*
     609        File: /digimina/mod/digimina/actions/digimina/membership/join.php
     610        Lines: 59
     611        Text: Could not request to join group
     612        _missing_translation_
     613        */
     614        "digimina:dmgroup:joinrequestnotmade" => "Could not request to join group",
     615       
     616        /*
     617        File: /digimina/mod/digimina/start.php
     618        File: /digimina/mod/digimina/pages/digimina/competencies.php
     619        Lines: 255, 12
     620        Text: Competency Model
     621        _missing_translation_
     622        */
     623        "digimina:competency:model" => "Competency Model",
     624       
     625        /*
     626        File: /digimina/mod/digimina/actions/digimina/admin/import_competency_model.php
     627        Lines: 128
     628        Text: Model could not be created.
     629        _missing_translation_
     630        */
     631        "digimina:file:model:notcreated" => "Model could not be created.",
     632       
     633        /*
     634        File: /digimina/mod/digimina/actions/digimina/admin/import_competency_model.php
     635        Lines: 16
     636        Text: There was an error uploading the file.
     637        _missing_translation_
     638        */
     639        "digimina:file:cannotload" => "There was an error uploading the file.",
     640       
     641        /*
     642        File: /digimina/mod/digimina/translator/dummy.php
     643        Lines: 18
     644        Text: Homepage (URL)
     645        _missing_translation_
     646        */
     647        "profile:homepage" => "Homepage (URL)",
     648       
     649        /*
     650        File: /digimina/mod/digimina/translator/dummy.php
     651        Lines: 24
     652        Text: Groups
     653        _missing_translation_
     654        */
     655        "item:object:dmgroup" => "Groups",
     656       
     657        /*
     658        File: /digimina/mod/digimina/actions/digimina/admin/import_competency_model.php
     659        Lines: 92
     660        Text: Competency model needs title
     661        _missing_translation_
     662        */
     663        "digimina:file:model:notitle" => "Competency model needs title",
     664       
     665        /*
     666        File: /digimina/mod/digimina/views/default/digimina/desk/profile.php
     667        Lines: 16
     668        Text: User information
     669        _missing_translation_
     670        */
     671        "digimina:user_info" => "User information",
    400672       
    401673        /*
     
    403675        File: /digimina/mod/digimina/pages/digimina/examples.php
    404676        File: /digimina/mod/digimina/views/default/plugins/digimina/settings.php
    405         Lines: 253, 12, 18
     677        Lines: 260, 12, 18
    406678        Text: Examples
    407679        _missing_translation_
     
    420692       
    421693        /*
    422         File: /digimina/mod/digimina/start.php
    423         File: /digimina/mod/digimina/views/default/digimina/desk/profile.php
    424         Lines: 206, 26
    425         Text: Competency profile
    426         _missing_translation_
    427         */
    428         "digimina:competency_profile" => "Competency profile",
    429        
    430         /*
    431         File: /digimina/mod/digimina/views/default/digimina/membershiprequests.php
    432         Lines: 34
    433         Text: Are you sure you want to remove this join request?
    434         _missing_translation_
    435         */
    436         "digimina:dmgroup:joinrequest:remove:check" => "Are you sure you want to remove this join request?",
    437        
    438         /*
    439         File: /digimina/mod/digimina/pages/digimina/owner.php
    440         Lines: 17
    441         Text: Groups of %s
    442         _missing_translation_
    443         */
    444         "digimina:dmgroups:owner" => "Groups of %s",
    445        
    446         /*
    447         File: /digimina/mod/digimina/translator/dummy.php
    448         Lines: 10
    449         Text: Name
    450         _missing_translation_
    451         */
    452         "digimina:label:title" => "Name",
    453        
    454         /*
    455694        File: /digimina/mod/digimina/actions/digimina/membership/join.php
    456695        Lines: 45
     
    461700       
    462701        /*
    463         File: /digimina/mod/digimina/pages/digimina/member.php
    464         File: /digimina/mod/digimina/pages/digimina/owner.php
    465         File: /digimina/mod/digimina/pages/digimina/world.php
    466         Lines: 32, 30, 24
    467         Text: No groups found
    468         _missing_translation_
    469         */
    470         "digimina:dmgroup:none" => "No groups found",
    471        
    472         /*
    473         File: /digimina/mod/digimina/actions/digimina/admin/import_competency_model.php
    474         Lines: 87
    475         Text: Competency model needs at least one competency
    476         _missing_translation_
    477         */
    478         "digimina:file:model:nocompetencies" => "Competency model needs at least one competency",
    479        
    480         /*
    481         File: /digimina/mod/digimina/actions/digimina/admin/import_competency_model.php
    482         Lines: 10
    483         Text: Competency has already been set.
    484         _missing_translation_
    485         */
    486         "digimina:file:competency:model:already:set" => "Competency has already been set.",
    487        
    488         /*
    489         File: /digimina/mod/digimina/translator/dummy.php
    490         Lines: 16
    491         Text: Competency Model
    492         _missing_translation_
    493         */
    494         "admin:digimina:competencymodel" => "Competency Model",
    495        
    496         /*
    497         File: /digimina/mod/digimina/actions/digimina/membership/delete_request.php
    498         Lines: 18
    499         Text: The join request has been deleted.
    500         _missing_translation_
    501         */
    502         "digimina:dmgroup:joinrequestkilled" => "The join request has been deleted.",
    503        
    504         /*
    505702        File: /digimina/mod/digimina/views/default/plugins/digimina/usersettings.php
    506703        Lines: 24
     
    511708       
    512709        /*
    513         File: /digimina/mod/digimina/lib/digimina.php
    514         Lines: 154
    515         Text: Request membership
    516         _missing_translation_
    517         */
    518         "digimina:dmgroup:joinrequest" => "Request membership",
    519        
    520         /*
    521710        File: /digimina/mod/digimina/views/default/page/layouts/desk_content.php
    522         Lines: 13
    523         Text: My tests
    524         _missing_translation_
    525         */
    526         "digimina:my:tests" => "My tests",
    527        
    528         /*
    529         File: /digimina/mod/digimina/actions/digimina/admin/import_competency_model.php
    530         Lines: 132
    531         Text: You must select a file.
    532         _missing_translation_
    533         */
    534         "digimina:file:nofile" => "You must select a file.",
    535        
    536         /*
    537         File: /digimina/mod/digimina/actions/digimina/membership/remove.php
    538         Lines: 21
    539         Text: Successfully removed %s from group
    540         _missing_translation_
    541         */
    542         "digimina:dmgroup:removed" => "Successfully removed %s from group",
    543        
    544         /*
    545         File: /digimina/mod/digimina/start.php
    546         File: /digimina/mod/digimina/pages/digimina/requests.php
    547         Lines: 234, 21
    548         Text: Manage join requests
    549         _missing_translation_
    550         */
    551         "digimina:dmgroup:membershiprequests" => "Manage join requests",
    552        
    553         /*
    554         File: /digimina/mod/digimina/start.php
    555         File: /digimina/mod/digimina/pages/digimina/desk.php
    556         Lines: 200, 18
    557         Text: Desk
    558         _missing_translation_
    559         */
    560         "digimina:desk" => "Desk",
    561        
    562         /*
    563         File: /digimina/mod/digimina/actions/digimina/edit.php
    564         Lines: 62
    565         Text: Group saved
    566         _missing_translation_
    567         */
    568         "digimina:dmgroup:saved" => "Group saved",
     711        Lines: 26
     712        Text: My competency profile
     713        _missing_translation_
     714        */
     715        "digimina:my:competency:profile" => "My competency profile",
    569716       
    570717        /*
     
    578725        /*
    579726        File: /digimina/mod/digimina/translator/dummy.php
    580         Lines: 20
    581         Text: ePortfolio (URL)
    582         _missing_translation_
    583         */
    584         "profile:eportfolio" => "ePortfolio (URL)",
    585        
    586         /*
    587         File: /digimina/mod/digimina/translator/dummy.php
    588         Lines: 18
    589         Text: Homepage (URL)
    590         _missing_translation_
    591         */
    592         "profile:homepage" => "Homepage (URL)",
    593        
    594         /*
    595         File: /digimina/mod/digimina/actions/digimina/membership/join.php
    596         File: /digimina/mod/digimina/actions/digimina/membership/join.php
    597         Lines: 37, 64
    598         Text: Can not join group
    599         _missing_translation_
    600         */
    601         "digimina:dmgroup:cantjoin" => "Can not join group",
    602        
    603         /*
    604         File: /digimina/mod/digimina/views/default/digimina/desk/tests.php
    605         Lines: 13
    606         Text: Start new test
    607         _missing_translation_
    608         */
    609         "digimina:start_new_test" => "Start new test",
    610        
    611         /*
    612         File: /digimina/mod/digimina/translator/dummy.php
    613727        Lines: 12
    614728        Text: Description
     
    616730        */
    617731        "digimina:label:description" => "Description",
    618        
    619         /*
    620         File: /digimina/mod/digimina/views/default/forms/digimina/edit.php
    621         Lines: 32
    622         Text: Type
    623         _missing_translation_
    624         */
    625         "digimina:title:membership" => "Type",
    626        
    627         /*
    628         File: /digimina/mod/digimina/views/default/plugins/digimina/usersettings.php
    629         Lines: 15
    630         Text: Competency profile visibility
    631         _missing_translation_
    632         */
    633         "digimina:usersettings:show_competency_profile" => "Competency profile visibility",
    634        
    635         /*
    636         File: /digimina/mod/digimina/lib/digimina.php
    637         Lines: 135
    638         Text: Leave
    639         _missing_translation_
    640         */
    641         "digimina:dmgroup:leave" => "Leave",
    642        
    643         /*
    644         File: /digimina/mod/digimina/actions/digimina/membership/leave.php
    645         File: /digimina/mod/digimina/actions/digimina/membership/leave.php
    646         File: /digimina/mod/digimina/actions/digimina/membership/leave.php
    647         Lines: 25, 29, 33
    648         Text: Could not leave group
    649         _missing_translation_
    650         */
    651         "digimina:dmgroup:cantleave" => "Could not leave group",
    652        
    653         /*
    654         File: /digimina/mod/digimina/views/default/forms/digimina/competencymodel.php
    655         Lines: 12
    656         Text: Competency model XML
    657         _missing_translation_
    658         */
    659         "digimina:title:cometency:model:xml:file" => "Competency model XML",
    660        
    661         /*
    662         File: /digimina/mod/digimina/start.php
    663         Lines: 302
    664         Text: %s members
    665         _missing_translation_
    666         */
    667         "digimina:dmgroup:members:count" => "%s members",
    668732       
    669733    );
  • trunk/languages/et.php

    r47 r48  
    1111   
    1212        /*
    13         File: /digimina/mod/digimina/pages/digimina/member.php
    14         Lines: 17
    15         Text: Groups where %s is member
    16         _missing_translation_
    17         */
    18         "digimina:dmgroups:memberof" => "Groups where %s is member",
    19        
    20         /*
    2113        File: /digimina/mod/digimina/pages/digimina/profile.php
    2214        Lines: 20
     
    2719       
    2820        /*
    29         File: /digimina/mod/digimina/actions/digimina/edit.php
    30         File: /digimina/mod/digimina/actions/digimina/edit.php
    31         Lines: 40, 104
    32         Text: Group could not be saved
    33         _missing_translation_
    34         */
    35         "digimina:dmgroup:error:no_save" => "Group could not be saved",
    36        
    37         /*
    38         File: /digimina/mod/digimina/actions/digimina/admin/import_competency_model.php
    39         Lines: 60
    40         Text: There should be 5 unique performance levels, from 1 to 5.
    41         _missing_translation_
    42         */
    43         "digimina:file:performancelevel:notunique" => "There should be 5 unique performance levels, from 1 to 5.",
     21        File: /digimina/mod/digimina/actions/digimina/test/new.php
     22        Lines: 25
     23        Text: New test could not be started.
     24        _missing_translation_
     25        */
     26        "digimina:error:new:test:not:started" => "New test could not be started.",
    4427       
    4528        /*
     
    6043       
    6144        /*
    62         File: /digimina/mod/digimina/lib/digimina.php
    63         File: /digimina/mod/digimina/pages/digimina/edit.php
    64         Lines: 118, 20
    65         Text: Edit group
    66         _missing_translation_
    67         */
    68         "digimina:dmgroup:edit" => "Edit group",
    69        
    70         /*
    71         File: /digimina/mod/digimina/actions/digimina/edit.php
    72         File: /digimina/mod/digimina/actions/digimina/membership/add.php
    73         Lines: 84, 27
    74         Text: Welcome to the %s group!
    75         _missing_translation_
    76         */
    77         "digimina:dmgroup:welcome:subject" => "Welcome to the %s group!",
    78        
    79         /*
    80         File: /digimina/mod/digimina/views/default/digimina/membershiprequests.php
    81         Lines: 49
    82         Text: There are no current membership requests.
    83         _missing_translation_
    84         */
    85         "digimina:dmgroup:requests:none" => "There are no current membership requests.",
    86        
    87         /*
    88         File: /digimina/mod/digimina/views/default/digimina/desk/profile.php
    89         Lines: 16
    90         Text: User information
    91         _missing_translation_
    92         */
    93         "digimina:user_info" => "User information",
    94        
    95         /*
    9645        File: /digimina/mod/digimina/start.php
    9746        File: /digimina/mod/digimina/views/default/forms/digimina/edit.php
    98         Lines: 286, 39
     47        Lines: 293, 39
    9948        Text: closed
    10049        _missing_translation_
     
    10352       
    10453        /*
    105         File: /digimina/mod/digimina/translator/dummy.php
    106         Lines: 22
    107         Text: Taught subjects
    108         _missing_translation_
    109         */
    110         "profile:taughtsubjects" => "Taught subjects",
    111        
    112         /*
    113         File: /digimina/mod/digimina/actions/digimina/edit.php
    114         Lines: 32
    115         Text: Title is required
    116         _missing_translation_
    117         */
    118         "digimina:dmgroup:error:no_title" => "Title is required",
    119        
    120         /*
    121         File: /digimina/mod/digimina/actions/digimina/admin/import_competency_model.php
    122         Lines: 92
    123         Text: Competency model needs title
    124         _missing_translation_
    125         */
    126         "digimina:file:model:notitle" => "Competency model needs title",
    127        
    128         /*
    129         File: /digimina/mod/digimina/views/default/plugins/digimina/usersettings.php
    130         Lines: 22
    131         Text: Groups
    132         _missing_translation_
    133         */
    134         "digimina:visibility:competency_profile_groups" => "Groups",
    135        
    136         /*
    13754        File: /digimina/mod/digimina/start.php
    13855        File: /digimina/mod/digimina/views/default/page/layouts/desk_content.php
    139         Lines: 222, 15
     56        Lines: 229, 15
    14057        Text: My groups
    14158        _missing_translation_
    14259        */
    14360        "digimina:my:groups" => "My groups",
    144        
    145         /*
    146         File: /digimina/mod/digimina/actions/digimina/admin/import_competency_model.php
    147         Lines: 48
    148         Text: Performance level needs description.
    149         _missing_translation_
    150         */
    151         "digimina:file:performancelevel:nodescription" => "Performance level needs description.",
    152        
    153         /*
    154         File: /digimina/mod/digimina/lib/digimina.php
    155         Lines: 150
    156         Text: Join
    157         _missing_translation_
    158         */
    159         "digimina:dmgroup:join" => "Join",
    160        
    161         /*
    162         File: /digimina/mod/digimina/views/default/page/layouts/desk_content.php
    163         Lines: 24
    164         Text: Partner assessments
    165         _missing_translation_
    166         */
    167         "digimina:partner:assessments" => "Partner assessments",
    168        
    169         /*
    170         File: /digimina/mod/digimina/actions/digimina/admin/import_competency_model.php
    171         Lines: 25
    172         Text: Not an XML file.
    173         _missing_translation_
    174         */
    175         "digimina:file:notxml" => "Not an XML file.",
    17661       
    17762        /*
     
    17964        File: /digimina/mod/digimina/pages/digimina/help.php
    18065        File: /digimina/mod/digimina/views/default/plugins/digimina/settings.php
    181         Lines: 258, 12, 28
     66        Lines: 265, 12, 28
    18267        Text: Help
    18368        _missing_translation_
    18469        */
    18570        "digimina:help" => "Help",
    186        
    187         /*
    188         File: /digimina/mod/digimina/pages/digimina/world.php
    189         File: /digimina/mod/digimina/views/default/digimina/desk/groups.php
    190         Lines: 12, 25
    191         Text: All groups
    192         _missing_translation_
    193         */
    194         "digimina:all:dmgroups" => "All groups",
    19571       
    19672        /*
     
    20379       
    20480        /*
    205         File: /digimina/mod/digimina/translator/dummy.php
    206         Lines: 8
    207         Text: Add New Group
    208         _missing_translation_
    209         */
    210         "digimina:add" => "Add New Group",
    211        
    212         /*
    213         File: /digimina/mod/digimina/actions/digimina/membership/join.php
    214         Lines: 59
    215         Text: Could not request to join group
    216         _missing_translation_
    217         */
    218         "digimina:dmgroup:joinrequestnotmade" => "Could not request to join group",
    219        
    220         /*
    221         File: /digimina/mod/digimina/start.php
    222         File: /digimina/mod/digimina/pages/digimina/competencies.php
    223         Lines: 248, 12
    224         Text: Competency Model
    225         _missing_translation_
    226         */
    227         "digimina:competency:model" => "Competency Model",
    228        
    229         /*
    230         File: /digimina/mod/digimina/actions/digimina/membership/join.php
    231         Lines: 56
    232         Text: Requested to join group
    233         _missing_translation_
    234         */
    235         "digimina:dmgroup:joinrequestmade" => "Requested to join group",
     81        File: /digimina/mod/digimina/pages/digimina/test.php
     82        Lines: 23
     83        Text: Self-estimation
     84        _missing_translation_
     85        */
     86        "digimina:title:test:estimate" => "Self-estimation",
     87       
     88        /*
     89        File: /digimina/mod/digimina/views/default/forms/digimina/test/info.php
     90        Lines: 26
     91        Text: Cancel
     92        _missing_translation_
     93        */
     94        "digimina:button:cancel" => "Cancel",
    23695       
    23796        /*
     
    248107       
    249108        /*
    250         File: /digimina/mod/digimina/actions/digimina/admin/import_competency_model.php
    251         Lines: 128
    252         Text: Model could not be created.
    253         _missing_translation_
    254         */
    255         "digimina:file:model:notcreated" => "Model could not be created.",
    256        
    257         /*
    258         File: /digimina/mod/digimina/actions/digimina/admin/import_competency_model.php
    259         Lines: 16
    260         Text: There was an error uploading the file.
    261         _missing_translation_
    262         */
    263         "digimina:file:cannotload" => "There was an error uploading the file.",
    264        
    265         /*
    266         File: /digimina/mod/digimina/actions/digimina/membership/join.php
    267         Lines: 33
    268         Text: You have joined a group
    269         _missing_translation_
    270         */
    271         "digimina:dmgroup:joined" => "You have joined a group",
    272        
    273         /*
    274         File: /digimina/mod/digimina/pages/digimina/add.php
    275         Lines: 15
    276         Text: Add new group
    277         _missing_translation_
    278         */
    279         "digimina:dmgroup:add" => "Add new group",
     109        File: /digimina/mod/digimina/translator/dummy.php
     110        Lines: 22
     111        Text: Taught subjects
     112        _missing_translation_
     113        */
     114        "profile:taughtsubjects" => "Taught subjects",
     115       
     116        /*
     117        File: /digimina/mod/digimina/views/default/digimina/desk/tests.php
     118        Lines: 27
     119        Text: Start new test
     120        _missing_translation_
     121        */
     122        "digimina:start_new_test" => "Start new test",
    280123       
    281124        /*
    282125        File: /digimina/mod/digimina/start.php
    283126        File: /digimina/mod/digimina/views/default/forms/digimina/edit.php
    284         Lines: 289, 41
     127        Lines: 296, 41
    285128        Text: opened
    286129        _missing_translation_
    287130        */
    288131        "digimina:membership:opened" => "opened",
    289        
    290         /*
    291         File: /digimina/mod/digimina/actions/digimina/admin/import_competency_model.php
    292         Lines: 65
    293         Text: Sub competency needs 5 performance levels.
    294         _missing_translation_
    295         */
    296         "digimina:file:subcompetency:performancelevelerror" => "Sub competency needs 5 performance levels.",
    297        
    298         /*
    299         File: /digimina/mod/digimina/translator/dummy.php
    300         Lines: 24
    301         Text: Groups
    302         _missing_translation_
    303         */
    304         "item:object:dmgroup" => "Groups",
    305132       
    306133        /*
     
    321148       
    322149        /*
     150        File: /digimina/mod/digimina/translator/dummy.php
     151        Lines: 10
     152        Text: Name
     153        _missing_translation_
     154        */
     155        "digimina:label:title" => "Name",
     156       
     157        /*
     158        File: /digimina/mod/digimina/actions/digimina/admin/import_competency_model.php
     159        Lines: 10
     160        Text: Competency has already been set.
     161        _missing_translation_
     162        */
     163        "digimina:file:competency:model:already:set" => "Competency has already been set.",
     164       
     165        /*
     166        File: /digimina/mod/digimina/views/default/page/layouts/desk_content.php
     167        Lines: 13
     168        Text: My tests
     169        _missing_translation_
     170        */
     171        "digimina:my:tests" => "My tests",
     172       
     173        /*
     174        File: /digimina/mod/digimina/actions/digimina/admin/import_competency_model.php
     175        Lines: 132
     176        Text: You must select a file.
     177        _missing_translation_
     178        */
     179        "digimina:file:nofile" => "You must select a file.",
     180       
     181        /*
     182        File: /digimina/mod/digimina/lib/digimina.php
     183        Lines: 154
     184        Text: Request membership
     185        _missing_translation_
     186        */
     187        "digimina:dmgroup:joinrequest" => "Request membership",
     188       
     189        /*
    323190        File: /digimina/mod/digimina/views/default/plugins/digimina/usersettings.php
    324191        Lines: 20
     
    330197        /*
    331198        File: /digimina/mod/digimina/views/default/forms/digimina/edit.php
    332         Lines: 49
    333         Text: Closed group is best suited for school or study group, opened group is best suited for broader open teacher community (e.g. 'Teachers of Saaremaa').
    334         _missing_translation_
    335         */
    336         "digimina:membership:type:explanation" => "Closed group is best suited for school or study group, opened group is best suited for broader open teacher community (e.g. 'Teachers of Saaremaa').",
    337        
    338         /*
    339         File: /digimina/mod/digimina/start.php
    340         Lines: 213
    341         Text: Groups I own
    342         _missing_translation_
    343         */
    344         "digimina:dmgroups:owned" => "Groups I own",
    345        
    346         /*
    347         File: /digimina/mod/digimina/actions/digimina/delete.php
    348         Lines: 16
    349         Text: Group removed
    350         _missing_translation_
    351         */
    352         "digimina:dmgroup:delete:success" => "Group removed",
    353        
    354         /*
    355         File: /digimina/mod/digimina/actions/digimina/membership/leave.php
    356         Lines: 22
    357         Text: Successfully left group
    358         _missing_translation_
    359         */
    360         "digimina:dmgroup:left" => "Successfully left group",
     199        Lines: 32
     200        Text: Type
     201        _missing_translation_
     202        */
     203        "digimina:title:membership" => "Type",
     204       
     205        /*
     206        File: /digimina/mod/digimina/views/default/plugins/digimina/usersettings.php
     207        Lines: 15
     208        Text: Competency profile visibility
     209        _missing_translation_
     210        */
     211        "digimina:usersettings:show_competency_profile" => "Competency profile visibility",
     212       
     213        /*
     214        File: /digimina/mod/digimina/actions/digimina/edit.php
     215        File: /digimina/mod/digimina/actions/digimina/edit.php
     216        Lines: 40, 104
     217        Text: Group could not be saved
     218        _missing_translation_
     219        */
     220        "digimina:dmgroup:error:no_save" => "Group could not be saved",
    361221       
    362222        /*
     
    376236       
    377237        /*
     238        File: /digimina/mod/digimina/views/default/forms/digimina/edit.php
     239        Lines: 49
     240        Text: Closed group is best suited for school or study group, opened group is best suited for broader open teacher community (e.g. 'Teachers of Saaremaa').
     241        _missing_translation_
     242        */
     243        "digimina:membership:type:explanation" => "Closed group is best suited for school or study group, opened group is best suited for broader open teacher community (e.g. 'Teachers of Saaremaa').",
     244       
     245        /*
     246        File: /digimina/mod/digimina/actions/digimina/admin/import_competency_model.php
     247        Lines: 60
     248        Text: There should be 5 unique performance levels, from 1 to 5.
     249        _missing_translation_
     250        */
     251        "digimina:file:performancelevel:notunique" => "There should be 5 unique performance levels, from 1 to 5.",
     252       
     253        /*
     254        File: /digimina/mod/digimina/actions/digimina/admin/import_competency_model.php
     255        Lines: 48
     256        Text: Performance level needs description.
     257        _missing_translation_
     258        */
     259        "digimina:file:performancelevel:nodescription" => "Performance level needs description.",
     260       
     261        /*
     262        File: /digimina/mod/digimina/actions/digimina/delete.php
     263        Lines: 16
     264        Text: Group removed
     265        _missing_translation_
     266        */
     267        "digimina:dmgroup:delete:success" => "Group removed",
     268       
     269        /*
     270        File: /digimina/mod/digimina/actions/digimina/membership/leave.php
     271        Lines: 22
     272        Text: Successfully left group
     273        _missing_translation_
     274        */
     275        "digimina:dmgroup:left" => "Successfully left group",
     276       
     277        /*
     278        File: /digimina/mod/digimina/views/default/forms/digimina/test/info.php
     279        Lines: 23
     280        Text: Proceed
     281        _missing_translation_
     282        */
     283        "digimina:button:proceed" => "Proceed",
     284       
     285        /*
     286        File: /digimina/mod/digimina/lib/digimina.php
     287        Lines: 150
     288        Text: Join
     289        _missing_translation_
     290        */
     291        "digimina:dmgroup:join" => "Join",
     292       
     293        /*
     294        File: /digimina/mod/digimina/actions/digimina/membership/join.php
     295        Lines: 33
     296        Text: You have joined a group
     297        _missing_translation_
     298        */
     299        "digimina:dmgroup:joined" => "You have joined a group",
     300       
     301        /*
     302        File: /digimina/mod/digimina/actions/digimina/membership/join.php
     303        File: /digimina/mod/digimina/actions/digimina/membership/join.php
     304        Lines: 37, 64
     305        Text: Can not join group
     306        _missing_translation_
     307        */
     308        "digimina:dmgroup:cantjoin" => "Can not join group",
     309       
     310        /*
     311        File: /digimina/mod/digimina/actions/digimina/admin/import_competency_model.php
     312        Lines: 65
     313        Text: Sub competency needs 5 performance levels.
     314        _missing_translation_
     315        */
     316        "digimina:file:subcompetency:performancelevelerror" => "Sub competency needs 5 performance levels.",
     317       
     318        /*
     319        File: /digimina/mod/digimina/pages/digimina/world.php
     320        File: /digimina/mod/digimina/views/default/digimina/desk/groups.php
     321        Lines: 12, 25
     322        Text: All groups
     323        _missing_translation_
     324        */
     325        "digimina:all:dmgroups" => "All groups",
     326       
     327        /*
    378328        File: /digimina/mod/digimina/actions/digimina/admin/import_competency_model.php
    379329        Lines: 70
     
    392342       
    393343        /*
     344        File: /digimina/mod/digimina/actions/digimina/test/new.php
     345        Lines: 10
     346        Text: You already have an ongoing test. Only one ongoing test at a time is allowed.
     347        _missing_translation_
     348        */
     349        "digimina:can:not:start:new:test" => "You already have an ongoing test. Only one ongoing test at a time is allowed.",
     350       
     351        /*
     352        File: /digimina/mod/digimina/pages/digimina/test.php
     353        Lines: 19
     354        Text: About competency test
     355        _missing_translation_
     356        */
     357        "digimina:title:test:info" => "About competency test",
     358       
     359        /*
     360        File: /digimina/mod/digimina/start.php
     361        File: /digimina/mod/digimina/pages/digimina/desk.php
     362        Lines: 207, 18
     363        Text: Desk
     364        _missing_translation_
     365        */
     366        "digimina:desk" => "Desk",
     367       
     368        /*
     369        File: /digimina/mod/digimina/actions/digimina/edit.php
     370        Lines: 62
     371        Text: Group saved
     372        _missing_translation_
     373        */
     374        "digimina:dmgroup:saved" => "Group saved",
     375       
     376        /*
     377        File: /digimina/mod/digimina/translator/dummy.php
     378        Lines: 20
     379        Text: ePortfolio (URL)
     380        _missing_translation_
     381        */
     382        "profile:eportfolio" => "ePortfolio (URL)",
     383       
     384        /*
     385        File: /digimina/mod/digimina/views/default/plugins/digimina/usersettings.php
     386        Lines: 22
     387        Text: Groups
     388        _missing_translation_
     389        */
     390        "digimina:visibility:competency_profile_groups" => "Groups",
     391       
     392        /*
     393        File: /digimina/mod/digimina/actions/digimina/membership/leave.php
     394        File: /digimina/mod/digimina/actions/digimina/membership/leave.php
     395        File: /digimina/mod/digimina/actions/digimina/membership/leave.php
     396        Lines: 25, 29, 33
     397        Text: Could not leave group
     398        _missing_translation_
     399        */
     400        "digimina:dmgroup:cantleave" => "Could not leave group",
     401       
     402        /*
     403        File: /digimina/mod/digimina/start.php
     404        Lines: 309
     405        Text: %s members
     406        _missing_translation_
     407        */
     408        "digimina:dmgroup:members:count" => "%s members",
     409       
     410        /*
    394411        File: /digimina/mod/digimina/views/default/page/layouts/desk_content.php
    395         Lines: 26
    396         Text: My competency profile
    397         _missing_translation_
    398         */
    399         "digimina:my:competency:profile" => "My competency profile",
     412        Lines: 24
     413        Text: Partner assessments
     414        _missing_translation_
     415        */
     416        "digimina:partner:assessments" => "Partner assessments",
     417       
     418        /*
     419        File: /digimina/mod/digimina/actions/digimina/test/new.php
     420        Lines: 21
     421        Text: You have started a new test.
     422        _missing_translation_
     423        */
     424        "digimina:new:test:started" => "You have started a new test.",
     425       
     426        /*
     427        File: /digimina/mod/digimina/actions/digimina/membership/join.php
     428        Lines: 56
     429        Text: Requested to join group
     430        _missing_translation_
     431        */
     432        "digimina:dmgroup:joinrequestmade" => "Requested to join group",
     433       
     434        /*
     435        File: /digimina/mod/digimina/lib/digimina.php
     436        Lines: 135
     437        Text: Leave
     438        _missing_translation_
     439        */
     440        "digimina:dmgroup:leave" => "Leave",
     441       
     442        /*
     443        File: /digimina/mod/digimina/start.php
     444        Lines: 220
     445        Text: Groups I own
     446        _missing_translation_
     447        */
     448        "digimina:dmgroups:owned" => "Groups I own",
     449       
     450        /*
     451        File: /digimina/mod/digimina/start.php
     452        File: /digimina/mod/digimina/views/default/digimina/desk/profile.php
     453        Lines: 213, 26
     454        Text: Competency profile
     455        _missing_translation_
     456        */
     457        "digimina:competency_profile" => "Competency profile",
     458       
     459        /*
     460        File: /digimina/mod/digimina/views/default/digimina/membershiprequests.php
     461        Lines: 34
     462        Text: Are you sure you want to remove this join request?
     463        _missing_translation_
     464        */
     465        "digimina:dmgroup:joinrequest:remove:check" => "Are you sure you want to remove this join request?",
     466       
     467        /*
     468        File: /digimina/mod/digimina/pages/digimina/owner.php
     469        Lines: 17
     470        Text: Groups of %s
     471        _missing_translation_
     472        */
     473        "digimina:dmgroups:owner" => "Groups of %s",
     474       
     475        /*
     476        File: /digimina/mod/digimina/lib/digimina.php
     477        File: /digimina/mod/digimina/pages/digimina/edit.php
     478        Lines: 118, 20
     479        Text: Edit group
     480        _missing_translation_
     481        */
     482        "digimina:dmgroup:edit" => "Edit group",
     483       
     484        /*
     485        File: /digimina/mod/digimina/actions/digimina/admin/import_competency_model.php
     486        Lines: 87
     487        Text: Competency model needs at least one competency
     488        _missing_translation_
     489        */
     490        "digimina:file:model:nocompetencies" => "Competency model needs at least one competency",
     491       
     492        /*
     493        File: /digimina/mod/digimina/translator/dummy.php
     494        Lines: 16
     495        Text: Competency Model
     496        _missing_translation_
     497        */
     498        "admin:digimina:competencymodel" => "Competency Model",
     499       
     500        /*
     501        File: /digimina/mod/digimina/actions/digimina/membership/delete_request.php
     502        Lines: 18
     503        Text: The join request has been deleted.
     504        _missing_translation_
     505        */
     506        "digimina:dmgroup:joinrequestkilled" => "The join request has been deleted.",
     507       
     508        /*
     509        File: /digimina/mod/digimina/actions/digimina/membership/remove.php
     510        Lines: 21
     511        Text: Successfully removed %s from group
     512        _missing_translation_
     513        */
     514        "digimina:dmgroup:removed" => "Successfully removed %s from group",
     515       
     516        /*
     517        File: /digimina/mod/digimina/start.php
     518        File: /digimina/mod/digimina/pages/digimina/requests.php
     519        Lines: 241, 21
     520        Text: Manage join requests
     521        _missing_translation_
     522        */
     523        "digimina:dmgroup:membershiprequests" => "Manage join requests",
     524       
     525        /*
     526        File: /digimina/mod/digimina/views/default/forms/digimina/competencymodel.php
     527        Lines: 12
     528        Text: Competency model XML
     529        _missing_translation_
     530        */
     531        "digimina:title:cometency:model:xml:file" => "Competency model XML",
     532       
     533        /*
     534        File: /digimina/mod/digimina/pages/digimina/test.php
     535        Lines: 11
     536        Text: There are no ongoing tests at the moment.
     537        _missing_translation_
     538        */
     539        "digimina:no:ongoing:tests" => "There are no ongoing tests at the moment.",
     540       
     541        /*
     542        File: /digimina/mod/digimina/pages/digimina/member.php
     543        Lines: 17
     544        Text: Groups where %s is member
     545        _missing_translation_
     546        */
     547        "digimina:dmgroups:memberof" => "Groups where %s is member",
     548       
     549        /*
     550        File: /digimina/mod/digimina/pages/digimina/member.php
     551        File: /digimina/mod/digimina/pages/digimina/owner.php
     552        File: /digimina/mod/digimina/pages/digimina/world.php
     553        Lines: 32, 30, 24
     554        Text: No groups found
     555        _missing_translation_
     556        */
     557        "digimina:dmgroup:none" => "No groups found",
     558       
     559        /*
     560        File: /digimina/mod/digimina/actions/digimina/edit.php
     561        File: /digimina/mod/digimina/actions/digimina/membership/add.php
     562        Lines: 84, 27
     563        Text: Welcome to the %s group!
     564        _missing_translation_
     565        */
     566        "digimina:dmgroup:welcome:subject" => "Welcome to the %s group!",
     567       
     568        /*
     569        File: /digimina/mod/digimina/actions/digimina/edit.php
     570        Lines: 32
     571        Text: Title is required
     572        _missing_translation_
     573        */
     574        "digimina:dmgroup:error:no_title" => "Title is required",
     575       
     576        /*
     577        File: /digimina/mod/digimina/pages/digimina/add.php
     578        Lines: 15
     579        Text: Add new group
     580        _missing_translation_
     581        */
     582        "digimina:dmgroup:add" => "Add new group",
     583       
     584        /*
     585        File: /digimina/mod/digimina/views/default/digimina/membershiprequests.php
     586        Lines: 49
     587        Text: There are no current membership requests.
     588        _missing_translation_
     589        */
     590        "digimina:dmgroup:requests:none" => "There are no current membership requests.",
     591       
     592        /*
     593        File: /digimina/mod/digimina/actions/digimina/admin/import_competency_model.php
     594        Lines: 25
     595        Text: Not an XML file.
     596        _missing_translation_
     597        */
     598        "digimina:file:notxml" => "Not an XML file.",
     599       
     600        /*
     601        File: /digimina/mod/digimina/translator/dummy.php
     602        Lines: 8
     603        Text: Add New Group
     604        _missing_translation_
     605        */
     606        "digimina:add" => "Add New Group",
     607       
     608        /*
     609        File: /digimina/mod/digimina/actions/digimina/membership/join.php
     610        Lines: 59
     611        Text: Could not request to join group
     612        _missing_translation_
     613        */
     614        "digimina:dmgroup:joinrequestnotmade" => "Could not request to join group",
     615       
     616        /*
     617        File: /digimina/mod/digimina/start.php
     618        File: /digimina/mod/digimina/pages/digimina/competencies.php
     619        Lines: 255, 12
     620        Text: Competency Model
     621        _missing_translation_
     622        */
     623        "digimina:competency:model" => "Competency Model",
     624       
     625        /*
     626        File: /digimina/mod/digimina/actions/digimina/admin/import_competency_model.php
     627        Lines: 128
     628        Text: Model could not be created.
     629        _missing_translation_
     630        */
     631        "digimina:file:model:notcreated" => "Model could not be created.",
     632       
     633        /*
     634        File: /digimina/mod/digimina/actions/digimina/admin/import_competency_model.php
     635        Lines: 16
     636        Text: There was an error uploading the file.
     637        _missing_translation_
     638        */
     639        "digimina:file:cannotload" => "There was an error uploading the file.",
     640       
     641        /*
     642        File: /digimina/mod/digimina/translator/dummy.php
     643        Lines: 18
     644        Text: Homepage (URL)
     645        _missing_translation_
     646        */
     647        "profile:homepage" => "Homepage (URL)",
     648       
     649        /*
     650        File: /digimina/mod/digimina/translator/dummy.php
     651        Lines: 24
     652        Text: Groups
     653        _missing_translation_
     654        */
     655        "item:object:dmgroup" => "Groups",
     656       
     657        /*
     658        File: /digimina/mod/digimina/actions/digimina/admin/import_competency_model.php
     659        Lines: 92
     660        Text: Competency model needs title
     661        _missing_translation_
     662        */
     663        "digimina:file:model:notitle" => "Competency model needs title",
     664       
     665        /*
     666        File: /digimina/mod/digimina/views/default/digimina/desk/profile.php
     667        Lines: 16
     668        Text: User information
     669        _missing_translation_
     670        */
     671        "digimina:user_info" => "User information",
    400672       
    401673        /*
     
    403675        File: /digimina/mod/digimina/pages/digimina/examples.php
    404676        File: /digimina/mod/digimina/views/default/plugins/digimina/settings.php
    405         Lines: 253, 12, 18
     677        Lines: 260, 12, 18
    406678        Text: Examples
    407679        _missing_translation_
     
    420692       
    421693        /*
    422         File: /digimina/mod/digimina/start.php
    423         File: /digimina/mod/digimina/views/default/digimina/desk/profile.php
    424         Lines: 206, 26
    425         Text: Competency profile
    426         _missing_translation_
    427         */
    428         "digimina:competency_profile" => "Competency profile",
    429        
    430         /*
    431         File: /digimina/mod/digimina/views/default/digimina/membershiprequests.php
    432         Lines: 34
    433         Text: Are you sure you want to remove this join request?
    434         _missing_translation_
    435         */
    436         "digimina:dmgroup:joinrequest:remove:check" => "Are you sure you want to remove this join request?",
    437        
    438         /*
    439         File: /digimina/mod/digimina/pages/digimina/owner.php
    440         Lines: 17
    441         Text: Groups of %s
    442         _missing_translation_
    443         */
    444         "digimina:dmgroups:owner" => "Groups of %s",
    445        
    446         /*
    447         File: /digimina/mod/digimina/translator/dummy.php
    448         Lines: 10
    449         Text: Name
    450         _missing_translation_
    451         */
    452         "digimina:label:title" => "Name",
    453        
    454         /*
    455694        File: /digimina/mod/digimina/actions/digimina/membership/join.php
    456695        Lines: 45
     
    461700       
    462701        /*
    463         File: /digimina/mod/digimina/pages/digimina/member.php
    464         File: /digimina/mod/digimina/pages/digimina/owner.php
    465         File: /digimina/mod/digimina/pages/digimina/world.php
    466         Lines: 32, 30, 24
    467         Text: No groups found
    468         _missing_translation_
    469         */
    470         "digimina:dmgroup:none" => "No groups found",
    471        
    472         /*
    473         File: /digimina/mod/digimina/actions/digimina/admin/import_competency_model.php
    474         Lines: 87
    475         Text: Competency model needs at least one competency
    476         _missing_translation_
    477         */
    478         "digimina:file:model:nocompetencies" => "Competency model needs at least one competency",
    479        
    480         /*
    481         File: /digimina/mod/digimina/actions/digimina/admin/import_competency_model.php
    482         Lines: 10
    483         Text: Competency has already been set.
    484         _missing_translation_
    485         */
    486         "digimina:file:competency:model:already:set" => "Competency has already been set.",
    487        
    488         /*
    489         File: /digimina/mod/digimina/translator/dummy.php
    490         Lines: 16
    491         Text: Competency Model
    492         _missing_translation_
    493         */
    494         "admin:digimina:competencymodel" => "Competency Model",
    495        
    496         /*
    497         File: /digimina/mod/digimina/actions/digimina/membership/delete_request.php
    498         Lines: 18
    499         Text: The join request has been deleted.
    500         _missing_translation_
    501         */
    502         "digimina:dmgroup:joinrequestkilled" => "The join request has been deleted.",
    503        
    504         /*
    505702        File: /digimina/mod/digimina/views/default/plugins/digimina/usersettings.php
    506703        Lines: 24
     
    511708       
    512709        /*
    513         File: /digimina/mod/digimina/lib/digimina.php
    514         Lines: 154
    515         Text: Request membership
    516         _missing_translation_
    517         */
    518         "digimina:dmgroup:joinrequest" => "Request membership",
    519        
    520         /*
    521710        File: /digimina/mod/digimina/views/default/page/layouts/desk_content.php
    522         Lines: 13
    523         Text: My tests
    524         _missing_translation_
    525         */
    526         "digimina:my:tests" => "My tests",
    527        
    528         /*
    529         File: /digimina/mod/digimina/actions/digimina/admin/import_competency_model.php
    530         Lines: 132
    531         Text: You must select a file.
    532         _missing_translation_
    533         */
    534         "digimina:file:nofile" => "You must select a file.",
    535        
    536         /*
    537         File: /digimina/mod/digimina/actions/digimina/membership/remove.php
    538         Lines: 21
    539         Text: Successfully removed %s from group
    540         _missing_translation_
    541         */
    542         "digimina:dmgroup:removed" => "Successfully removed %s from group",
    543        
    544         /*
    545         File: /digimina/mod/digimina/start.php
    546         File: /digimina/mod/digimina/pages/digimina/requests.php
    547         Lines: 234, 21
    548         Text: Manage join requests
    549         _missing_translation_
    550         */
    551         "digimina:dmgroup:membershiprequests" => "Manage join requests",
    552        
    553         /*
    554         File: /digimina/mod/digimina/start.php
    555         File: /digimina/mod/digimina/pages/digimina/desk.php
    556         Lines: 200, 18
    557         Text: Desk
    558         _missing_translation_
    559         */
    560         "digimina:desk" => "Desk",
    561        
    562         /*
    563         File: /digimina/mod/digimina/actions/digimina/edit.php
    564         Lines: 62
    565         Text: Group saved
    566         _missing_translation_
    567         */
    568         "digimina:dmgroup:saved" => "Group saved",
     711        Lines: 26
     712        Text: My competency profile
     713        _missing_translation_
     714        */
     715        "digimina:my:competency:profile" => "My competency profile",
    569716       
    570717        /*
     
    578725        /*
    579726        File: /digimina/mod/digimina/translator/dummy.php
    580         Lines: 20
    581         Text: ePortfolio (URL)
    582         _missing_translation_
    583         */
    584         "profile:eportfolio" => "ePortfolio (URL)",
    585        
    586         /*
    587         File: /digimina/mod/digimina/translator/dummy.php
    588         Lines: 18
    589         Text: Homepage (URL)
    590         _missing_translation_
    591         */
    592         "profile:homepage" => "Homepage (URL)",
    593        
    594         /*
    595         File: /digimina/mod/digimina/actions/digimina/membership/join.php
    596         File: /digimina/mod/digimina/actions/digimina/membership/join.php
    597         Lines: 37, 64
    598         Text: Can not join group
    599         _missing_translation_
    600         */
    601         "digimina:dmgroup:cantjoin" => "Can not join group",
    602        
    603         /*
    604         File: /digimina/mod/digimina/views/default/digimina/desk/tests.php
    605         Lines: 13
    606         Text: Start new test
    607         _missing_translation_
    608         */
    609         "digimina:start_new_test" => "Start new test",
    610        
    611         /*
    612         File: /digimina/mod/digimina/translator/dummy.php
    613727        Lines: 12
    614728        Text: Description
     
    616730        */
    617731        "digimina:label:description" => "Description",
    618        
    619         /*
    620         File: /digimina/mod/digimina/views/default/forms/digimina/edit.php
    621         Lines: 32
    622         Text: Type
    623         _missing_translation_
    624         */
    625         "digimina:title:membership" => "Type",
    626        
    627         /*
    628         File: /digimina/mod/digimina/views/default/plugins/digimina/usersettings.php
    629         Lines: 15
    630         Text: Competency profile visibility
    631         _missing_translation_
    632         */
    633         "digimina:usersettings:show_competency_profile" => "Competency profile visibility",
    634        
    635         /*
    636         File: /digimina/mod/digimina/lib/digimina.php
    637         Lines: 135
    638         Text: Leave
    639         _missing_translation_
    640         */
    641         "digimina:dmgroup:leave" => "Leave",
    642        
    643         /*
    644         File: /digimina/mod/digimina/actions/digimina/membership/leave.php
    645         File: /digimina/mod/digimina/actions/digimina/membership/leave.php
    646         File: /digimina/mod/digimina/actions/digimina/membership/leave.php
    647         Lines: 25, 29, 33
    648         Text: Could not leave group
    649         _missing_translation_
    650         */
    651         "digimina:dmgroup:cantleave" => "Could not leave group",
    652        
    653         /*
    654         File: /digimina/mod/digimina/views/default/forms/digimina/competencymodel.php
    655         Lines: 12
    656         Text: Competency model XML
    657         _missing_translation_
    658         */
    659         "digimina:title:cometency:model:xml:file" => "Competency model XML",
    660        
    661         /*
    662         File: /digimina/mod/digimina/start.php
    663         Lines: 302
    664         Text: %s members
    665         _missing_translation_
    666         */
    667         "digimina:dmgroup:members:count" => "%s members",
    668732       
    669733    );
  • trunk/lib/digimina.php

    r46 r48  
    360360        return false;
    361361}
     362
     363/**
     364 * Return ongoing test if any
     365 *
     366 * @param int $owner_guid User GUID, logged in user guide is used if not provided
     367 *
     368 * @return mixed
     369 */
     370function digimina_get_ongoing_test($owner_guid=NULL) {
     371        if (!$owner_guid) {
     372                $owner_guid = elgg_get_logged_in_user_guid();
     373        }
     374        $options = array(
     375                'type' => 'object',
     376                'subtype' => 'dmtest',
     377                'owner_guids' => array($owner_guid),
     378                'limit' => 1,
     379                'metadata_name_value_pairs' => array('name' => 'state', 'value' => 'ongoing')
     380        );
     381        $data = elgg_get_entities_from_metadata($options);
     382
     383        if ($data && is_array($data) && sizeof($data)) {
     384                return $data[0];
     385        }
     386        return false;
     387}
     388
     389/**
     390 * Check if a person can start a new test
     391 *
     392 * @return bool
     393 */
     394function digimina_can_start_new_test() {
     395        if (!elgg_is_logged_in()) {
     396                return false;
     397        }
     398        if (!digimina_get_ongoing_test()) {
     399                return true;
     400        }
     401        return false;
     402}
     403
     404/**
     405 * Return all tests for a user
     406 *
     407 * @param int $owner_guid User GUID, logged in user guide is used if not provided
     408 *
     409 * @return mixed
     410 */
     411function digimina_get_user_tests($owner_guid=NULL) {
     412    if (!$owner_guid) {
     413                $owner_guid = elgg_get_logged_in_user_guid();
     414        }
     415        $options = array(
     416                'type' => 'object',
     417                'subtype' => 'dmtest',
     418                'owner_guids' => array($owner_guid),
     419                'limit' => 0
     420        );
     421        return elgg_get_entities($options);
     422}
  • trunk/start.php

    r46 r48  
    6868        elgg_register_action("digimina/edit", "$action_base/edit.php");
    6969        elgg_register_action("digimina/delete", "$action_base/delete.php");
     70
     71        $test_action_base = "$action_base/test";
     72        elgg_register_action("digimina/test/new", "$test_action_base/new.php");
     73        elgg_register_action("digimina/test/info", "$test_action_base/info.php");
    7074
    7175        $membership_action_base = "$action_base/membership";
     
    99103 *  Edit group:          digimina/edit/<guid>
    100104 *  Index:               digimina/index
     105 *  Test:                digimina/test
    101106 *
    102107 *  Title is ignored
     
    158163                        set_input('guid', $page[1]);
    159164                        include "{$base_dir}/edit.php";
     165                        break;
     166                case 'test':
     167                        include "{$base_dir}/test.php";
    160168                        break;
    161169            case 'index':
  • trunk/views/default/digimina/css.php

    r44 r48  
    6666     margin-right: 5px;
    6767}
     68
     69.digimina-test-ongoing h3 a {
     70    color: red;
     71}
  • trunk/views/default/digimina/desk/tests.php

    r12 r48  
    55 * @package DigiMina
    66 */
     7
     8$tests = digimina_get_user_tests();
    79?>
    810
    911<div class="elgg-widget-content">
    10     <a href="" onclick="alert('I WILL START NEW TEST');return false;" class="elgg-button elgg-button-action">
    11     <?php
    12         /*translation:Start new test*/
    13         echo elgg_echo('digimina:start_new_test');
    14     ?>
    15     </a>
     12    <?php if (is_array($tests) && sizeof($tests)): ?>
     13            <ul class="elgg-list elgg-list-entity">
     14            <?php foreach ($tests as $test): ?>
     15                                <li class="elgg-item<?php echo ($test->isOngoing()) ? ' digimina-test-ongoing' : ''; ?>">
     16                                        <h3>
     17                                        <a href="<?php echo ($test->isOngoing()) ? elgg_get_site_url().'digimina/test' : $test->getURL(); ?>"><?php echo date("F Y", $test->time_created); ?></a>
     18                    </h3>
     19                                </li>
     20            <?php endforeach; ?>
     21                </ul>
     22    <?php endif; ?>
     23        <?php if (digimina_can_start_new_test()): ?>
     24        <a href="<?php echo elgg_add_action_tokens_to_url(elgg_get_site_url().'action/digimina/test/new'); ?>" class="elgg-button elgg-button-action">
     25        <?php
     26            /*translation:Start new test*/
     27            echo elgg_echo('digimina:start_new_test');
     28        ?>
     29        </a>
     30    <?php endif; ?>
    1631</div>
Note: See TracChangeset for help on using the changeset viewer.