FEATURE: add slug geneartion options

This commit is contained in:
Erick Guan
2015-04-13 22:50:41 +08:00
committed by fantasticfears
parent 2344aa2fdd
commit b772ff6e13
21 changed files with 349 additions and 122 deletions

View File

@@ -1142,6 +1142,8 @@ en:
prevent_anons_from_downloading_files: "Prevent anonymous users from downloading attachments. WARNING: this will prevent any non-image site assets posted as attachments from working."
slug_generation_method: "Choose a slug generation method. 'encoded' will generate percent encoding string. 'none' will disable slug at all."
enable_emoji: "Enable emoji"
emoji_set: "How would you like your emoji?"
enforce_square_emoji: "Force a square aspect ratio to all emojis."

View File

@@ -779,6 +779,10 @@ uncategorized:
client: true
default: true
slug_generation_method:
default: 'ascii'
enum: 'SlugSetting'
# Search
min_search_term_length:
client: true