mirror of
https://github.com/uetchy/namae.git
synced 2025-03-17 04:30:31 +09:00
fix: example query
This commit is contained in:
parent
96c2c70e28
commit
0c64e7b2df
@ -39,6 +39,7 @@
|
||||
"showMore": "show more",
|
||||
"noResult": "No Result",
|
||||
"gettingStarted": "Getting Started",
|
||||
"gettingStartedWithExample": "Try with namae",
|
||||
"pressEnterToSearch": "Press Enter to search",
|
||||
"available": "Available",
|
||||
"unavailable": "Unavailable"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"title": "唯一無二の名前を見つける",
|
||||
"description": "namae はあなたのアプリやライブラリに素敵な名前をつけるお手伝いをします。",
|
||||
"description": "namae はあなたのアプリ、ライブラリ、組織に素敵な名前をつけるお手伝いをします。",
|
||||
"placeholder": "調べる",
|
||||
"providers": {
|
||||
"domains": "ドメイン",
|
||||
@ -39,6 +39,7 @@
|
||||
"showMore": "さらに表示",
|
||||
"noResult": "該当なし",
|
||||
"gettingStarted": "はじめる",
|
||||
"gettingStartedWithExample": "namae を調べる",
|
||||
"pressEnterToSearch": "エンターキーで検索",
|
||||
"available": "取得できます",
|
||||
"unavailable": "取得できません"
|
||||
|
@ -63,8 +63,8 @@ const Welcome: React.FC = () => {
|
||||
<ButtonContainer>
|
||||
<List>
|
||||
<ListButton>
|
||||
<Link to="/s/Tooth" onClick={() => sendGettingStartedEvent()}>
|
||||
{t('gettingStarted')}
|
||||
<Link to="/s/namae" onClick={() => sendGettingStartedEvent()}>
|
||||
{t('gettingStartedWithExample')}
|
||||
</Link>
|
||||
</ListButton>
|
||||
</List>
|
||||
|
@ -4,14 +4,14 @@ import 'rc-tooltip/assets/bootstrap.css';
|
||||
import React from 'react';
|
||||
import ReactDOM from 'react-dom';
|
||||
import { Router } from 'react-router-dom';
|
||||
import { ToastContainer } from 'react-toastify';
|
||||
import { toast, ToastContainer } from 'react-toastify';
|
||||
import 'react-toastify/dist/ReactToastify.css';
|
||||
import App from './App';
|
||||
import * as serviceWorker from './serviceWorker';
|
||||
import { store, wrapHistoryWithStoreHandler } from './store';
|
||||
import { initSentry, wrapHistoryWithGA } from './util/analytics';
|
||||
import { compose } from './util/array';
|
||||
import { initCrisp } from './util/crip';
|
||||
import { initCrisp } from './util/crisp';
|
||||
import './util/i18n';
|
||||
import { FullScreenSuspense } from './util/suspense';
|
||||
|
||||
@ -36,23 +36,22 @@ ReactDOM.render(
|
||||
document.getElementById('root'),
|
||||
);
|
||||
|
||||
serviceWorker.unregister();
|
||||
// TODO: gracefully update service worker
|
||||
// serviceWorker.register({
|
||||
// onUpdate: (registration) => {
|
||||
// console.log('Update available');
|
||||
serviceWorker.register({
|
||||
onUpdate: (registration) => {
|
||||
console.log('Update available');
|
||||
|
||||
// toast.dark('New version available! Click here to update.', {
|
||||
// onClose: () => {
|
||||
// window.location.reload();
|
||||
// },
|
||||
// position: 'top-right',
|
||||
// autoClose: false,
|
||||
// closeButton: false,
|
||||
// closeOnClick: true,
|
||||
// });
|
||||
// if (registration && registration.waiting) {
|
||||
// registration.waiting.postMessage({ type: 'SKIP_WAITING' });
|
||||
// }
|
||||
// },
|
||||
// });
|
||||
toast.dark('New version available! Click here to update.', {
|
||||
onClose: () => {
|
||||
window.location.reload();
|
||||
},
|
||||
position: 'top-right',
|
||||
autoClose: false,
|
||||
closeButton: false,
|
||||
closeOnClick: true,
|
||||
});
|
||||
|
||||
if (registration && registration.waiting) {
|
||||
registration.waiting.postMessage({ type: 'SKIP_WAITING' });
|
||||
}
|
||||
},
|
||||
});
|
||||
|
@ -5,7 +5,7 @@ import XHR from 'i18next-xhr-backend';
|
||||
import LanguageDetector from 'i18next-browser-languagedetector';
|
||||
import { initReactI18next } from 'react-i18next';
|
||||
|
||||
const TRANSLATION_VERSION = '1.17';
|
||||
const TRANSLATION_VERSION = '1.18';
|
||||
|
||||
i18n
|
||||
.use(Backend)
|
||||
|
@ -9607,11 +9607,6 @@ prepend-http@^1.0.0:
|
||||
resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-1.0.4.tgz#d4f4562b0ce3696e41ac52d0e002e57a635dc6dc"
|
||||
integrity sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw=
|
||||
|
||||
prettier-plugin-organize-imports@^1.1.1:
|
||||
version "1.1.1"
|
||||
resolved "https://registry.yarnpkg.com/prettier-plugin-organize-imports/-/prettier-plugin-organize-imports-1.1.1.tgz#7f1ac1a13d4d1752dc16881894dde1c10ccbf3c0"
|
||||
integrity sha512-rFA1lnek1FYkMGthm4xBKME41qUKItTovuo24bCGZu/Vu1n3gW71UPLAkIdwewwkZCe29gRVweSOPXvAdckFuw==
|
||||
|
||||
prettier@^2.0.5:
|
||||
version "2.0.5"
|
||||
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.0.5.tgz#d6d56282455243f2f92cc1716692c08aa31522d4"
|
||||
|
Loading…
x
Reference in New Issue
Block a user