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 <blizzz@arthur-schiwon.de>
  • Loading branch information
blizzz committed Jan 15, 2025
1 parent 20cdc2c commit 637797f
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions lib/Service/TableTemplateService.php
Original file line number Diff line number Diff line change
Expand Up @@ -733,23 +733,19 @@ 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() => $this->l->t('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: the asterisks (*) are used to format the button name in italics
$columns['how']->getId() => $this->l->t('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: the asterisks (*) are used to format the icon name and column name in italics
$columns['how']->getId() => $this->l->t('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?'),
Expand All @@ -765,23 +761,18 @@ private function makeStartupTable(Table $table):void {
$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() => $this->l->t('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() => $this->l->t('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: the link is formatted using markdown, the pattern is: [Title](URL)
$columns['how']->getId() => $this->l->t('If you want to go through the documentation, this can be found here: [Nextcloud Tables documentation](%s)', ['https://github.com/nextcloud/tables/wiki']),
Expand Down

0 comments on commit 637797f

Please sign in to comment.