@@ -20,8 +20,8 @@ class RepoList extends ComponentBase
2020 public function componentDetails ()
2121 {
2222 return [
23- 'name ' => 'Github Repository List ' ,
24- 'description ' => 'List public repositories for the specified user. '
23+ 'name ' => 'pkleindienst.githubprojects::lang.list.name ' ,
24+ 'description ' => 'pkleindienst.githubprojects::lang.list.description '
2525 ];
2626 }
2727
@@ -32,22 +32,38 @@ public function defineProperties()
3232 {
3333 return [
3434 'user ' => [
35- 'title ' => 'User ' ,
35+ 'title ' => 'pkleindienst.githubprojects::lang.list.user_title ' ,
36+ 'description ' => 'pkleindienst.githubprojects::lang.list.user_desc '
3637 ],
3738 'type ' => [
38- 'title ' => 'Type ' ,
39+ 'title ' => 'pkleindienst.githubprojects::lang.list.type_title ' ,
40+ 'description ' => 'pkleindienst.githubprojects::lang.list.type_desc ' ,
3941 'type ' => 'dropdown ' ,
40- 'options ' => ['all ' => 'All ' , 'owner ' => 'Owner ' , 'member ' => 'Member ' ]
42+ 'options ' => [
43+ 'all ' => 'pkleindienst.githubprojects::lang.list.type_opt_all ' ,
44+ 'owner ' => 'pkleindienst.githubprojects::lang.list.type_opt_owner ' ,
45+ 'member ' => 'pkleindienst.githubprojects::lang.list.type_opt_member '
46+ ]
4147 ],
4248 'sort ' => [
43- 'title ' => 'Sorting ' ,
49+ 'title ' => 'pkleindienst.githubprojects::lang.list.sort_title ' ,
50+ 'description ' => 'pkleindienst.githubprojects::lang.list.sort_desc ' ,
4451 'type ' => 'dropdown ' ,
45- 'options ' => ['created ' => 'Created ' , 'updated ' => 'Updated ' , 'pushed ' => 'Pushed ' , 'full_name ' => 'Full-Name ' ]
52+ 'options ' => [
53+ 'created ' => 'pkleindienst.githubprojects::lang.list.sort_opt_created ' ,
54+ 'updated ' => 'pkleindienst.githubprojects::lang.list.sort_opt_updated ' ,
55+ 'pushed ' => 'pkleindienst.githubprojects::lang.list.sort_opt_pushed ' ,
56+ 'full_name ' => 'pkleindienst.githubprojects::lang.list.sort_opt_fullname '
57+ ]
4658 ],
4759 'direction ' => [
48- 'title ' => 'Sort Direction ' ,
60+ 'title ' => 'pkleindienst.githubprojects::lang.list.direction_title ' ,
61+ 'description ' => 'pkleindienst.githubprojects::lang.list.direction_desc ' ,
4962 'type ' => 'dropdown ' ,
50- 'options ' => ['asc ' => 'Ascending ' , 'desc ' => 'Descending ' ]
63+ 'options ' => [
64+ 'asc ' => 'pkleindienst.githubprojects::lang.list.direction_opt_asc ' ,
65+ 'desc ' => 'pkleindienst.githubprojects::lang.list.direction_opt_desc '
66+ ]
5167 ]
5268 ];
5369 }
0 commit comments