kopia lustrzana https://github.com/friendica/friendica
Search: Unify placeholder text for translation, update Vier to use it, too
rodzic
8fd08b0920
commit
8cbb95c95e
|
|
@ -117,7 +117,7 @@ class Nav
|
|||
'$home' => $this->l10n->t('Home'),
|
||||
'$skip' => $this->l10n->t('Skip to main content'),
|
||||
'$clear_notifs' => $this->l10n->t('Clear notifications'),
|
||||
'$search_hint' => $this->l10n->t('@name, !group, #tags, content')
|
||||
'$search_placeholder' => $this->l10n->t('Search: @name, !group, #tags, content')
|
||||
]);
|
||||
|
||||
$nav = $this->eventDispatcher->dispatch(
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: 2025.07-rc\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-08-06 05:55+0000\n"
|
||||
"POT-Creation-Date: 2025-08-07 19:04+0200\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
|
@ -1964,8 +1964,8 @@ msgstr ""
|
|||
msgid "Clear notifications"
|
||||
msgstr ""
|
||||
|
||||
#: src/Content/Nav.php:120 src/Content/Text/HTML.php:863
|
||||
msgid "@name, !group, #tags, content"
|
||||
#: src/Content/Nav.php:120
|
||||
msgid "Search: @name, !group, #tags, content"
|
||||
msgstr ""
|
||||
|
||||
#: src/Content/Nav.php:219 src/Module/Security/Login.php:146
|
||||
|
|
@ -2301,6 +2301,10 @@ msgstr ""
|
|||
msgid "Follow"
|
||||
msgstr ""
|
||||
|
||||
#: src/Content/Text/HTML.php:863
|
||||
msgid "@name, !group, #tags, content"
|
||||
msgstr ""
|
||||
|
||||
#: src/Content/Widget.php:36
|
||||
msgid "Add New Contact"
|
||||
msgstr ""
|
||||
|
|
|
|||
|
|
@ -164,7 +164,7 @@
|
|||
<form class="navbar-form" role="search" method="get" action="{{$nav.search.0}}">
|
||||
<div class="form-group form-group-search">
|
||||
<input accesskey="s" id="nav-search-input-field" class="form-control form-search"
|
||||
type="search" name="q" placeholder="{{$nav.search.1}}: {{$search_hint}}">
|
||||
type="search" name="q" placeholder="{{$search_placeholder}}">
|
||||
<button class="btn btn-primary btn-md form-button-search" type="submit">
|
||||
<i class="fa fa-search" aria-hidden="true"></i>
|
||||
<span class="sr-only">{{$nav.search.1}}</span>
|
||||
|
|
@ -518,7 +518,7 @@
|
|||
<form class="navbar-form" role="search" method="get" action="{{$nav.search.0}}">
|
||||
<div class="form-group form-group-search">
|
||||
<input id="nav-search-input-field-mobile" class="form-control form-search" type="search" name="q"
|
||||
placeholder="{{$nav.search.1}}: {{$search_hint}}">
|
||||
placeholder="{{$search_placeholder}}">
|
||||
<button class="btn btn-primary btn-sm form-button-search" type="submit">
|
||||
<i class="fa fa-search fa-fw fa-lg" aria-hidden="true"></i>
|
||||
<span class="sr-only">{{$nav.search.1}}</span>
|
||||
|
|
|
|||
|
|
@ -679,8 +679,7 @@ nav#topbar-first #nav-search-box #nav-search-text {
|
|||
position: relative;
|
||||
height: 17px;
|
||||
margin: 4px 0px 4px 4px;
|
||||
width: 150px;
|
||||
max-width: 150px;
|
||||
width: 257px;
|
||||
background-color: #eee;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -128,7 +128,7 @@
|
|||
{{if $nav.search}}
|
||||
<li role="search" id="nav-search-box">
|
||||
<form method="get" action="{{$nav.search.0}}">
|
||||
<input accesskey="s" id="nav-search-text" class="nav-menu-search" type="text" value="" name="q" placeholder=" {{$search_hint}}">
|
||||
<input accesskey="s" id="nav-search-text" class="nav-menu-search" type="text" value="" name="q" placeholder=" {{$search_placeholder}}">
|
||||
<select name="search-option">
|
||||
<option value="fulltext">{{$nav.searchoption.0}}</option>
|
||||
<option value="tags">{{$nav.searchoption.1}}</option>
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue