| @@ -141,19 +141,15 @@ return $locale == l; | ||||
|         </p> | ||||
|       </div> | ||||
|     </div> | ||||
| {$locale} | ||||
| {JSON.stringify($locale)} | ||||
|     <div class="w-full p-3"> | ||||
|       <div class="inline-block mr-2 mt-2"> | ||||
|         <button | ||||
|           on:click={() => { | ||||
|             // lang.set("de-DE"); | ||||
|             lang.set("de-DE"); | ||||
|             locale.set("de-DE"); | ||||
|           }} | ||||
|           type="button" | ||||
|           class:bg-black={$locale !== "de-DE"} | ||||
|           class:bg-blue-700={JSON.stringify($locale) == "de-DE"} | ||||
|           class="focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-black text-white text-sm py-2.5 px-5 rounded-md hover:bg-blue-700" | ||||
|           class="bg-black focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-black text-white text-sm py-2.5 px-5 rounded-md hover:bg-blue-700" | ||||
|           >Deutsch | ||||
|           <svg | ||||
|             class="h-4 inline" | ||||
| @@ -174,13 +170,11 @@ return $locale == l; | ||||
|       <div class="inline-block mr-2 mt-2"> | ||||
|         <button | ||||
|           on:click={() => { | ||||
|             // lang.set("en-US"); | ||||
|             lang.set("en-US"); | ||||
|             locale.set("en-US"); | ||||
|           }} | ||||
|           type="button" | ||||
|           class:bg-black={$locale !== "en-US"} | ||||
|           class:bg-blue-700={$locale !== "en-US"} | ||||
|           class="focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-black text-white text-sm py-2.5 px-5 rounded-md hover:bg-blue-700" | ||||
|           class="bg-black focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-black text-white text-sm py-2.5 px-5 rounded-md hover:bg-blue-700" | ||||
|           >English | ||||
|           <svg | ||||
|             class="h-4 inline" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user