mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-15 17:14:05 -08:00
65820b3b54
* ✨ Create Freshservice node * 👕 Fix lintings * ⚡ Adjust from agent to department * ⚡ Adjust from location to ticket * 👕 Fix lintings * ✏️ Improve descriptions * 🔥 Remove logging * 🔥 Remove unused helper * ✏️ Fix helper documentation * ⚡ Simplify roles in agent:create * 🔥 Remove logging * ⚡ Minor improvements * ✏️ Adjust dynamic lists descriptions * ⚡ Set default values for problem:create * ⚡ Set default values for change:create * ⚡ Handle deletion with empty response * ⚡ Update getCredentials call to new style * ✏️ Reword multiOptions descriptions * ⚡ Add special handling for validation errors * 🔥 Remove concatenated name from filters * ⚡ Fix additional params in announcement:create * ✏️ Clarify asset display ID vs asset ID * ⚡ Fix asset:update arg typo * ⚡ Fix predefined filters in change:getAll * ⚡ Fix software status options * ✏️ Reword created_at in ticket:getAll * ⚡ Add status to ticket:update * 👕 Fix lint * ⚡ Improvements * ⚡ Minor improvements Co-authored-by: ricardo <ricardoespinoza105@gmail.com> Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
45 lines
994 B
TypeScript
45 lines
994 B
TypeScript
// https://support.freshservice.com/support/solutions/articles/232303-list-of-languages-supported-in-freshservice
|
|
|
|
const RAW_LANGUAGES: { [key: string]: string } = {
|
|
en: 'English',
|
|
ar: 'Arabic',
|
|
ca: 'Catalan',
|
|
cs: 'Czech',
|
|
'cy-GB': 'Welsh',
|
|
da: 'Danish',
|
|
de: 'German',
|
|
es: 'Spanish',
|
|
'es-LA': 'Spanish (Latin America)',
|
|
et: 'Estonian',
|
|
fi: 'Finnish',
|
|
fr: 'French',
|
|
he: 'Hebrew',
|
|
hu: 'Hungarian',
|
|
id: 'Indonesian',
|
|
it: 'Italian',
|
|
'ja-JP': 'Japanese',
|
|
ko: 'Korean',
|
|
LV: 'Latvian',
|
|
'nb-NO': 'Norwegian',
|
|
nl: 'Dutch',
|
|
pl: 'Polish',
|
|
pt: 'Portuguese',
|
|
'pt-BR': 'Portuguese (Brazil)',
|
|
'pt-PT': 'Portuguese (Portugal)',
|
|
'ru-RU': 'Russian',
|
|
sk: 'Slovak',
|
|
'sk-SK': 'Slovak',
|
|
sl: 'Slovenian',
|
|
'sv-SE': 'Swedish',
|
|
th: 'Thai',
|
|
tr: 'Turkish',
|
|
UK: 'Ukrainian',
|
|
vi: 'Vietnamese',
|
|
'zh-CN': 'Chinese (Simplified)',
|
|
'zh-TW': 'Chinese (Traditional)',
|
|
};
|
|
|
|
export const LANGUAGES = Object.keys(RAW_LANGUAGES).map((key) => {
|
|
return ({ value: key, name: RAW_LANGUAGES[key] });
|
|
});
|