Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
6869080c
Commit
6869080c
authored
Dec 22, 2015
by
Michal Čihař
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update migrations for choice fields
Signed-off-by:
Michal Čihař
<
michal@cihar.com
>
parent
d8204656
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
45 additions
and
0 deletions
+45
-0
weblate/accounts/migrations/0013_auto_20151222_1006.py
weblate/accounts/migrations/0013_auto_20151222_1006.py
+20
-0
weblate/trans/migrations/0050_auto_20151222_1006.py
weblate/trans/migrations/0050_auto_20151222_1006.py
+25
-0
No files found.
weblate/accounts/migrations/0013_auto_20151222_1006.py
0 → 100644
View file @
6869080c
# -*- coding: utf-8 -*-
# Generated by Django 1.9 on 2015-12-22 10:06
from
__future__
import
unicode_literals
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'accounts'
,
'0012_auto_20151112_0738'
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
'profile'
,
name
=
'language'
,
field
=
models
.
CharField
(
choices
=
[(
b'az'
,
'Az
\
u0259
rbaycan'
),
(
b'be'
,
'
\
u0411
\
u0435
\
u043b
\
u0430
\
u0440
\
u0443
\
u0441
\
u043a
\
u0430
\
u044f
'
),
(
b'be@latin'
,
'Bie
\
u0142
aruskaja'
),
(
b'br'
,
'Brezhoneg'
),
(
b'ca'
,
'Catal
\
xe0
'
),
(
b'cs'
,
'
\
u010c
e
\
u0161
tina'
),
(
b'da'
,
'Dansk'
),
(
b'de'
,
'Deutsch'
),
(
b'en'
,
'English'
),
(
b'el'
,
'
\
u0395
\
u03bb
\
u03bb
\
u03b7
\
u03bd
\
u03b9
\
u03ba
\
u03ac
'
),
(
b'es'
,
'Espa
\
xf1
ol'
),
(
b'fi'
,
'Suomi'
),
(
b'fr'
,
'Fran
\
xe7
ais'
),
(
b'fy'
,
'Frysk'
),
(
b'gl'
,
'Galego'
),
(
b'he'
,
'
\
u05e2
\
u05d1
\
u05e8
\
u05d9
\
u05ea
'
),
(
b'hu'
,
'Magyar'
),
(
b'id'
,
b'Indonesia'
),
(
b'ja'
,
'
\
u65e5
\
u672c
\
u8a9e
'
),
(
b'ko'
,
'
\
ud55c
\
uad6d
\
uc5b4
'
),
(
b'ksh'
,
'K
\
xf6
lsch'
),
(
b'nl'
,
'Nederlands'
),
(
b'pl'
,
'Polski'
),
(
b'pt'
,
'Portugu
\
xea
s'
),
(
b'pt-BR'
,
'Portugu
\
xea
s brasileiro'
),
(
b'ru'
,
'
\
u0420
\
u0443
\
u0441
\
u0441
\
u043a
\
u0438
\
u0439
'
),
(
b'sk'
,
'Sloven
\
u010d
ina'
),
(
b'sl'
,
'Sloven
\
u0161
\
u010d
ina'
),
(
b'sr'
,
'
\
u0421
\
u0440
\
u043f
\
u0441
\
u043a
\
u0438
'
),
(
b'sv'
,
'Svenska'
),
(
b'tr'
,
'T
\
xfc
rk
\
xe7
e'
),
(
b'uk'
,
'
\
u0423
\
u043a
\
u0440
\
u0430
\
u0457
\
u043d
\
u0441
\
u044c
\
u043a
\
u0430
'
),
(
b'zh-Hans'
,
'
\
u7b80
\
u4f53
\
u5b57
'
),
(
b'zh-Hant'
,
'
\
u6b63
\
u9ad4
\
u5b57
'
)],
max_length
=
10
,
verbose_name
=
'Interface Language'
),
),
]
weblate/trans/migrations/0050_auto_20151222_1006.py
0 → 100644
View file @
6869080c
# -*- coding: utf-8 -*-
# Generated by Django 1.9 on 2015-12-22 10:06
from
__future__
import
unicode_literals
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'trans'
,
'0049_auto_20151222_0949'
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
'check'
,
name
=
'check'
,
field
=
models
.
CharField
(
choices
=
[(
b'end_space'
,
'Trailing space'
),
(
b'inconsistent'
,
'Inconsistent'
),
(
b'begin_newline'
,
'Starting newline'
),
(
b'max-length'
,
'Maximum length of translation'
),
(
b'zero-width-space'
,
'Zero-width space'
),
(
b'escaped_newline'
,
'Mismatched
\
\
n'
),
(
b'same'
,
'Unchanged translation'
),
(
b'end_question'
,
'Trailing question'
),
(
b'end_ellipsis'
,
'Trailing ellipsis'
),
(
b'python_brace_format'
,
'Python brace format'
),
(
b'end_newline'
,
'Trailing newline'
),
(
b'c_format'
,
'C format'
),
(
b'end_exclamation'
,
'Trailing exclamation'
),
(
b'end_colon'
,
'Trailing colon'
),
(
b'xml-tags'
,
'XML tags mismatch'
),
(
b'python_format'
,
'Python format'
),
(
b'plurals'
,
'Missing plurals'
),
(
b'javascript_format'
,
'Javascript format'
),
(
b'begin_space'
,
'Starting spaces'
),
(
b'bbcode'
,
'Mismatched BBcode'
),
(
b'php_format'
,
'PHP format'
),
(
b'end_stop'
,
'Trailing stop'
)],
max_length
=
20
),
),
migrations
.
AlterField
(
model_name
=
'subproject'
,
name
=
'file_format'
,
field
=
models
.
CharField
(
choices
=
[(
b'aresource'
,
'Android String Resource'
),
(
b'auto'
,
'Automatic detection'
),
(
b'csv'
,
'CSV file'
),
(
b'csv-simple'
,
'Simple CSV file'
),
(
b'csv-simple-iso'
,
'Simple CSV file (ISO-8859-1)'
),
(
b'json'
,
'JSON file'
),
(
b'php'
,
'PHP strings'
),
(
b'po'
,
'Gettext PO file'
),
(
b'po-mono'
,
'Gettext PO file (monolingual)'
),
(
b'properties'
,
'Java Properties (ISO-8859-1)'
),
(
b'properties-utf16'
,
'Java Properties (UTF-16)'
),
(
b'properties-utf8'
,
'Java Properties (UTF-8)'
),
(
b'resx'
,
'.Net resource file'
),
(
b'strings'
,
'OS X Strings'
),
(
b'strings-utf8'
,
'OS X Strings (UTF-8)'
),
(
b'ts'
,
'Qt Linguist Translation File'
),
(
b'xliff'
,
'XLIFF Translation File'
)],
default
=
b'auto'
,
help_text
=
'Automatic detection might fail for some formats and is slightly slower.'
,
max_length
=
50
,
verbose_name
=
'File format'
),
),
]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment