diff --git a/lib/Service/TableTemplateService.php b/lib/Service/TableTemplateService.php index 9b5a5b657..2ceebf229 100644 --- a/lib/Service/TableTemplateService.php +++ b/lib/Service/TableTemplateService.php @@ -733,57 +733,43 @@ private function makeStartupTable(Table $table):void { // let's add some example rows $this->createRow($table, [ - // TRANSLATORS This is an example name $columns['what']->getId() => $this->l->t('Open the tables app'), - // TRANSLATORS This is an example account manager $columns['how']->getId() => 'Reachable via the Tables icon in the apps list.', $columns['ease']->getId() => 5, $columns['done']->getId() => 'true', ]); $this->createRow($table, [ - // TRANSLATORS This is an example name $columns['what']->getId() => $this->l->t('Add your first row'), - // TRANSLATORS This is an example account manager $columns['how']->getId() => 'Use the *+ Create row* button and enter some data inside of the form.', $columns['ease']->getId() => 5, $columns['done']->getId() => 'false', ]); $this->createRow($table, [ - // TRANSLATORS This is an example name $columns['what']->getId() => $this->l->t('Edit a row'), - // TRANSLATORS This is an example account manager $columns['how']->getId() => 'Go to a row you want to edit and use the *pencil* edit button. Maybe you want to add a *Done* status to this row?', $columns['ease']->getId() => 5, $columns['done']->getId() => 'false', ]); $this->createRow($table, [ - // TRANSLATORS This is an example name $columns['what']->getId() => $this->l->t('Add a new column'), - // TRANSLATORS This is an example account manager $columns['how']->getId() => 'You can add, remove and adjust columns as you need. Open the three-dot-menu on the upper right of this table and choose *Create column*. Fill in the data you want, at least a title and column type.', $columns['ease']->getId() => 4, $columns['done']->getId() => 'false', ]); $this->createRow($table, [ - // TRANSLATORS This is an example name $columns['what']->getId() => $this->l->t('Create views for tables'), - // TRANSLATORS This is an example account manager $columns['how']->getId() => 'Filter data and save table presets as views to share and combine them into applications.', $columns['ease']->getId() => 4, $columns['done']->getId() => 'false', ]); $this->createRow($table, [ - // TRANSLATORS This is an example name $columns['what']->getId() => $this->l->t('Create applications'), - // TRANSLATORS This is an example account manager $columns['how']->getId() => 'Combine different tables and views into no-code applications for any purpose. This makes them easily accessible directly in the app bar.', $columns['ease']->getId() => 3, $columns['done']->getId() => 'false', ]); $this->createRow($table, [ - // TRANSLATORS This is an example name $columns['what']->getId() => $this->l->t('Read the docs'), - // TRANSLATORS This is an example account manager $columns['how']->getId() => 'If you want to go through the documentation, this can be found here: [Nextcloud Tables documentation](https://github.com/nextcloud/tables/wiki)', $columns['ease']->getId() => 3, $columns['done']->getId() => 'false',