mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Fix translation key for DataObject.GENERALSEARCH (#10805)
* MNT Use gha-dispatch-ci * Update DataObject.php Fix typo in GENERALSEARCH localisation * Update en.yml remove unnecessary localisation line * Update nl.yml remove unnecessary localisation line * Update eo.yml remove unnecessary localisation line * Update ci.yml
This commit is contained in:
parent
a211b5eeb5
commit
33c62033fe
16
.github/workflows/dispatch-ci.yml
vendored
Normal file
16
.github/workflows/dispatch-ci.yml
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
name: Dispatch CI
|
||||
|
||||
on:
|
||||
# At 2:20 PM UTC, only on Tuesday and Wednesday
|
||||
schedule:
|
||||
- cron: '20 14 * * 2,3'
|
||||
|
||||
jobs:
|
||||
dispatch-ci:
|
||||
name: Dispatch CI
|
||||
# Only run cron on the silverstripe account
|
||||
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Dispatch CI
|
||||
uses: silverstripe/gha-dispatch-ci@v1
|
@ -1,6 +1,4 @@
|
||||
en:
|
||||
DataObject:
|
||||
php.SilverStripe\ORM\DataObjectGENERALSEARCH: 'General Search'
|
||||
SilverStripe\AssetAdmin\Forms\UploadField:
|
||||
Dimensions: Dimensions
|
||||
EDIT: Edit
|
||||
|
@ -369,6 +369,3 @@ eo:
|
||||
PASSWORDRESETSENTTEXT: 'Dankon. Reagorda ligilo sendiĝis, kondiĉe ke konto ekzistas por ĉi tiu retadreso.'
|
||||
SilverStripe\View\Shortcodes\EmbedShortcodeProvider:
|
||||
INVALID_URL: 'Okazis problemo ŝargi la aŭdvidaĵon.'
|
||||
DataObject:
|
||||
php:
|
||||
SilverStripe\ORM\DataObjectGENERALSEARCH: 'Ĝenerala serĉo'
|
||||
|
@ -369,6 +369,3 @@ nl:
|
||||
PASSWORDRESETSENTTEXT: 'Bedankt! Er is een e-mail verstuurd om je wachtwoord opnieuw in te stellen - mits het e-mailadres reeds bekend is bij ons.'
|
||||
SilverStripe\View\Shortcodes\EmbedShortcodeProvider:
|
||||
INVALID_URL: 'Het inladen van de media-bestanden is mislukt.'
|
||||
DataObject:
|
||||
php:
|
||||
SilverStripe\ORM\DataObjectGENERALSEARCH: 'Alles doorzoeken'
|
||||
|
@ -2474,7 +2474,7 @@ class DataObject extends ViewableData implements DataObjectInterface, i18nEntity
|
||||
if ($fields->fieldByName($generalSearch) || $fields->dataFieldByName($generalSearch)) {
|
||||
throw new LogicException('General search field name must be unique.');
|
||||
}
|
||||
$fields->unshift(HiddenField::create($generalSearch, _t(self::class . 'GENERALSEARCH', 'General Search')));
|
||||
$fields->unshift(HiddenField::create($generalSearch, _t(self::class . '.GENERALSEARCH', 'General Search')));
|
||||
}
|
||||
|
||||
return $fields;
|
||||
|
Loading…
Reference in New Issue
Block a user