Skip to content

Commit

Permalink
fix: remove unnecessary and misleading translator hints
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Schiwon <[email protected]>
  • Loading branch information
blizzz committed Jan 10, 2025
1 parent 4940734 commit fb56a01
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions lib/Service/TableTemplateService.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit fb56a01

Please sign in to comment.