Skip to content

Commit

Permalink
TLN Update translations (#11125)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli authored Feb 6, 2024
1 parent e696e70 commit 26273bf
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 5 deletions.
23 changes: 19 additions & 4 deletions lang/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,22 @@ en:
SilverStripe\Control\RequestProcessor:
INVALID_REQUEST: 'Invalid request'
REQUEST_ABORTED: 'Request aborted'
SilverStripe\Dev\DevBuildController:
CAN_DEV_BUILD_DESCRIPTION: 'Can execute /dev/build'
CAN_DEV_BUILD_HELP: 'Can execute the build command (/dev/build).'
SilverStripe\Dev\DevConfigController:
CAN_DEV_CONFIG_DESCRIPTION: 'Can view /dev/config'
CAN_DEV_CONFIG_HELP: 'Can view all application configuration (/dev/config).'
SilverStripe\Dev\DevConfirmationController:
INFO_DESCRIPTION: 'Confirm potentially dangerous operation'
INFO_TITLE: 'Security Confirmation'
SilverStripe\Dev\DevelopmentAdmin:
ALL_DEV_ADMIN_DESCRIPTION: 'Can view and execute all /dev endpoints'
ALL_DEV_ADMIN_HELP: 'Can view and execute all /dev endpoints'
PERMISSIONS_CATEGORY: 'Dev permissions'
SilverStripe\Dev\TaskRunner:
BUILDTASK_CAN_RUN_DESCRIPTION: 'Can view and execute all /dev/tasks'
BUILDTASK_CAN_RUN_HELP: 'Can view and execute all Build Tasks (/dev/tasks). This may still be overriden by individual task view permissions'
SilverStripe\Forms\CheckboxField:
NOANSWER: 'No'
YESANSWER: 'Yes'
Expand Down Expand Up @@ -111,9 +124,9 @@ en:
NEW: 'Add new record'
NEXT: 'Go to next record'
PREVIOUS: 'Go to previous record'
ViewPermissionsFailure: 'It seems you don''t have the necessary permissions to view "{ObjectTitle}"'
SAVETOASTMESSAGE: 'Saved {type} "{title}" successfully.'
SAVEDUP: 'Saved successfully.'
SAVETOASTMESSAGE: 'Saved {type} "{title}" successfully.'
ViewPermissionsFailure: 'It seems you don''t have the necessary permissions to view "{ObjectTitle}"'
SilverStripe\Forms\GridField\GridFieldEditButton:
EDIT: Edit
SilverStripe\Forms\GridField\GridFieldFilterHeader:
Expand Down Expand Up @@ -142,13 +155,15 @@ en:
SilverStripe\Forms\NumericField:
VALIDATION: "'{value}' is not a number, only numbers can be accepted for this field"
SilverStripe\Forms\SearchableDropdownTrait:
SELECT: 'Select...'
TYPE_TO_SEARCH: 'Type to search...'
SELECT: Select...
SELECT_OR_TYPE_TO_SEARCH: 'Select or type to search...'
TYPE_TO_SEARCH: 'Type to search...'
SilverStripe\Forms\TextField:
VALIDATEMAXLENGTH: 'The value for {name} must not exceed {maxLength} characters in length'
SilverStripe\Forms\TimeField:
VALIDATEFORMAT: 'Please enter a valid time format ({format})'
SilverStripe\Forms\UrlField:
INVALID: 'Please enter a valid URL'
SilverStripe\ORM\DataObject:
GENERALSEARCH: 'General Search'
PLURALNAME: 'Data Objects'
Expand Down
2 changes: 1 addition & 1 deletion src/Dev/DevelopmentAdmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ public function providePermissions(): array

public static function permissionsCategory(): string
{
return _t(__CLASS__ . 'PERMISSIONS_CATEGORY', 'Dev permissions');
return _t(__CLASS__ . '.PERMISSIONS_CATEGORY', 'Dev permissions');
}

protected function canViewAll(): bool
Expand Down

0 comments on commit 26273bf

Please sign in to comment.