Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
MetaGer
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
56
Issues
56
List
Boards
Labels
Service Desk
Milestones
Merge Requests
9
Merge Requests
9
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
open-source
MetaGer
Commits
5796acf0
Commit
5796acf0
authored
Feb 12, 2021
by
Davide Aprea
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add seperate shortnames for locales
parent
a6886610
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
resources/lang/de/plugin.php
resources/lang/de/plugin.php
+2
-0
resources/lang/en/plugin.php
resources/lang/en/plugin.php
+4
-1
resources/views/plugin.blade.php
resources/views/plugin.blade.php
+1
-1
No files found.
resources/lang/de/plugin.php
View file @
5796acf0
...
...
@@ -2,4 +2,6 @@
return
[
'description'
=>
'MetaGer: Sicher suchen & finden'
,
'production'
=>
'MetaGer (de)'
,
'development'
=>
'MetaGer Entwicklungsversion (de)'
];
resources/lang/en/plugin.php
View file @
5796acf0
<?php
return
[
"description"
=>
"MetaGer: secure search & find, protecting privacy"
"description"
=>
"MetaGer: secure search & find, protecting privacy"
,
"production"
=>
"MetaGer (en)"
,
"development"
=>
"MetaGer Development (en)"
];
resources/views/plugin.blade.php
View file @
5796acf0
<?
xml
version
=
"1.0"
encoding
=
"UTF-8"
?>
<OpenSearchDescription
xmlns=
"http://a9.com/-/spec/opensearch/1.1/"
xmlns:moz=
"http://www.mozilla.org/2006/browser/search/"
>
<ShortName>
@if(env('APP_ENV', '') === "production")
MetaGer @else MetaGer (Entwicklungsversion)
@endif
</ShortName>
<ShortName>
@if(env('APP_ENV', '') === "production")
{{ trans('plugin.production') }} @else {{ trans('plugin.development') }}
@endif
</ShortName>
<Description>
{{ trans('plugin.description') }}
</Description>
<Image
width=
"16"
height=
"16"
type=
"image/x-icon"
>
{{ url('/favicon.ico') }}
</Image>
<Url
type=
"text/html"
template=
"{{ $link }}"
method=
"GET"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment