e.stopPropagation()}>
{this.props.state.title}
diff --git a/src/components/settings/app.tsx b/src/components/settings/app.tsx
index 6ec3f0d..7e259e0 100644
--- a/src/components/settings/app.tsx
+++ b/src/components/settings/app.tsx
@@ -80,6 +80,7 @@ class AppTab extends React.Component
{
languageOptions = (): IDropdownOption[] => [
{ key: "default", text: intl.get("followSystem") },
{ key: "en-US", text: "English" },
+ { key: "es", text: "Español"},
{ key: "fr-FR", text: "Français"},
{ key: "zh-CN", text: "中文(简体)"},
]
diff --git a/src/electron.ts b/src/electron.ts
index 55c926f..379606a 100644
--- a/src/electron.ts
+++ b/src/electron.ts
@@ -37,7 +37,8 @@ function createWindow() {
height: mainWindowState.height,
minWidth: 992,
minHeight: 600,
- frame: false,
+ frame: process.platform === "darwin",
+ titleBarStyle: "hiddenInset",
fullscreenable: false,
show: false,
webPreferences: {
diff --git a/src/scripts/i18n/README.md b/src/scripts/i18n/README.md
new file mode 100644
index 0000000..7558739
--- /dev/null
+++ b/src/scripts/i18n/README.md
@@ -0,0 +1,12 @@
+## Internationalization
+
+Currently, Fluent Reader supports the following languages.
+
+| Locale | Language | Credit |
+| --- | --- | --- |
+| en-US | English | [@yang991178](https://github.com/yang991178) |
+| es | Español | [@kant](https://github.com/kant) |
+| fr-FR | Français | [@Toinane](https://github.com/Toinane) |
+| zh-CN | 中文(简体) | [@yang991178](https://github.com/yang991178) |
+
+Refer to the repo of [react-intl-universal](https://github.com/alibaba/react-intl-universal) to get started on internationalization.
diff --git a/src/scripts/i18n/_locales.ts b/src/scripts/i18n/_locales.ts
index 852e47c..fcdb929 100644
--- a/src/scripts/i18n/_locales.ts
+++ b/src/scripts/i18n/_locales.ts
@@ -1,11 +1,13 @@
import en_US from "./en-US.json"
import zh_CN from "./zh-CN.json"
import fr_FR from "./fr-FR.json"
+import es from "./es.json"
const locales = {
"en-US": en_US,
"zh-CN": zh_CN,
"fr-FR": fr_FR,
+ "es": es,
}
export default locales
\ No newline at end of file
diff --git a/src/scripts/i18n/sp-SP.json b/src/scripts/i18n/es.json
similarity index 100%
rename from src/scripts/i18n/sp-SP.json
rename to src/scripts/i18n/es.json
diff --git a/src/scripts/utils.ts b/src/scripts/utils.ts
index 9e2f117..01078e7 100644
--- a/src/scripts/utils.ts
+++ b/src/scripts/utils.ts
@@ -35,7 +35,7 @@ export async function parseRSS(url: string) {
throw new Error(result.statusText)
}
} catch {
- throw new Error("A network error has occured.")
+ throw new Error("A network error has occurred.")
}
}