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
0eb42530
Commit
0eb42530
authored
Aug 29, 2013
by
Weblate
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
3128deae
6164d7bc
Changes
68
Hide whitespace changes
Inline
Side-by-side
Showing
68 changed files
with
94 additions
and
171 deletions
+94
-171
accounts/migrations/0001_initial.py
accounts/migrations/0001_initial.py
+0
-1
accounts/migrations/0002_subscriptions.py
accounts/migrations/0002_subscriptions.py
+0
-1
accounts/migrations/0003_auto__add_field_profile_subscribe_new_comment.py
...ons/0003_auto__add_field_profile_subscribe_new_comment.py
+0
-2
accounts/migrations/0004_auto__add_field_profile_subscribe_merge_failure.py
...s/0004_auto__add_field_profile_subscribe_merge_failure.py
+0
-2
accounts/migrations/0005_auto__add_field_profile_subscribe_new_language.py
...ns/0005_auto__add_field_profile_subscribe_new_language.py
+0
-3
docs/_ext/djangodocs.py
docs/_ext/djangodocs.py
+0
-2
lang/migrations/0001_initial.py
lang/migrations/0001_initial.py
+0
-3
lang/migrations/0002_auto__add_field_language_direction.py
lang/migrations/0002_auto__add_field_language_direction.py
+0
-2
lang/migrations/0003_auto__add_field_language_plural_type.py
lang/migrations/0003_auto__add_field_language_plural_type.py
+0
-2
lang/migrations/0004_fill_in_plural_type.py
lang/migrations/0004_fill_in_plural_type.py
+0
-3
trans/migrations/0001_initial.py
trans/migrations/0001_initial.py
+0
-2
trans/migrations/0002_add_subproject_locking.py
trans/migrations/0002_add_subproject_locking.py
+0
-2
trans/migrations/0003_add_translation_disabling.py
trans/migrations/0003_add_translation_disabling.py
+0
-2
trans/migrations/0004_add_new_language_choice.py
trans/migrations/0004_add_new_language_choice.py
+0
-2
trans/migrations/0005_add_vcs_config_to_project.py
trans/migrations/0005_add_vcs_config_to_project.py
+0
-2
trans/migrations/0006_add_push_on_commit.py
trans/migrations/0006_add_push_on_commit.py
+0
-2
trans/migrations/0007_add_language_code.py
trans/migrations/0007_add_language_code.py
+0
-2
trans/migrations/0008_add_translation_locking.py
trans/migrations/0008_add_translation_locking.py
+0
-1
trans/migrations/0009_add_set_translation_team.py
trans/migrations/0009_add_set_translation_team.py
+0
-2
trans/migrations/0010_add_merge_style.py
trans/migrations/0010_add_merge_style.py
+0
-2
trans/migrations/0011_add_file_format.py
trans/migrations/0011_add_file_format.py
+0
-2
trans/migrations/0012_enlarge_revision.py
trans/migrations/0012_enlarge_revision.py
+0
-2
trans/migrations/0013_auto__add_field_subproject_report_source_bugs.py
...ons/0013_auto__add_field_subproject_report_source_bugs.py
+0
-2
trans/migrations/0014_auto__chg_field_check_language.py
trans/migrations/0014_auto__chg_field_check_language.py
+0
-2
trans/migrations/0015_auto__add_field_indexupdate_source.py
trans/migrations/0015_auto__add_field_indexupdate_source.py
+0
-2
trans/migrations/0016_auto__add_comment.py
trans/migrations/0016_auto__add_comment.py
+0
-2
trans/migrations/0017_auto__add_field_change_action.py
trans/migrations/0017_auto__add_field_change_action.py
+0
-2
trans/migrations/0018_auto__add_field_change_translation.py
trans/migrations/0018_auto__add_field_change_translation.py
+0
-2
trans/migrations/0019_fill_in_translation_reference.py
trans/migrations/0019_fill_in_translation_reference.py
+0
-3
trans/migrations/0020_auto__chg_field_change_translation__chg_field_change_unit.py
...o__chg_field_change_translation__chg_field_change_unit.py
+0
-2
trans/migrations/0021_auto__chg_field_change_user.py
trans/migrations/0021_auto__chg_field_change_user.py
+0
-2
trans/migrations/0022_auto__add_field_subproject_allow_translation_propagation.py
...to__add_field_subproject_allow_translation_propagation.py
+0
-2
trans/migrations/0023_auto__chg_field_project_commit_message.py
...migrations/0023_auto__chg_field_project_commit_message.py
+0
-2
trans/migrations/0024_auto__add_field_unit_previous_source.py
...s/migrations/0024_auto__add_field_unit_previous_source.py
+0
-2
trans/migrations/0025_auto__add_field_project_enable_acl.py
trans/migrations/0025_auto__add_field_project_enable_acl.py
+0
-2
trans/migrations/0026_auto__add_unique_subproject_project_name__add_unique_subproject_projec.py
..._subproject_project_name__add_unique_subproject_projec.py
+0
-3
trans/migrations/0027_auto__chg_field_subproject_template.py
trans/migrations/0027_auto__chg_field_subproject_template.py
+0
-3
trans/migrations/0028_auto__chg_field_subproject_push.py
trans/migrations/0028_auto__chg_field_subproject_push.py
+0
-3
trans/migrations/0029_auto__add_field_translation_failing_checks.py
...ations/0029_auto__add_field_translation_failing_checks.py
+0
-3
trans/migrations/0030_update_failing_checks.py
trans/migrations/0030_update_failing_checks.py
+1
-4
trans/migrations/0031_auto__add_field_translation_have_suggestion.py
...tions/0031_auto__add_field_translation_have_suggestion.py
+0
-3
trans/migrations/0032_update_have_suggestion.py
trans/migrations/0032_update_have_suggestion.py
+1
-4
trans/migrations/0033_auto__add_field_subproject_extra_commit_file__add_field_subproject_pre.py
...subproject_extra_commit_file__add_field_subproject_pre.py
+19
-3
trans/migrations/0034_auto__add_field_subproject_git_export.py
.../migrations/0034_auto__add_field_subproject_git_export.py
+0
-3
trans/migrations/0035_auto__add_field_unit_has_suggestion__add_field_unit_has_comment__add_f.py
...unit_has_suggestion__add_field_unit_has_comment__add_f.py
+0
-3
trans/migrations/0036_update_unit_stats.py
trans/migrations/0036_update_unit_stats.py
+0
-4
trans/migrations/0037_auto__add_field_translation_translated_words__add_field_translation_to.py
...translation_translated_words__add_field_translation_to.py
+0
-3
trans/migrations/0038_update_word_counts.py
trans/migrations/0038_update_word_counts.py
+19
-3
trans/migrations/0039_auto__add_unique_check_project_checksum_check_language.py
...auto__add_unique_check_project_checksum_check_language.py
+19
-3
trans/migrations/0040_change_plural_separator.py
trans/migrations/0040_change_plural_separator.py
+1
-4
trans/migrations/0041_auto__add_field_subproject_save_history__add_field_change_target.py
...field_subproject_save_history__add_field_change_target.py
+0
-3
trans/migrations/0042_auto__add_field_project_license__add_field_project_license_url.py
...d_field_project_license__add_field_project_license_url.py
+0
-3
trans/migrations/0043_auto__add_vote__add_unique_vote_suggestion_user.py
...s/0043_auto__add_vote__add_unique_vote_suggestion_user.py
+0
-3
trans/migrations/0044_auto__add_field_subproject_suggestion_voting__add_field_subproject_sug.py
...subproject_suggestion_voting__add_field_subproject_sug.py
+0
-3
trans/migrations/0045_auto__add_field_subproject_check_flags.py
...migrations/0045_auto__add_field_subproject_check_flags.py
+0
-3
trans/migrations/0046_auto__add_field_unit_contentsum.py
trans/migrations/0046_auto__add_field_unit_contentsum.py
+0
-3
trans/migrations/0047_fill_in_contentsum.py
trans/migrations/0047_fill_in_contentsum.py
+1
-4
trans/migrations/0048_auto__add_field_check_contentsum__add_field_suggestion_contentsum__add.py
...check_contentsum__add_field_suggestion_contentsum__add.py
+0
-3
trans/migrations/0049_link_unitdata_on_contentsum.py
trans/migrations/0049_link_unitdata_on_contentsum.py
+1
-4
trans/migrations/0050_auto__del_field_check_checksum__del_unique_check_project_checksum_chec.py
...check_checksum__del_unique_check_project_checksum_chec.py
+0
-3
trans/migrations/0051_auto__add_field_translation_commit_message.py
...ations/0051_auto__add_field_translation_commit_message.py
+0
-3
trans/migrations/0052_auto__add_field_subproject_new_base.py
trans/migrations/0052_auto__add_field_subproject_new_base.py
+19
-3
trans/tests/exports.py
trans/tests/exports.py
+2
-2
trans/tests/js_views.py
trans/tests/js_views.py
+2
-2
trans/views/api.py
trans/views/api.py
+1
-1
trans/views/dictionary.py
trans/views/dictionary.py
+4
-4
trans/views/files.py
trans/views/files.py
+2
-2
trans/views/js.py
trans/views/js.py
+2
-2
No files found.
accounts/migrations/0001_initial.py
View file @
0eb42530
...
@@ -17,7 +17,6 @@
...
@@ -17,7 +17,6 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
import
datetime
from
south.db
import
db
from
south.db
import
db
from
south.v2
import
SchemaMigration
from
south.v2
import
SchemaMigration
from
django.db
import
models
from
django.db
import
models
...
...
accounts/migrations/0002_subscriptions.py
View file @
0eb42530
...
@@ -17,7 +17,6 @@
...
@@ -17,7 +17,6 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
import
datetime
from
south.db
import
db
from
south.db
import
db
from
south.v2
import
SchemaMigration
from
south.v2
import
SchemaMigration
from
django.db
import
models
from
django.db
import
models
...
...
accounts/migrations/0003_auto__add_field_profile_subscribe_new_comment.py
View file @
0eb42530
...
@@ -17,10 +17,8 @@
...
@@ -17,10 +17,8 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
import
datetime
from
south.db
import
db
from
south.db
import
db
from
south.v2
import
SchemaMigration
from
south.v2
import
SchemaMigration
from
django.db
import
models
class
Migration
(
SchemaMigration
):
class
Migration
(
SchemaMigration
):
...
...
accounts/migrations/0004_auto__add_field_profile_subscribe_merge_failure.py
View file @
0eb42530
...
@@ -17,10 +17,8 @@
...
@@ -17,10 +17,8 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
import
datetime
from
south.db
import
db
from
south.db
import
db
from
south.v2
import
SchemaMigration
from
south.v2
import
SchemaMigration
from
django.db
import
models
class
Migration
(
SchemaMigration
):
class
Migration
(
SchemaMigration
):
...
...
accounts/migrations/0005_auto__add_field_profile_subscribe_new_language.py
View file @
0eb42530
...
@@ -17,11 +17,8 @@
...
@@ -17,11 +17,8 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
import
datetime
from
south.db
import
db
from
south.db
import
db
from
south.v2
import
SchemaMigration
from
south.v2
import
SchemaMigration
from
django.db
import
models
class
Migration
(
SchemaMigration
):
class
Migration
(
SchemaMigration
):
...
...
docs/_ext/djangodocs.py
View file @
0eb42530
...
@@ -5,8 +5,6 @@ import json
...
@@ -5,8 +5,6 @@ import json
import
os
import
os
import
re
import
re
from
docutils
import
nodes
,
transforms
from
sphinx
import
addnodes
,
roles
,
__version__
as
sphinx_ver
from
sphinx
import
addnodes
,
roles
,
__version__
as
sphinx_ver
from
sphinx.builders.html
import
StandaloneHTMLBuilder
from
sphinx.builders.html
import
StandaloneHTMLBuilder
from
sphinx.writers.html
import
SmartyPantsHTMLTranslator
from
sphinx.writers.html
import
SmartyPantsHTMLTranslator
...
...
lang/migrations/0001_initial.py
View file @
0eb42530
...
@@ -17,11 +17,8 @@
...
@@ -17,11 +17,8 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
import
datetime
from
south.db
import
db
from
south.db
import
db
from
south.v2
import
SchemaMigration
from
south.v2
import
SchemaMigration
from
django.db
import
models
class
Migration
(
SchemaMigration
):
class
Migration
(
SchemaMigration
):
...
...
lang/migrations/0002_auto__add_field_language_direction.py
View file @
0eb42530
...
@@ -17,10 +17,8 @@
...
@@ -17,10 +17,8 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
import
datetime
from
south.db
import
db
from
south.db
import
db
from
south.v2
import
SchemaMigration
from
south.v2
import
SchemaMigration
from
django.db
import
models
class
Migration
(
SchemaMigration
):
class
Migration
(
SchemaMigration
):
...
...
lang/migrations/0003_auto__add_field_language_plural_type.py
View file @
0eb42530
...
@@ -17,10 +17,8 @@
...
@@ -17,10 +17,8 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
import
datetime
from
south.db
import
db
from
south.db
import
db
from
south.v2
import
SchemaMigration
from
south.v2
import
SchemaMigration
from
django.db
import
models
class
Migration
(
SchemaMigration
):
class
Migration
(
SchemaMigration
):
...
...
lang/migrations/0004_fill_in_plural_type.py
View file @
0eb42530
...
@@ -17,10 +17,7 @@
...
@@ -17,10 +17,7 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
import
datetime
from
south.db
import
db
from
south.v2
import
DataMigration
from
south.v2
import
DataMigration
from
django.db
import
models
from
lang.models
import
get_plural_type
from
lang.models
import
get_plural_type
...
...
trans/migrations/0001_initial.py
View file @
0eb42530
...
@@ -17,10 +17,8 @@
...
@@ -17,10 +17,8 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
import
datetime
from
south.db
import
db
from
south.db
import
db
from
south.v2
import
SchemaMigration
from
south.v2
import
SchemaMigration
from
django.db
import
models
class
Migration
(
SchemaMigration
):
class
Migration
(
SchemaMigration
):
...
...
trans/migrations/0002_add_subproject_locking.py
View file @
0eb42530
...
@@ -17,10 +17,8 @@
...
@@ -17,10 +17,8 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
import
datetime
from
south.db
import
db
from
south.db
import
db
from
south.v2
import
SchemaMigration
from
south.v2
import
SchemaMigration
from
django.db
import
models
class
Migration
(
SchemaMigration
):
class
Migration
(
SchemaMigration
):
...
...
trans/migrations/0003_add_translation_disabling.py
View file @
0eb42530
...
@@ -17,10 +17,8 @@
...
@@ -17,10 +17,8 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
import
datetime
from
south.db
import
db
from
south.db
import
db
from
south.v2
import
SchemaMigration
from
south.v2
import
SchemaMigration
from
django.db
import
models
class
Migration
(
SchemaMigration
):
class
Migration
(
SchemaMigration
):
...
...
trans/migrations/0004_add_new_language_choice.py
View file @
0eb42530
...
@@ -17,10 +17,8 @@
...
@@ -17,10 +17,8 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
import
datetime
from
south.db
import
db
from
south.db
import
db
from
south.v2
import
SchemaMigration
from
south.v2
import
SchemaMigration
from
django.db
import
models
class
Migration
(
SchemaMigration
):
class
Migration
(
SchemaMigration
):
...
...
trans/migrations/0005_add_vcs_config_to_project.py
View file @
0eb42530
...
@@ -17,10 +17,8 @@
...
@@ -17,10 +17,8 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
import
datetime
from
south.db
import
db
from
south.db
import
db
from
south.v2
import
SchemaMigration
from
south.v2
import
SchemaMigration
from
django.db
import
models
class
Migration
(
SchemaMigration
):
class
Migration
(
SchemaMigration
):
...
...
trans/migrations/0006_add_push_on_commit.py
View file @
0eb42530
...
@@ -17,10 +17,8 @@
...
@@ -17,10 +17,8 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
import
datetime
from
south.db
import
db
from
south.db
import
db
from
south.v2
import
SchemaMigration
from
south.v2
import
SchemaMigration
from
django.db
import
models
class
Migration
(
SchemaMigration
):
class
Migration
(
SchemaMigration
):
...
...
trans/migrations/0007_add_language_code.py
View file @
0eb42530
...
@@ -17,10 +17,8 @@
...
@@ -17,10 +17,8 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
import
datetime
from
south.db
import
db
from
south.db
import
db
from
south.v2
import
SchemaMigration
from
south.v2
import
SchemaMigration
from
django.db
import
models
class
Migration
(
SchemaMigration
):
class
Migration
(
SchemaMigration
):
...
...
trans/migrations/0008_add_translation_locking.py
View file @
0eb42530
...
@@ -20,7 +20,6 @@
...
@@ -20,7 +20,6 @@
import
datetime
import
datetime
from
south.db
import
db
from
south.db
import
db
from
south.v2
import
SchemaMigration
from
south.v2
import
SchemaMigration
from
django.db
import
models
class
Migration
(
SchemaMigration
):
class
Migration
(
SchemaMigration
):
...
...
trans/migrations/0009_add_set_translation_team.py
View file @
0eb42530
...
@@ -17,10 +17,8 @@
...
@@ -17,10 +17,8 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
import
datetime
from
south.db
import
db
from
south.db
import
db
from
south.v2
import
SchemaMigration
from
south.v2
import
SchemaMigration
from
django.db
import
models
class
Migration
(
SchemaMigration
):
class
Migration
(
SchemaMigration
):
...
...
trans/migrations/0010_add_merge_style.py
View file @
0eb42530
...
@@ -17,10 +17,8 @@
...
@@ -17,10 +17,8 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
import
datetime
from
south.db
import
db
from
south.db
import
db
from
south.v2
import
SchemaMigration
from
south.v2
import
SchemaMigration
from
django.db
import
models
class
Migration
(
SchemaMigration
):
class
Migration
(
SchemaMigration
):
...
...
trans/migrations/0011_add_file_format.py
View file @
0eb42530
...
@@ -17,10 +17,8 @@
...
@@ -17,10 +17,8 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
import
datetime
from
south.db
import
db
from
south.db
import
db
from
south.v2
import
SchemaMigration
from
south.v2
import
SchemaMigration
from
django.db
import
models
class
Migration
(
SchemaMigration
):
class
Migration
(
SchemaMigration
):
...
...
trans/migrations/0012_enlarge_revision.py
View file @
0eb42530
...
@@ -17,10 +17,8 @@
...
@@ -17,10 +17,8 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
import
datetime
from
south.db
import
db
from
south.db
import
db
from
south.v2
import
SchemaMigration
from
south.v2
import
SchemaMigration
from
django.db
import
models
class
Migration
(
SchemaMigration
):
class
Migration
(
SchemaMigration
):
...
...
trans/migrations/0013_auto__add_field_subproject_report_source_bugs.py
View file @
0eb42530
...
@@ -17,10 +17,8 @@
...
@@ -17,10 +17,8 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
import
datetime
from
south.db
import
db
from
south.db
import
db
from
south.v2
import
SchemaMigration
from
south.v2
import
SchemaMigration
from
django.db
import
models
class
Migration
(
SchemaMigration
):
class
Migration
(
SchemaMigration
):
...
...
trans/migrations/0014_auto__chg_field_check_language.py
View file @
0eb42530
...
@@ -17,10 +17,8 @@
...
@@ -17,10 +17,8 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
import
datetime
from
south.db
import
db
from
south.db
import
db
from
south.v2
import
SchemaMigration
from
south.v2
import
SchemaMigration
from
django.db
import
models
class
Migration
(
SchemaMigration
):
class
Migration
(
SchemaMigration
):
...
...
trans/migrations/0015_auto__add_field_indexupdate_source.py
View file @
0eb42530
...
@@ -17,10 +17,8 @@
...
@@ -17,10 +17,8 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
import
datetime
from
south.db
import
db
from
south.db
import
db
from
south.v2
import
SchemaMigration
from
south.v2
import
SchemaMigration
from
django.db
import
models
class
Migration
(
SchemaMigration
):
class
Migration
(
SchemaMigration
):
...
...
trans/migrations/0016_auto__add_comment.py
View file @
0eb42530
...
@@ -17,10 +17,8 @@
...
@@ -17,10 +17,8 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
import
datetime
from
south.db
import
db
from
south.db
import
db
from
south.v2
import
SchemaMigration
from
south.v2
import
SchemaMigration
from
django.db
import
models
class
Migration
(
SchemaMigration
):
class
Migration
(
SchemaMigration
):
...
...
trans/migrations/0017_auto__add_field_change_action.py
View file @
0eb42530
...
@@ -17,10 +17,8 @@
...
@@ -17,10 +17,8 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
import
datetime
from
south.db
import
db
from
south.db
import
db
from
south.v2
import
SchemaMigration
from
south.v2
import
SchemaMigration
from
django.db
import
models
class
Migration
(
SchemaMigration
):
class
Migration
(
SchemaMigration
):
...
...
trans/migrations/0018_auto__add_field_change_translation.py
View file @
0eb42530
...
@@ -17,10 +17,8 @@
...
@@ -17,10 +17,8 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
import
datetime
from
south.db
import
db
from
south.db
import
db
from
south.v2
import
SchemaMigration
from
south.v2
import
SchemaMigration
from
django.db
import
models
class
Migration
(
SchemaMigration
):
class
Migration
(
SchemaMigration
):
...
...
trans/migrations/0019_fill_in_translation_reference.py
View file @
0eb42530
...
@@ -17,10 +17,7 @@
...
@@ -17,10 +17,7 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
import
datetime
from
south.db
import
db
from
south.v2
import
DataMigration
from
south.v2
import
DataMigration
from
django.db
import
models
class
Migration
(
DataMigration
):
class
Migration
(
DataMigration
):
...
...
trans/migrations/0020_auto__chg_field_change_translation__chg_field_change_unit.py
View file @
0eb42530
...
@@ -17,10 +17,8 @@
...
@@ -17,10 +17,8 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
import
datetime
from
south.db
import
db
from
south.db
import
db
from
south.v2
import
SchemaMigration
from
south.v2
import
SchemaMigration
from
django.db
import
models
class
Migration
(
SchemaMigration
):
class
Migration
(
SchemaMigration
):
...
...
trans/migrations/0021_auto__chg_field_change_user.py
View file @
0eb42530
...
@@ -17,10 +17,8 @@
...
@@ -17,10 +17,8 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
import
datetime
from
south.db
import
db
from
south.db
import
db
from
south.v2
import
SchemaMigration
from
south.v2
import
SchemaMigration
from
django.db
import
models
class
Migration
(
SchemaMigration
):
class
Migration
(
SchemaMigration
):
...
...
trans/migrations/0022_auto__add_field_subproject_allow_translation_propagation.py
View file @
0eb42530
...
@@ -17,10 +17,8 @@
...
@@ -17,10 +17,8 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
import
datetime
from
south.db
import
db
from
south.db
import
db
from
south.v2
import
SchemaMigration
from
south.v2
import
SchemaMigration
from
django.db
import
models
class
Migration
(
SchemaMigration
):
class
Migration
(
SchemaMigration
):
...
...
trans/migrations/0023_auto__chg_field_project_commit_message.py
View file @
0eb42530
...
@@ -17,10 +17,8 @@
...
@@ -17,10 +17,8 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
import
datetime
from
south.db
import
db
from
south.db
import
db
from
south.v2
import
SchemaMigration
from
south.v2
import
SchemaMigration
from
django.db
import
models
class
Migration
(
SchemaMigration
):
class
Migration
(
SchemaMigration
):
...
...
trans/migrations/0024_auto__add_field_unit_previous_source.py
View file @
0eb42530
...
@@ -17,10 +17,8 @@
...
@@ -17,10 +17,8 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
import
datetime
from
south.db
import
db
from
south.db
import
db
from
south.v2
import
SchemaMigration
from
south.v2
import
SchemaMigration
from
django.db
import
models
class
Migration
(
SchemaMigration
):
class
Migration
(
SchemaMigration
):
...
...
trans/migrations/0025_auto__add_field_project_enable_acl.py
View file @
0eb42530
...
@@ -17,10 +17,8 @@
...
@@ -17,10 +17,8 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
import
datetime
from
south.db
import
db
from
south.db
import
db
from
south.v2
import
SchemaMigration
from
south.v2
import
SchemaMigration
from
django.db
import
models
class
Migration
(
SchemaMigration
):
class
Migration
(
SchemaMigration
):
...
...
trans/migrations/0026_auto__add_unique_subproject_project_name__add_unique_subproject_projec.py
View file @
0eb42530
...
@@ -17,11 +17,8 @@
...
@@ -17,11 +17,8 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
import
datetime
from
south.db
import
db
from
south.db
import
db
from
south.v2
import
SchemaMigration
from
south.v2
import
SchemaMigration
from
django.db
import
models
class
Migration
(
SchemaMigration
):
class
Migration
(
SchemaMigration
):
...
...
trans/migrations/0027_auto__chg_field_subproject_template.py
View file @
0eb42530
...
@@ -17,11 +17,8 @@
...
@@ -17,11 +17,8 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
import
datetime
from
south.db
import
db
from
south.db
import
db
from
south.v2
import
SchemaMigration
from
south.v2
import
SchemaMigration
from
django.db
import
models
class
Migration
(
SchemaMigration
):
class
Migration
(
SchemaMigration
):
...
...
trans/migrations/0028_auto__chg_field_subproject_push.py
View file @
0eb42530
...
@@ -17,11 +17,8 @@
...
@@ -17,11 +17,8 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
import
datetime
from
south.db
import
db
from
south.db
import
db
from
south.v2
import
SchemaMigration
from
south.v2
import
SchemaMigration
from
django.db
import
models
class
Migration
(
SchemaMigration
):
class
Migration
(
SchemaMigration
):
...
...
trans/migrations/0029_auto__add_field_translation_failing_checks.py
View file @
0eb42530
...
@@ -17,11 +17,8 @@
...
@@ -17,11 +17,8 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
import
datetime
from
south.db
import
db
from
south.db
import
db
from
south.v2
import
SchemaMigration
from
south.v2
import
SchemaMigration
from
django.db
import
models
class
Migration
(
SchemaMigration
):
class
Migration
(
SchemaMigration
):
...
...
trans/migrations/0030_update_failing_checks.py
View file @
0eb42530
...
@@ -17,11 +17,8 @@
...
@@ -17,11 +17,8 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
import
datetime
from
south.db
import
db
from
south.v2
import
DataMigration
from
south.v2
import
DataMigration
from
django.db
import
models
class
Migration
(
DataMigration
):
class
Migration
(
DataMigration
):
...
...
trans/migrations/0031_auto__add_field_translation_have_suggestion.py
View file @
0eb42530
...
@@ -17,11 +17,8 @@
...
@@ -17,11 +17,8 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
import
datetime
from
south.db
import
db
from
south.db
import
db
from
south.v2
import
SchemaMigration
from
south.v2
import
SchemaMigration
from
django.db
import
models
class
Migration
(
SchemaMigration
):
class
Migration
(
SchemaMigration
):
...
...
trans/migrations/0032_update_have_suggestion.py
View file @
0eb42530
...
@@ -17,11 +17,8 @@
...
@@ -17,11 +17,8 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
import
datetime
from
south.db
import
db
from
south.v2
import
DataMigration
from
south.v2
import
DataMigration
from
django.db
import
models
class
Migration
(
DataMigration
):
class
Migration
(
DataMigration
):
...
...
trans/migrations/0033_auto__add_field_subproject_extra_commit_file__add_field_subproject_pre.py
View file @
0eb42530
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
import
datetime
#
# Copyright © 2012 - 2013 Michal Čihař <michal@cihar.com>
#
# This file is part of Weblate <http://weblate.org/>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
from
south.db
import
db
from
south.db
import
db
from
south.v2
import
SchemaMigration
from
south.v2
import
SchemaMigration
from
django.db
import
models
class
Migration
(
SchemaMigration
):
class
Migration
(
SchemaMigration
):
...
@@ -196,4 +212,4 @@ class Migration(SchemaMigration):
...
@@ -196,4 +212,4 @@ class Migration(SchemaMigration):
}
}
}
}
complete_apps
=
[
'trans'
]
complete_apps
=
[
'trans'
]
\ No newline at end of file
trans/migrations/0034_auto__add_field_subproject_git_export.py
View file @
0eb42530
...
@@ -17,11 +17,8 @@
...
@@ -17,11 +17,8 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
import
datetime
from
south.db
import
db
from
south.db
import
db
from
south.v2
import
SchemaMigration
from
south.v2
import
SchemaMigration
from
django.db
import
models
class
Migration
(
SchemaMigration
):
class
Migration
(
SchemaMigration
):
...
...
trans/migrations/0035_auto__add_field_unit_has_suggestion__add_field_unit_has_comment__add_f.py
View file @
0eb42530
...
@@ -17,11 +17,8 @@
...
@@ -17,11 +17,8 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
import
datetime
from
south.db
import
db
from
south.db
import
db
from
south.v2
import
SchemaMigration
from
south.v2
import
SchemaMigration
from
django.db
import
models
class
Migration
(
SchemaMigration
):
class
Migration
(
SchemaMigration
):
...
...
trans/migrations/0036_update_unit_stats.py
View file @
0eb42530
...
@@ -17,12 +17,8 @@
...
@@ -17,12 +17,8 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
import
datetime
import
time
import
time
from
south.db
import
db
from
south.v2
import
DataMigration
from
south.v2
import
DataMigration
from
django.db
import
models
class
Migration
(
DataMigration
):
class
Migration
(
DataMigration
):
...
...
trans/migrations/0037_auto__add_field_translation_translated_words__add_field_translation_to.py
View file @
0eb42530
...
@@ -17,11 +17,8 @@
...
@@ -17,11 +17,8 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
import
datetime
from
south.db
import
db
from
south.db
import
db
from
south.v2
import
SchemaMigration
from
south.v2
import
SchemaMigration
from
django.db
import
models
class
Migration
(
SchemaMigration
):
class
Migration
(
SchemaMigration
):
...
...
trans/migrations/0038_update_word_counts.py
View file @
0eb42530
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
import
datetime
#
from
south.db
import
db
# Copyright © 2012 - 2013 Michal Čihař <michal@cihar.com>
#
# This file is part of Weblate <http://weblate.org/>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
from
south.v2
import
DataMigration
from
south.v2
import
DataMigration
from
django.db
import
models
from
django.db.models
import
Sum
from
django.db.models
import
Sum
class
Migration
(
DataMigration
):
class
Migration
(
DataMigration
):
def
forwards
(
self
,
orm
):
def
forwards
(
self
,
orm
):
...
...
trans/migrations/0039_auto__add_unique_check_project_checksum_check_language.py
View file @
0eb42530
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
import
datetime
#
# Copyright © 2012 - 2013 Michal Čihař <michal@cihar.com>
#
# This file is part of Weblate <http://weblate.org/>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
from
south.db
import
db
from
south.db
import
db
from
south.v2
import
SchemaMigration
from
south.v2
import
SchemaMigration
from
django.db
import
models
class
Migration
(
SchemaMigration
):
class
Migration
(
SchemaMigration
):
...
@@ -193,4 +209,4 @@ class Migration(SchemaMigration):
...
@@ -193,4 +209,4 @@ class Migration(SchemaMigration):
}
}
}
}
complete_apps
=
[
'trans'
]
complete_apps
=
[
'trans'
]
\ No newline at end of file
trans/migrations/0040_change_plural_separator.py
View file @
0eb42530
...
@@ -17,11 +17,8 @@
...
@@ -17,11 +17,8 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
import
datetime
from
south.db
import
db
from
south.v2
import
DataMigration
from
south.v2
import
DataMigration
from
django.db
import
models
class
Migration
(
DataMigration
):
class
Migration
(
DataMigration
):
...
...
trans/migrations/0041_auto__add_field_subproject_save_history__add_field_change_target.py
View file @
0eb42530
...
@@ -17,11 +17,8 @@
...
@@ -17,11 +17,8 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
import
datetime
from
south.db
import
db
from
south.db
import
db
from
south.v2
import
SchemaMigration
from
south.v2
import
SchemaMigration
from
django.db
import
models
class
Migration
(
SchemaMigration
):
class
Migration
(
SchemaMigration
):
...
...
trans/migrations/0042_auto__add_field_project_license__add_field_project_license_url.py
View file @
0eb42530
...
@@ -17,11 +17,8 @@
...
@@ -17,11 +17,8 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
import
datetime
from
south.db
import
db
from
south.db
import
db
from
south.v2
import
SchemaMigration
from
south.v2
import
SchemaMigration
from
django.db
import
models
class
Migration
(
SchemaMigration
):
class
Migration
(
SchemaMigration
):
...
...
trans/migrations/0043_auto__add_vote__add_unique_vote_suggestion_user.py
View file @
0eb42530
...
@@ -17,11 +17,8 @@
...
@@ -17,11 +17,8 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
import
datetime
from
south.db
import
db
from
south.db
import
db
from
south.v2
import
SchemaMigration
from
south.v2
import
SchemaMigration
from
django.db
import
models
class
Migration
(
SchemaMigration
):
class
Migration
(
SchemaMigration
):
...
...
trans/migrations/0044_auto__add_field_subproject_suggestion_voting__add_field_subproject_sug.py
View file @
0eb42530
...
@@ -17,11 +17,8 @@
...
@@ -17,11 +17,8 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
import
datetime
from
south.db
import
db
from
south.db
import
db
from
south.v2
import
SchemaMigration
from
south.v2
import
SchemaMigration
from
django.db
import
models
class
Migration
(
SchemaMigration
):
class
Migration
(
SchemaMigration
):
...
...
trans/migrations/0045_auto__add_field_subproject_check_flags.py
View file @
0eb42530
...
@@ -17,11 +17,8 @@
...
@@ -17,11 +17,8 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
import
datetime
from
south.db
import
db
from
south.db
import
db
from
south.v2
import
SchemaMigration
from
south.v2
import
SchemaMigration
from
django.db
import
models
class
Migration
(
SchemaMigration
):
class
Migration
(
SchemaMigration
):
...
...
trans/migrations/0046_auto__add_field_unit_contentsum.py
View file @
0eb42530
...
@@ -17,11 +17,8 @@
...
@@ -17,11 +17,8 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
import
datetime
from
south.db
import
db
from
south.db
import
db
from
south.v2
import
SchemaMigration
from
south.v2
import
SchemaMigration
from
django.db
import
models
class
Migration
(
SchemaMigration
):
class
Migration
(
SchemaMigration
):
...
...
trans/migrations/0047_fill_in_contentsum.py
View file @
0eb42530
...
@@ -17,12 +17,9 @@
...
@@ -17,12 +17,9 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
import
datetime
import
hashlib
import
hashlib
from
south.db
import
db
from
south.v2
import
DataMigration
from
south.v2
import
DataMigration
from
django.db
import
models
class
Migration
(
DataMigration
):
class
Migration
(
DataMigration
):
...
...
trans/migrations/0048_auto__add_field_check_contentsum__add_field_suggestion_contentsum__add.py
View file @
0eb42530
...
@@ -17,11 +17,8 @@
...
@@ -17,11 +17,8 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
import
datetime
from
south.db
import
db
from
south.db
import
db
from
south.v2
import
SchemaMigration
from
south.v2
import
SchemaMigration
from
django.db
import
models
class
Migration
(
SchemaMigration
):
class
Migration
(
SchemaMigration
):
...
...
trans/migrations/0049_link_unitdata_on_contentsum.py
View file @
0eb42530
...
@@ -17,11 +17,8 @@
...
@@ -17,11 +17,8 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
import
datetime
from
south.db
import
db
from
south.v2
import
DataMigration
from
south.v2
import
DataMigration
from
django.db
import
models
class
Migration
(
DataMigration
):
class
Migration
(
DataMigration
):
...
...
trans/migrations/0050_auto__del_field_check_checksum__del_unique_check_project_checksum_chec.py
View file @
0eb42530
...
@@ -17,11 +17,8 @@
...
@@ -17,11 +17,8 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
import
datetime
from
south.db
import
db
from
south.db
import
db
from
south.v2
import
SchemaMigration
from
south.v2
import
SchemaMigration
from
django.db
import
models
class
Migration
(
SchemaMigration
):
class
Migration
(
SchemaMigration
):
...
...
trans/migrations/0051_auto__add_field_translation_commit_message.py
View file @
0eb42530
...
@@ -17,11 +17,8 @@
...
@@ -17,11 +17,8 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
import
datetime
from
south.db
import
db
from
south.db
import
db
from
south.v2
import
SchemaMigration
from
south.v2
import
SchemaMigration
from
django.db
import
models
class
Migration
(
SchemaMigration
):
class
Migration
(
SchemaMigration
):
...
...
trans/migrations/0052_auto__add_field_subproject_new_base.py
View file @
0eb42530
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
import
datetime
#
# Copyright © 2012 - 2013 Michal Čihař <michal@cihar.com>
#
# This file is part of Weblate <http://weblate.org/>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
from
south.db
import
db
from
south.db
import
db
from
south.v2
import
SchemaMigration
from
south.v2
import
SchemaMigration
from
django.db
import
models
class
Migration
(
SchemaMigration
):
class
Migration
(
SchemaMigration
):
...
@@ -213,4 +229,4 @@ class Migration(SchemaMigration):
...
@@ -213,4 +229,4 @@ class Migration(SchemaMigration):
}
}
}
}
complete_apps
=
[
'trans'
]
complete_apps
=
[
'trans'
]
\ No newline at end of file
trans/tests/exports.py
View file @
0eb42530
...
@@ -23,7 +23,7 @@ Tests for data exports.
...
@@ -23,7 +23,7 @@ Tests for data exports.
"""
"""
from
django.core.urlresolvers
import
reverse
from
django.core.urlresolvers
import
reverse
from
django.utils
import
simple
json
import
json
from
trans.tests.views
import
ViewTestCase
from
trans.tests.views
import
ViewTestCase
...
@@ -56,7 +56,7 @@ class ExportsViewTest(ViewTestCase):
...
@@ -56,7 +56,7 @@ class ExportsViewTest(ViewTestCase):
response
=
self
.
client
.
get
(
response
=
self
.
client
.
get
(
reverse
(
'export_stats'
,
kwargs
=
self
.
kw_subproject
)
reverse
(
'export_stats'
,
kwargs
=
self
.
kw_subproject
)
)
)
parsed
=
simple
json
.
loads
(
response
.
content
)
parsed
=
json
.
loads
(
response
.
content
)
self
.
assertEqual
(
parsed
[
0
][
'name'
],
'Czech'
)
self
.
assertEqual
(
parsed
[
0
][
'name'
],
'Czech'
)
def
test_data
(
self
):
def
test_data
(
self
):
...
...
trans/tests/js_views.py
View file @
0eb42530
...
@@ -24,7 +24,7 @@ Tests for AJAX/JS views.
...
@@ -24,7 +24,7 @@ Tests for AJAX/JS views.
from
trans.tests.views
import
ViewTestCase
from
trans.tests.views
import
ViewTestCase
from
django.core.urlresolvers
import
reverse
from
django.core.urlresolvers
import
reverse
from
django.utils
import
simple
json
import
json
class
JSViewsTest
(
ViewTestCase
):
class
JSViewsTest
(
ViewTestCase
):
...
@@ -53,7 +53,7 @@ class JSViewsTest(ViewTestCase):
...
@@ -53,7 +53,7 @@ class JSViewsTest(ViewTestCase):
{
'service'
:
'dummy'
}
{
'service'
:
'dummy'
}
)
)
self
.
assertContains
(
response
,
'Ahoj'
)
self
.
assertContains
(
response
,
'Ahoj'
)
data
=
simple
json
.
loads
(
response
.
content
)
data
=
json
.
loads
(
response
.
content
)
self
.
assertEqual
(
self
.
assertEqual
(
data
[
'translations'
],
data
[
'translations'
],
[
[
...
...
trans/views/api.py
View file @
0eb42530
...
@@ -252,5 +252,5 @@ def export_stats(request, project, subproject):
...
@@ -252,5 +252,5 @@ def export_stats(request, project, subproject):
default
=
json_dt_handler
,
default
=
json_dt_handler
,
indent
=
indent
,
indent
=
indent
,
),
),
mime
type
=
'application/json'
content_
type
=
'application/json'
)
)
trans/views/dictionary.py
View file @
0eb42530
...
@@ -158,7 +158,7 @@ def download_dictionary_ttkit(export_format, prj, lang, words):
...
@@ -158,7 +158,7 @@ def download_dictionary_ttkit(export_format, prj, lang, words):
store
=
pofile
()
store
=
pofile
()
# Export parameters
# Export parameters
mime
type
=
'text/x-po'
content_
type
=
'text/x-po'
extension
=
'po'
extension
=
'po'
has_lang
=
False
has_lang
=
False
...
@@ -182,12 +182,12 @@ def download_dictionary_ttkit(export_format, prj, lang, words):
...
@@ -182,12 +182,12 @@ def download_dictionary_ttkit(export_format, prj, lang, words):
store
=
tbxfile
()
store
=
tbxfile
()
# Export parameters
# Export parameters
mime
type
=
'application/x-tbx'
content_
type
=
'application/x-tbx'
extension
=
'tbx'
extension
=
'tbx'
has_lang
=
True
has_lang
=
True
# Setup response and headers
# Setup response and headers
response
=
HttpResponse
(
mimetype
=
'%s; charset=utf-8'
%
mime
type
)
response
=
HttpResponse
(
content_type
=
'%s; charset=utf-8'
%
content_
type
)
filename
=
'glossary-%s-%s.%s'
%
(
prj
.
slug
,
lang
.
code
,
extension
)
filename
=
'glossary-%s-%s.%s'
%
(
prj
.
slug
,
lang
.
code
,
extension
)
response
[
'Content-Disposition'
]
=
'attachment; filename=%s'
%
filename
response
[
'Content-Disposition'
]
=
'attachment; filename=%s'
%
filename
...
@@ -231,7 +231,7 @@ def download_dictionary(request, project, lang):
...
@@ -231,7 +231,7 @@ def download_dictionary(request, project, lang):
return
download_dictionary_ttkit
(
export_format
,
prj
,
lang
,
words
)
return
download_dictionary_ttkit
(
export_format
,
prj
,
lang
,
words
)
# Manually create CSV file
# Manually create CSV file
response
=
HttpResponse
(
mime
type
=
'text/csv; charset=utf-8'
)
response
=
HttpResponse
(
content_
type
=
'text/csv; charset=utf-8'
)
filename
=
'dictionary-%s-%s.csv'
%
(
prj
.
slug
,
lang
.
code
)
filename
=
'dictionary-%s-%s.csv'
%
(
prj
.
slug
,
lang
.
code
)
response
[
'Content-Disposition'
]
=
'attachment; filename=%s'
%
filename
response
[
'Content-Disposition'
]
=
'attachment; filename=%s'
%
filename
...
...
trans/views/files.py
View file @
0eb42530
...
@@ -40,7 +40,7 @@ def download_translation(request, project, subproject, lang):
...
@@ -40,7 +40,7 @@ def download_translation(request, project, subproject, lang):
# Create response
# Create response
response
=
HttpResponse
(
response
=
HttpResponse
(
file
(
srcfilename
).
read
(),
file
(
srcfilename
).
read
(),
mime
type
=
obj
.
store
.
mimetype
content_
type
=
obj
.
store
.
mimetype
)
)
# Fill in response headers
# Fill in response headers
...
@@ -59,7 +59,7 @@ def download_language_pack(request, project, subproject, lang):
...
@@ -59,7 +59,7 @@ def download_language_pack(request, project, subproject, lang):
# Create response
# Create response
response
=
HttpResponse
(
response
=
HttpResponse
(
obj
.
store
.
get_language_pack
(),
obj
.
store
.
get_language_pack
(),
mime
type
=
mime
content_
type
=
mime
)
)
# Fill in response headers
# Fill in response headers
...
...
trans/views/js.py
View file @
0eb42530
...
@@ -84,7 +84,7 @@ def translate(request, unit_id):
...
@@ -84,7 +84,7 @@ def translate(request, unit_id):
return
HttpResponse
(
return
HttpResponse
(
json
.
dumps
(
response
),
json
.
dumps
(
response
),
mime
type
=
'application/json'
content_
type
=
'application/json'
)
)
...
@@ -209,5 +209,5 @@ def js_config(request):
...
@@ -209,5 +209,5 @@ def js_config(request):
'machine_services'
:
machine_services
,
'machine_services'
:
machine_services
,
}
}
),
),
mime
type
=
'application/javascript'
content_
type
=
'application/javascript'
)
)
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