diff --git a/lang/pl.json b/lang/pl.json index 04e2f98d..399cc5ef 100644 --- a/lang/pl.json +++ b/lang/pl.json @@ -154,5 +154,7 @@ "Rules import started.": "Import zasad uruchomiony.", "Run rules import": "Uruchom import zasad", - "Found": "Znaleziono" + "Found": "Znaleziono", + "loading info about rules, please wait":"ładowanie informacji o zasadach, proszę czekać" + } diff --git a/resources/js/Pages/City/Index.vue b/resources/js/Pages/City/Index.vue index c1afb457..583edc68 100644 --- a/resources/js/Pages/City/Index.vue +++ b/resources/js/Pages/City/Index.vue @@ -21,7 +21,7 @@ const toast = useToast() const page = usePage() const isAuth = computed(() => page.props.auth.isAuth) const regulationsOpen = ref(false) -const rules = reactive({ pl: 'ładowanie informacji o zasadach, proszę czekać...', en: 'loading info about rules, please wait...' }) +const rules = reactive({ pl: '', en: '' }) fetchRegulations() const props = defineProps({ @@ -135,10 +135,13 @@ function createOpinion() {
{{ __('Rules') }}
-
- {{ currentRules }} +
+ {{ __('loading info about rules, please wait') }}... +
+
+ {{ currentRules }} +
-

{{ __('Add opinion') }}