aboutsummaryrefslogtreecommitdiff
path: root/lib/core-extensions/UserCSS/i18n
diff options
context:
space:
mode:
authorGravatar hkcomori <hkcomori@gmail.com> 2024-06-06 03:58:19 +0900
committerGravatar GitHub <noreply@github.com> 2024-06-05 20:58:19 +0200
commit99b1d551e61adb5cbd014677f151f443b0c6c35f (patch)
tree852e0cad4c9ad908c1c969a88e290cb05ec5df85 /lib/core-extensions/UserCSS/i18n
parent4f60a42e6437196b5a67693e0666150bb7d51ae9 (diff)
Add core extensions: UserCSS, UserJS (#6267)
* Copy CustomCSS and CustomJS Original: FreshRSS/Extensions@9f21984 * Rename CustomCSS -> UserCSS * Rename CustomJS -> UserJS * Change metadata The name is used for the directory where the configuration is stored and should not contain spaces. Since the name was changed, I reset the version number and changed to semantic versioning. * Change data directory Changed the location of the configuration file to the user data directory, because it is not `static`. That way, the user's configurations are gathered in the user directory, which makes it easier to backup them. * Edit documentations Remove procedures to install the extension because it is no longer necessary. * Fix wrong variables in the configuration page Remove permission error indication because the storage location is now in the user data directory managed by the application. * Remove the `xExtension-` prefix for core extensions * Set version to 1.0.0 for UserCSS, UserJS * Refactoring * Remove unused variables * Remove version 0.0.1 in Changelog Version 0.0.1 will not be merged, so only version 1.0.0 will remain. * public getFileUrl * Revert more protected * Use entrypoint for extension user path instead of name * Add space to extension name * Add `#[\Override]` * Add explains of User CSS and User JS to docs * Remove README of User CSS and User JS * Add migration code for extension user path --------- Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'lib/core-extensions/UserCSS/i18n')
-rw-r--r--lib/core-extensions/UserCSS/i18n/de/ext.php7
-rw-r--r--lib/core-extensions/UserCSS/i18n/en/ext.php7
-rw-r--r--lib/core-extensions/UserCSS/i18n/fr/ext.php7
-rw-r--r--lib/core-extensions/UserCSS/i18n/ja/ext.php7
4 files changed, 28 insertions, 0 deletions
diff --git a/lib/core-extensions/UserCSS/i18n/de/ext.php b/lib/core-extensions/UserCSS/i18n/de/ext.php
new file mode 100644
index 000000000..cafc5f2f0
--- /dev/null
+++ b/lib/core-extensions/UserCSS/i18n/de/ext.php
@@ -0,0 +1,7 @@
+<?php
+
+return array(
+ 'user_css' => array(
+ 'write_css' => 'Benutzerspezifische CSS Regeln',
+ ),
+);
diff --git a/lib/core-extensions/UserCSS/i18n/en/ext.php b/lib/core-extensions/UserCSS/i18n/en/ext.php
new file mode 100644
index 000000000..b82cd8331
--- /dev/null
+++ b/lib/core-extensions/UserCSS/i18n/en/ext.php
@@ -0,0 +1,7 @@
+<?php
+
+return array(
+ 'user_css' => array(
+ 'write_css' => 'Additional CSS rules',
+ ),
+);
diff --git a/lib/core-extensions/UserCSS/i18n/fr/ext.php b/lib/core-extensions/UserCSS/i18n/fr/ext.php
new file mode 100644
index 000000000..507d8be45
--- /dev/null
+++ b/lib/core-extensions/UserCSS/i18n/fr/ext.php
@@ -0,0 +1,7 @@
+<?php
+
+return array(
+ 'user_css' => array(
+ 'write_css' => 'Règles CSS supplémentaires',
+ ),
+);
diff --git a/lib/core-extensions/UserCSS/i18n/ja/ext.php b/lib/core-extensions/UserCSS/i18n/ja/ext.php
new file mode 100644
index 000000000..ce8d17c78
--- /dev/null
+++ b/lib/core-extensions/UserCSS/i18n/ja/ext.php
@@ -0,0 +1,7 @@
+<?php
+
+return array(
+ 'user_css' => array(
+ 'write_css' => '追加のCSSルール',
+ ),
+);