mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-30 07:32:45 +00:00
5249294a16
* re-structure bundler, settings panel files * add more info logging * tidy up CSS syntax errors * split into lib/ files * livereloading server * fix factor function for production builds * remove testing console.log * default to production env, saves 300kb bundle size
99 lines
3.5 KiB
JavaScript
99 lines
3.5 KiB
JavaScript
/*
|
|
GoToSocial
|
|
Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
it under the terms of the GNU Affero General Public License as published by
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
(at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU Affero General Public License for more details.
|
|
|
|
You should have received a copy of the GNU Affero General Public License
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
"use strict";
|
|
|
|
const React = require("react");
|
|
|
|
module.exports = function Languages() {
|
|
return <React.Fragment>
|
|
<option value="AF">Afrikaans</option>
|
|
<option value="SQ">Albanian</option>
|
|
<option value="AR">Arabic</option>
|
|
<option value="HY">Armenian</option>
|
|
<option value="EU">Basque</option>
|
|
<option value="BN">Bengali</option>
|
|
<option value="BG">Bulgarian</option>
|
|
<option value="CA">Catalan</option>
|
|
<option value="KM">Cambodian</option>
|
|
<option value="ZH">Chinese (Mandarin)</option>
|
|
<option value="HR">Croatian</option>
|
|
<option value="CS">Czech</option>
|
|
<option value="DA">Danish</option>
|
|
<option value="NL">Dutch</option>
|
|
<option value="EN">English</option>
|
|
<option value="ET">Estonian</option>
|
|
<option value="FJ">Fiji</option>
|
|
<option value="FI">Finnish</option>
|
|
<option value="FR">French</option>
|
|
<option value="KA">Georgian</option>
|
|
<option value="DE">German</option>
|
|
<option value="EL">Greek</option>
|
|
<option value="GU">Gujarati</option>
|
|
<option value="HE">Hebrew</option>
|
|
<option value="HI">Hindi</option>
|
|
<option value="HU">Hungarian</option>
|
|
<option value="IS">Icelandic</option>
|
|
<option value="ID">Indonesian</option>
|
|
<option value="GA">Irish</option>
|
|
<option value="IT">Italian</option>
|
|
<option value="JA">Japanese</option>
|
|
<option value="JW">Javanese</option>
|
|
<option value="KO">Korean</option>
|
|
<option value="LA">Latin</option>
|
|
<option value="LV">Latvian</option>
|
|
<option value="LT">Lithuanian</option>
|
|
<option value="MK">Macedonian</option>
|
|
<option value="MS">Malay</option>
|
|
<option value="ML">Malayalam</option>
|
|
<option value="MT">Maltese</option>
|
|
<option value="MI">Maori</option>
|
|
<option value="MR">Marathi</option>
|
|
<option value="MN">Mongolian</option>
|
|
<option value="NE">Nepali</option>
|
|
<option value="NO">Norwegian</option>
|
|
<option value="FA">Persian</option>
|
|
<option value="PL">Polish</option>
|
|
<option value="PT">Portuguese</option>
|
|
<option value="PA">Punjabi</option>
|
|
<option value="QU">Quechua</option>
|
|
<option value="RO">Romanian</option>
|
|
<option value="RU">Russian</option>
|
|
<option value="SM">Samoan</option>
|
|
<option value="SR">Serbian</option>
|
|
<option value="SK">Slovak</option>
|
|
<option value="SL">Slovenian</option>
|
|
<option value="ES">Spanish</option>
|
|
<option value="SW">Swahili</option>
|
|
<option value="SV">Swedish </option>
|
|
<option value="TA">Tamil</option>
|
|
<option value="TT">Tatar</option>
|
|
<option value="TE">Telugu</option>
|
|
<option value="TH">Thai</option>
|
|
<option value="BO">Tibetan</option>
|
|
<option value="TO">Tonga</option>
|
|
<option value="TR">Turkish</option>
|
|
<option value="UK">Ukrainian</option>
|
|
<option value="UR">Urdu</option>
|
|
<option value="UZ">Uzbek</option>
|
|
<option value="VI">Vietnamese</option>
|
|
<option value="CY">Welsh</option>
|
|
<option value="XH">Xhosa</option>
|
|
</React.Fragment>;
|
|
};
|