Plugin/Authorities/Languages.pm untested

filter: Statementstmt 0.0% 0 / 99 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 104 CC 1 SCAR 6.9
CC
1
Cov
0%
language
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Daje::Plugin::Authorities::Languages;
2 use Mojo::Base -base, -signatures;
3 use v5.42;
4  
5 # NAME
6 # ====
7 #
8 # Daje::Plugin::Authorities::Languages - Model class
9 #
10 # SYNOPSIS
11 # ========
12 #
13 #
14 #
15 #
16 # DESCRIPTION
17 # ===========
18 #
19 # Daje::Plugin::Authorities::Languages is the standard routes
20 #
21 # METHODS
22 # =======
23 #
24 #
25 # LICENSE
26 # =======
27 #
28 # Copyright (C) janeskil1525.
29 #
30 # This library is free software; you can redistribute it and/or modify
31 # it under the same terms as Perl itself.
32 #
33 # AUTHOR
34 # ======
35 #
36 # janeskil1525 E<lt>janeskil1525@gmail.com
37 #
38  
39 # This file is generated automatically by Daje Tools 2026-03-01 05:33:53.
40 # It will be generated by Daje Tools again.
41 # <!-- Autogenerated file 2026-03-01 05:33:53 -->
42  
43 use Daje::Helper::Languages::InsertKeys;
44  
45 has 'db';
46  
47 sub language($self) {
48  
49 try {
50 my $tx = $self->db->begin;
51 my @keys;
52 push @keys, {
53 plugin => 'authorities',
54 key => 'function_plugin_role_permission',
55 field => 'table',
56 type => 'Label',
57 translation => 'Function-Plugin-Role-Permission',
58 comment => 'Function-Plugin-Role-Permission',
59 };
60 push @keys, {
61 plugin => 'authorities',
62 key => 'function_plugin_role_permission',
63 field => 'plugin',
64 type => 'Label',
65 translation => 'Plugin',
66 comment => 'Plugin'
67 };
68 push @keys, {
69 plugin => 'authorities',
70 key => 'function_plugin_role_permission',
71 field => 'plugin',
72 type => 'Tool tips',
73 translation => 'Plugin',
74 comment => 'Plugin'
75 };
76
77 push @keys, {
78 plugin => 'authorities',
79 key => 'function_plugin_role_permission',
80 field => 'permissions',
81 type => 'Label',
82 translation => 'Permissions',
83 comment => 'Permissions'
84 };
85 push @keys, {
86 plugin => 'authorities',
87 key => 'function_plugin_role_permission',
88 field => 'permissions',
89 type => 'Tool tips',
90 translation => 'Permissions',
91 comment => 'Permissions'
92 };
93
94 push @keys, {
95 plugin => 'authorities',
96 key => 'function_plugin_role_permission',
97 field => 'description',
98 type => 'Label',
99 translation => 'Description',
100 comment => 'Description'
101 };
102 push @keys, {
103 plugin => 'authorities',
104 key => 'function_plugin_role_permission',
105 field => 'description',
106 type => 'Tool tips',
107 translation => 'Description',
108 comment => 'Description'
109 };
110
111 push @keys, {
112 plugin => 'authorities',
113 key => 'function_plugin_role_permission',
114 field => 'function',
115 type => 'Label',
116 translation => 'Function',
117 comment => 'Function'
118 };
119 push @keys, {
120 plugin => 'authorities',
121 key => 'function_plugin_role_permission',
122 field => 'function',
123 type => 'Tool tips',
124 translation => 'Function',
125 comment => 'Function'
126 };
127
128 push @keys, {
129 plugin => 'authorities',
130 key => 'function_plugin_role_permission',
131 field => 'role',
132 type => 'Label',
133 translation => 'Role',
134 comment => 'Role'
135 };
136 push @keys, {
137 plugin => 'authorities',
138 key => 'function_plugin_role_permission',
139 field => 'role',
140 type => 'Tool tips',
141 translation => 'Role',
142 comment => 'Role'
143 };
144
145 push @keys, {
146 plugin => 'authorities',
147 key => 'license',
148 field => 'table',
149 type => 'Label',
150 translation => '',
151 comment => '',
152 };
153 push @keys, {
154 plugin => 'authorities',
155 key => 'license',
156 field => 'standard',
157 type => 'Label',
158 translation => '',
159 comment => ''
160 };
161 push @keys, {
162 plugin => 'authorities',
163 key => 'license',
164 field => 'standard',
165 type => 'Tool tips',
166 translation => '',
167 comment => ''
168 };
169
170 push @keys, {
171 plugin => 'authorities',
172 key => 'license',
173 field => 'description',
174 type => 'Label',
175 translation => 'Description',
176 comment => 'Description'
177 };
178 push @keys, {
179 plugin => 'authorities',
180 key => 'license',
181 field => 'description',
182 type => 'Tool tips',
183 translation => 'Description',
184 comment => 'Description'
185 };
186
187 push @keys, {
188 plugin => 'authorities',
189 key => 'license',
190 field => 'name',
191 type => 'Label',
192 translation => '',
193 comment => ''
194 };
195 push @keys, {
196 plugin => 'authorities',
197 key => 'license',
198 field => 'name',
199 type => 'Tool tips',
200 translation => '',
201 comment => ''
202 };
203
204 push @keys, {
205 plugin => 'authorities',
206 key => 'plugin',
207 field => 'table',
208 type => 'Label',
209 translation => '',
210 comment => '',
211 };
212 push @keys, {
213 plugin => 'authorities',
214 key => 'plugin',
215 field => 'description',
216 type => 'Label',
217 translation => 'Description',
218 comment => 'Description'
219 };
220 push @keys, {
221 plugin => 'authorities',
222 key => 'plugin',
223 field => 'description',
224 type => 'Tool tips',
225 translation => 'Description',
226 comment => 'Description'
227 };
228
229 push @keys, {
230 plugin => 'authorities',
231 key => 'plugin',
232 field => 'name',
233 type => 'Label',
234 translation => '',
235 comment => ''
236 };
237 push @keys, {
238 plugin => 'authorities',
239 key => 'plugin',
240 field => 'name',
241 type => 'Tool tips',
242 translation => '',
243 comment => ''
244 };
245
246 push @keys, {
247 plugin => 'authorities',
248 key => 'function',
249 field => 'table',
250 type => 'Label',
251 translation => '',
252 comment => '',
253 };
254 push @keys, {
255 plugin => 'authorities',
256 key => 'function',
257 field => 'description',
258 type => 'Label',
259 translation => 'Description',
260 comment => 'Description'
261 };
262 push @keys, {
263 plugin => 'authorities',
264 key => 'function',
265 field => 'description',
266 type => 'Tool tips',
267 translation => 'Description',
268 comment => 'Description'
269 };
270
271 push @keys, {
272 plugin => 'authorities',
273 key => 'function',
274 field => 'plugin',
275 type => 'Label',
276 translation => '',
277 comment => ''
278 };
279 push @keys, {
280 plugin => 'authorities',
281 key => 'function',
282 field => 'plugin',
283 type => 'Tool tips',
284 translation => '',
285 comment => ''
286 };
287
288 push @keys, {
289 plugin => 'authorities',
290 key => 'function',
291 field => 'name',
292 type => 'Label',
293 translation => '',
294 comment => ''
295 };
296 push @keys, {
297 plugin => 'authorities',
298 key => 'function',
299 field => 'name',
300 type => 'Tool tips',
301 translation => '',
302 comment => ''
303 };
304
305 push @keys, {
306 plugin => 'authorities',
307 key => 'permissions',
308 field => 'table',
309 type => 'Label',
310 translation => '',
311 comment => '',
312 };
313 push @keys, {
314 plugin => 'authorities',
315 key => 'permissions',
316 field => 'permission',
317 type => 'Label',
318 translation => '',
319 comment => ''
320 };
321 push @keys, {
322 plugin => 'authorities',
323 key => 'permissions',
324 field => 'permission',
325 type => 'Tool tips',
326 translation => '',
327 comment => ''
328 };
329
330 push @keys, {
331 plugin => 'authorities',
332 key => 'permissions',
333 field => 'standard',
334 type => 'Label',
335 translation => '',
336 comment => ''
337 };
338 push @keys, {
339 plugin => 'authorities',
340 key => 'permissions',
341 field => 'standard',
342 type => 'Tool tips',
343 translation => '',
344 comment => ''
345 };
346
347 push @keys, {
348 plugin => 'authorities',
349 key => 'permissions',
350 field => 'description',
351 type => 'Label',
352 translation => 'Description',
353 comment => 'Description'
354 };
355 push @keys, {
356 plugin => 'authorities',
357 key => 'permissions',
358 field => 'description',
359 type => 'Tool tips',
360 translation => 'Description',
361 comment => 'Description'
362 };
363
364 push @keys, {
365 plugin => 'authorities',
366 key => 'function_permissions',
367 field => 'table',
368 type => 'Label',
369 translation => '',
370 comment => '',
371 };
372 push @keys, {
373 plugin => 'authorities',
374 key => 'function_permissions',
375 field => 'function',
376 type => 'Label',
377 translation => '',
378 comment => ''
379 };
380 push @keys, {
381 plugin => 'authorities',
382 key => 'function_permissions',
383 field => 'function',
384 type => 'Tool tips',
385 translation => '',
386 comment => ''
387 };
388
389 push @keys, {
390 plugin => 'authorities',
391 key => 'function_permissions',
392 field => 'permissions',
393 type => 'Label',
394 translation => '',
395 comment => ''
396 };
397 push @keys, {
398 plugin => 'authorities',
399 key => 'function_permissions',
400 field => 'permissions',
401 type => 'Tool tips',
402 translation => '',
403 comment => ''
404 };
405
406 push @keys, {
407 plugin => 'authorities',
408 key => 'license_plugin',
409 field => 'table',
410 type => 'Label',
411 translation => '',
412 comment => '',
413 };
414 push @keys, {
415 plugin => 'authorities',
416 key => 'license_plugin',
417 field => 'license',
418 type => 'Label',
419 translation => '',
420 comment => ''
421 };
422 push @keys, {
423 plugin => 'authorities',
424 key => 'license_plugin',
425 field => 'license',
426 type => 'Tool tips',
427 translation => '',
428 comment => ''
429 };
430
431 push @keys, {
432 plugin => 'authorities',
433 key => 'license_plugin',
434 field => 'plugin',
435 type => 'Label',
436 translation => '',
437 comment => ''
438 };
439 push @keys, {
440 plugin => 'authorities',
441 key => 'license_plugin',
442 field => 'plugin',
443 type => 'Tool tips',
444 translation => '',
445 comment => ''
446 };
447
448 push @keys, {
449 plugin => 'authorities',
450 key => 'license_plugin',
451 field => 'licensed',
452 type => 'Label',
453 translation => '',
454 comment => ''
455 };
456 push @keys, {
457 plugin => 'authorities',
458 key => 'license_plugin',
459 field => 'licensed',
460 type => 'Tool tips',
461 translation => '',
462 comment => ''
463 };
464
465 push @keys, {
466 plugin => 'authorities',
467 key => 'license_function',
468 field => 'table',
469 type => 'Label',
470 translation => '',
471 comment => '',
472 };
473 push @keys, {
474 plugin => 'authorities',
475 key => 'license_function',
476 field => 'license',
477 type => 'Label',
478 translation => '',
479 comment => ''
480 };
481 push @keys, {
482 plugin => 'authorities',
483 key => 'license_function',
484 field => 'license',
485 type => 'Tool tips',
486 translation => '',
487 comment => ''
488 };
489
490 push @keys, {
491 plugin => 'authorities',
492 key => 'license_function',
493 field => 'function',
494 type => 'Label',
495 translation => '',
496 comment => ''
497 };
498 push @keys, {
499 plugin => 'authorities',
500 key => 'license_function',
501 field => 'function',
502 type => 'Tool tips',
503 translation => '',
504 comment => ''
505 };
506
507 push @keys, {
508 plugin => 'authorities',
509 key => 'license_function',
510 field => 'licensed',
511 type => 'Label',
512 translation => '',
513 comment => ''
514 };
515 push @keys, {
516 plugin => 'authorities',
517 key => 'license_function',
518 field => 'licensed',
519 type => 'Tool tips',
520 translation => '',
521 comment => ''
522 };
523
524 push @keys, {
525 plugin => 'authorities',
526 key => 'role',
527 field => 'table',
528 type => 'Label',
529 translation => 'Role',
530 comment => 'Company specific roles',
531 };
532 push @keys, {
533 plugin => 'authorities',
534 key => 'role',
535 field => 'standard',
536 type => 'Label',
537 translation => 'Standard',
538 comment => 'Standard role, cant be changed'
539 };
540 push @keys, {
541 plugin => 'authorities',
542 key => 'role',
543 field => 'standard',
544 type => 'Tool tips',
545 translation => 'Standard role, cant be changed',
546 comment => 'Standard role, cant be changed'
547 };
548
549 push @keys, {
550 plugin => 'authorities',
551 key => 'role',
552 field => 'description',
553 type => 'Label',
554 translation => 'Description',
555 comment => 'Description'
556 };
557 push @keys, {
558 plugin => 'authorities',
559 key => 'role',
560 field => 'description',
561 type => 'Tool tips',
562 translation => 'Description',
563 comment => 'Description'
564 };
565
566 push @keys, {
567 plugin => 'authorities',
568 key => 'role',
569 field => 'companies',
570 type => 'Label',
571 translation => 'Company',
572 comment => 'Select company'
573 };
574 push @keys, {
575 plugin => 'authorities',
576 key => 'role',
577 field => 'companies',
578 type => 'Tool tips',
579 translation => 'Select company',
580 comment => 'Select company'
581 };
582
583 push @keys, {
584 plugin => 'authorities',
585 key => 'role',
586 field => 'workflow',
587 type => 'Label',
588 translation => '',
589 comment => ''
590 };
591 push @keys, {
592 plugin => 'authorities',
593 key => 'role',
594 field => 'workflow',
595 type => 'Tool tips',
596 translation => '',
597 comment => ''
598 };
599
600 push @keys, {
601 plugin => 'authorities',
602 key => 'role',
603 field => 'name',
604 type => 'Label',
605 translation => 'Name',
606 comment => 'Name of role'
607 };
608 push @keys, {
609 plugin => 'authorities',
610 key => 'role',
611 field => 'name',
612 type => 'Tool tips',
613 translation => 'Name of role',
614 comment => 'Name of role'
615 };
616
617 push @keys, {
618 plugin => 'authorities',
619 key => 'plugin_role',
620 field => 'table',
621 type => 'Label',
622 translation => 'Plugin-Role',
623 comment => 'Connection between role and plugin',
624 };
625 push @keys, {
626 plugin => 'authorities',
627 key => 'plugin_role',
628 field => 'role',
629 type => 'Label',
630 translation => 'Role',
631 comment => 'Reference to Role'
632 };
633 push @keys, {
634 plugin => 'authorities',
635 key => 'plugin_role',
636 field => 'role',
637 type => 'Tool tips',
638 translation => 'Reference to Role',
639 comment => 'Reference to Role'
640 };
641
642 push @keys, {
643 plugin => 'authorities',
644 key => 'plugin_role',
645 field => 'description',
646 type => 'Label',
647 translation => 'Description',
648 comment => 'Description'
649 };
650 push @keys, {
651 plugin => 'authorities',
652 key => 'plugin_role',
653 field => 'description',
654 type => 'Tool tips',
655 translation => 'Description',
656 comment => 'Description'
657 };
658
659 push @keys, {
660 plugin => 'authorities',
661 key => 'plugin_role',
662 field => 'plugin',
663 type => 'Label',
664 translation => 'Plugin',
665 comment => 'Reference to plugin'
666 };
667 push @keys, {
668 plugin => 'authorities',
669 key => 'plugin_role',
670 field => 'plugin',
671 type => 'Tool tips',
672 translation => 'Reference to plugin',
673 comment => 'Reference to plugin'
674 };
675
676 push @keys, {
677 plugin => 'authorities',
678 key => 'function_plugin_role',
679 field => 'table',
680 type => 'Label',
681 translation => 'Function-Plugin-Role',
682 comment => 'Reference between Function Plugin Role',
683 };
684 push @keys, {
685 plugin => 'authorities',
686 key => 'function_plugin_role',
687 field => 'role',
688 type => 'Label',
689 translation => 'Role',
690 comment => 'Role'
691 };
692 push @keys, {
693 plugin => 'authorities',
694 key => 'function_plugin_role',
695 field => 'role',
696 type => 'Tool tips',
697 translation => 'Role',
698 comment => 'Role'
699 };
700
701 push @keys, {
702 plugin => 'authorities',
703 key => 'function_plugin_role',
704 field => 'function',
705 type => 'Label',
706 translation => 'Function',
707 comment => 'Function'
708 };
709 push @keys, {
710 plugin => 'authorities',
711 key => 'function_plugin_role',
712 field => 'function',
713 type => 'Tool tips',
714 translation => 'Function',
715 comment => 'Function'
716 };
717
718 push @keys, {
719 plugin => 'authorities',
720 key => 'function_plugin_role',
721 field => 'description',
722 type => 'Label',
723 translation => 'Description',
724 comment => 'Description'
725 };
726 push @keys, {
727 plugin => 'authorities',
728 key => 'function_plugin_role',
729 field => 'description',
730 type => 'Tool tips',
731 translation => 'Description',
732 comment => 'Description'
733 };
734
735 push @keys, {
736 plugin => 'authorities',
737 key => 'function_plugin_role',
738 field => 'plugin',
739 type => 'Label',
740 translation => 'Plugin',
741 comment => 'Plugin'
742 };
743 push @keys, {
744 plugin => 'authorities',
745 key => 'function_plugin_role',
746 field => 'plugin',
747 type => 'Tool tips',
748 translation => 'Plugin',
749 comment => 'Plugin'
750 };
751
752  
753 Daje::Helper::Languages::InsertKeys->new(
754 db => $self->db
755 )->process(
756 \@keys
757 );
758 $tx->commit();
759 } catch($e) {
760 say $e;
761 }
762 }
763  
764 1;
765  
766