Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Italian translation of the hub #1290

Draft
wants to merge 62 commits into
base: 0.8
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
df9f1ae
Translated account.php
rinodrummer Jul 19, 2023
6122be4
Translated auth.php
rinodrummer Jul 19, 2023
7fbb5eb
Translated collections section in catalogue.php
sebhd1 Jul 19, 2023
a577e9c
Added missing translation
rinodrummer Jul 19, 2023
82299d2
Remove unnecessary periods
rinodrummer Jul 19, 2023
f17cd71
Translated collections section in catalogue.php
sebhd1 Jul 19, 2023
002a74a
Translated fieldtypes.php
sebhd1 Jul 19, 2023
1f0d2a5
Translated global.php
sebhd1 Jul 19, 2023
fe6adf2
Translated licensing.php
sebhd1 Jul 19, 2023
dcafac7
Translated orders.php
sebhd1 Jul 19, 2023
43198cd
Translated validation.php
sebhd1 Jul 19, 2023
1abda98
Translated tables.php
sebhd1 Jul 19, 2023
4ff4ae5
Translated global.php
sebhd1 Jul 19, 2023
4dd721b
Added TODO to tables.php
sebhd1 Jul 19, 2023
fbcc0ea
Improved translation in tables.php
rinodrummer Jul 19, 2023
ca39e9f
Translated components.php
rinodrummer Jul 19, 2023
ed56a84
translate inputs.php
sebhd1 Jul 21, 2023
04a6d86
translate settings.php
sebhd1 Jul 21, 2023
7098f1f
Translated inputs.php (some translations are missing)
rinodrummer Jul 21, 2023
fc9dbd4
Copied all the remaining files for Italian translation
rinodrummer Jul 21, 2023
b591289
Totally translated inputs.php
rinodrummer Jul 21, 2023
366a4b8
Translated menu.php
rinodrummer Jul 21, 2023
da9e8b5
Added TODOs to be tested
rinodrummer Jul 21, 2023
88e8687
Translated settings.php
sebhd1 Jul 21, 2023
541bcbb
Rolled back validation.php to the translated version
rinodrummer Jul 21, 2023
0833720
Improved settings.php translations
rinodrummer Jul 21, 2023
98f80bb
Translated notifications.php
sebhd1 Jul 21, 2023
8d873df
Merge remote-tracking branch 'origin/it-translation' into it-translation
sebhd1 Jul 21, 2023
9bf4a60
Translated partials.php
rinodrummer Jul 21, 2023
fb2d427
Added trans_choice() where needed
rinodrummer Jul 21, 2023
1ce018e
Improved translations
rinodrummer Jul 21, 2023
01770e2
Improved translations after testing. Some other testings are needed.
rinodrummer Jul 21, 2023
73a413e
Added adminhub::notifications..products.saved
rinodrummer Jul 21, 2023
627dd92
Increased gap in partials/products/editing/association.blade.php
rinodrummer Jul 21, 2023
4c2444b
Added notifications for languages in translation files
rinodrummer Jul 21, 2023
92161b6
Added discount page main heading
rinodrummer Jul 21, 2023
59be7b2
Improved translations
rinodrummer Jul 21, 2023
5e6ee62
Added localization for settings menu
rinodrummer Jul 22, 2023
3cc9b10
Added Italian translation for settings menu
rinodrummer Jul 22, 2023
2ea3675
Identified files where translations are missing
sebhd1 Jul 22, 2023
6660ec1
Added inputs.state_selection.label
rinodrummer Jul 22, 2023
d2e8978
Improved translation
rinodrummer Jul 22, 2023
faf895e
Set global.default in forms for language and product type
rinodrummer Jul 22, 2023
0d0eddc
Fixed inputs.name in product type
rinodrummer Jul 22, 2023
0c6ff49
Added global.tabs
rinodrummer Jul 22, 2023
13c4d96
Fixed type label in partials/tax-zone
rinodrummer Jul 22, 2023
f0b6e79
Found translation for backorder
rinodrummer Jul 22, 2023
fc232fb
Improved notifications
rinodrummer Jul 22, 2023
f144e3e
Translated product comments
rinodrummer Jul 22, 2023
b157e07
Translated various elements
rinodrummer Jul 27, 2023
a9b87f7
Updating docs versions
glennjacobs Sep 22, 2023
072ad32
Check if the user is null when logging out
dewebdesigns Sep 23, 2023
fbe1639
Fixes #1261
alecritson Sep 27, 2023
a256047
Merge pull request #1274 from lunarphp/hotfix/fix-scout-db-empty-search
alecritson Sep 27, 2023
1f25964
Check if the user is null when logging out #1269
alecritson Sep 28, 2023
a226892
Format config files more in line with the Laravel skeleton (#1273)
adevade Sep 28, 2023
3b1c248
Cover situation when all of discount isnt actually able to be used (#…
ryanmitchell Sep 29, 2023
ecb29f1
Allow section to be null on attributes (#1259)
netzknecht Sep 29, 2023
a07def3
Merge branch 'lunarphp:0.6' into it-translation
rinodrummer Oct 6, 2023
274f5dd
Merge branch 'main' into it-translation
rinodrummer Nov 2, 2023
838b25e
Merge branch '0.8' into pr/1290
glennjacobs May 6, 2024
6e36d0f
Merge branch '0.8' into it-translation
glennjacobs May 6, 2024
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion utils/scout-database-engine/src/DatabaseEngine.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,10 @@ protected function getSearchQuery(Builder $builder)
$index = $this->getIndexFromBuilder($builder);

return SearchIndex::where('index', '=', $index)
->whereFullText('content', $builder->query.'*', ['mode' => 'boolean']);
->when(
$builder->query,
fn ($query) => $query ->whereFullText('content', $builder->query.'*', ['mode' => 'boolean'])
);
}

/**
Expand Down
10 changes: 10 additions & 0 deletions utils/scout-database-engine/tests/Unit/SearchTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,16 @@ public function can_search_a_post()
$this->assertEquals($posts->first()->body, 'Lamborghini');
}

/** @test */
public function can_do_an_empty_search()
{
$this->seedPosts();

$posts = Post::search('')->get();

$this->assertCount(Post::count(), $posts);
}

/** @test */
public function can_raw_search_a_post()
{
Expand Down
Loading