From b3f9a728f7e6cb912743383ef492eddf352a6a09 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Fri, 10 Jan 2025 17:42:53 +0100 Subject: [PATCH] fix: remove unnecessary and misleading translator hints Signed-off-by: Arthur Schiwon --- lib/Service/TableTemplateService.php | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/lib/Service/TableTemplateService.php b/lib/Service/TableTemplateService.php index 8bb6e89d3..8f19a64c3 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',