Commit Graph

169 Commits

Author SHA1 Message Date
Michal Čihař
e658c65b19 Render plurals 2012-03-01 13:35:31 +01:00
Michal Čihař
3c384e17c0 Started renderer for plural editor 2012-03-01 13:31:23 +01:00
Michal Čihař
7837628b29 Pass parsed plurals to form 2012-03-01 13:31:10 +01:00
Michal Čihař
4b1e715809 Properly handle non-plural strings here 2012-03-01 13:30:41 +01:00
Michal Čihař
94db84d86e Translation display filter handles plurals 2012-03-01 13:24:07 +01:00
Michal Čihař
01f3e8176f Stay on unit after handling suggestion 2012-03-01 11:50:07 +01:00
Michal Čihař
a15aa721f9 Accepting/deleting suggestions works 2012-03-01 11:46:30 +01:00
Michal Čihař
fa05233fbe Real links for accept/delete buttons 2012-03-01 11:39:58 +01:00
Michal Čihař
a5098513bc Highlight whitespaces and keep newlines in strings 2012-03-01 11:23:56 +01:00
Michal Čihař
22f7d39da4 Add filter for formatting strings 2012-03-01 11:11:25 +01:00
Michal Čihař
1996082a71 Save suggestions 2012-03-01 11:01:14 +01:00
Michal Čihař
6b4a616d08 Admin interface for suggestions 2012-03-01 10:51:43 +01:00
Michal Čihař
fe463a6907 Add method for accepting suggestion 2012-03-01 10:03:01 +01:00
Michal Čihař
d22378b06b Bind suggestion to language 2012-03-01 10:01:04 +01:00
Michal Čihař
f48a743c24 Bind suggestion to project 2012-03-01 09:59:32 +01:00
Michal Čihař
fc66f4ba4a Way to get related suggestions 2012-02-29 15:29:10 +01:00
Michal Čihař
adcedca849 Target can not be empty on suggestion 2012-02-29 15:27:23 +01:00
Michal Čihař
e1823170b5 Model for suggestions 2012-02-29 15:26:57 +01:00
Michal Čihař
47be0c2877 Check authenticated user on save, prepare for suggestions 2012-02-29 15:22:00 +01:00
Michal Čihař
67f16ae7ab Make login work 2012-02-29 15:03:45 +01:00
Michal Čihař
5a77b1b59e Log when message has disappeared 2012-02-29 14:12:54 +01:00
Michal Čihař
6d88952df5 Properly handle when message has disappeared 2012-02-29 14:11:07 +01:00
Michal Čihař
85c0ddb2dc Show message when we hit end 2012-02-29 14:08:37 +01:00
Michal Čihař
16431e9b78 Redirect to index on end 2012-02-29 13:56:58 +01:00
Michal Čihař
5db6b3e288 Check whether database cache is up to date before saving 2012-02-29 13:54:54 +01:00
Michal Čihař
f4ad31c211 Update PO-Revision-Date header 2012-02-29 13:50:40 +01:00
Michal Čihař
8479c39808 Save language code 2012-02-29 13:47:53 +01:00
Michal Čihař
56ee242b2c Update plural forms 2012-02-29 13:46:25 +01:00
Michal Čihař
bbc4e35bb2 Store generator header 2012-02-29 13:38:58 +01:00
Michal Čihař
466c6a76f5 Link to go to previous translation 2012-02-29 13:02:43 +01:00
Michal Čihař
8fb99a9eee Better logging of update 2012-02-29 11:52:32 +01:00
Michal Čihař
f824770223 Fix typo 2012-02-29 11:50:11 +01:00
Michal Čihař
9ec1ee3150 Update blob id on commit 2012-02-29 11:48:16 +01:00
Michal Čihař
d080b3d0cd Actually save translation 2012-02-29 11:44:43 +01:00
Michal Čihař
04666ac331 Form for non-plural strings 2012-02-29 11:41:08 +01:00
Michal Čihař
fac9eead21 Use SITE_TITLE in all places 2012-02-29 11:17:32 +01:00
Michal Čihař
75daafb7bf Add index page 2012-02-29 11:16:05 +01:00
Michal Čihař
934862b103 Include version in footer 2012-02-29 11:08:03 +01:00
Michal Čihař
d517a9a29a Add some helps 2012-02-29 10:07:29 +01:00
Michal Čihař
dd32b9918e Use format string for repoweb links 2012-02-29 10:03:37 +01:00
Michal Čihař
738d67a9c5 Update translation stats on save 2012-02-29 09:57:04 +01:00
Michal Čihař
87d198909d Factor out stats updating 2012-02-29 09:56:39 +01:00
Michal Čihař
56270febc3 Configurable web browser url 2012-02-28 16:03:23 +01:00
Michal Čihař
84c24dc1c7 Show links to source files 2012-02-28 16:01:07 +01:00
Michal Čihař
2bded08c45 Start translation form 2012-02-28 15:40:08 +01:00
Michal Čihař
69af54174d Fix import condition 2012-02-28 15:28:56 +01:00
Michal Čihař
9333516ac3 This is coming from backend as well 2012-02-28 15:26:23 +01:00
Michal Čihař
da32675f35 Command line interface for force update 2012-02-28 15:25:30 +01:00
Michal Čihař
ee76af5ff4 Make it possible to force refresh 2012-02-28 15:21:52 +01:00
Michal Čihař
07cc3e6328 Add command for loading po files 2012-02-28 15:20:44 +01:00
Michal Čihař
79f865b380 Work with positions instead of offset 2012-02-28 15:16:02 +01:00
Michal Čihař
4a1eb36027 Keep ordering from po file 2012-02-28 15:12:41 +01:00
Michal Čihař
8eb8f991da Propagate some status variables 2012-02-28 15:09:03 +01:00
Michal Čihař
d2ef58f523 Grab unit to translate 2012-02-28 15:00:23 +01:00
Michal Čihař
d293d97ecd View for translating 2012-02-28 14:55:34 +01:00
Michal Čihař
00b1e96153 Display links to quick translate 2012-02-28 14:50:20 +01:00
Michal Čihař
08bb92f8aa Save fuzzy flag updates to backend 2012-02-28 14:36:51 +01:00
Michal Čihař
db8f007e44 Update translated/fuzzy flags on save 2012-02-28 14:35:31 +01:00
Michal Čihař
14bf0fe4b0 Update translator header 2012-02-28 14:32:47 +01:00
Michal Čihař
89a7da30bf Move author definition 2012-02-28 14:30:09 +01:00
Michal Čihař
c5892f62d0 Initialize variable 2012-02-28 14:29:31 +01:00
Michal Čihař
9becb305c0 Log about commiting 2012-02-28 14:29:24 +01:00
Michal Čihař
e36ca7363c Propagate only to same language 2012-02-28 14:27:11 +01:00
Michal Čihař
a04cf580a6 Fix query params 2012-02-28 14:26:04 +01:00
Michal Čihař
ede1fe5a5c Various fixes to backend storing 2012-02-28 14:22:11 +01:00
Michal Čihař
b9e959f18d Fix order of params 2012-02-28 14:04:21 +01:00
Michal Čihař
62d3c582d0 Correct traceback printing 2012-02-28 14:03:33 +01:00
Michal Čihař
8c8f3c6ae4 Implemented saving of messages
Messages should be now saved to backend and propagated to other
projects.
2012-02-28 13:59:30 +01:00
Michal Čihař
19d25982c6 Store flags 2012-02-28 13:32:01 +01:00
Michal Čihař
22075cd636 Store comments in db as well 2012-02-28 13:25:06 +01:00
Michal Čihař
67dd3c4304 Better check for translatable items 2012-02-28 13:20:53 +01:00
Michal Čihař
6568c25472 Do not include obsolete units 2012-02-28 13:11:07 +01:00
Michal Čihař
846189dbdc Identify units by hash 2012-02-28 11:24:53 +01:00
Michal Čihař
077a58afa1 Wrap some long lines 2012-02-28 10:32:07 +01:00
Michal Čihař
7206505d91 Fix translation object URL 2012-02-28 10:31:19 +01:00
Michal Čihař
40fc1799dc Fix gettinf of translation object 2012-02-28 10:31:10 +01:00
Michal Čihař
54a48dfe88 Store directly percent 2012-02-28 10:27:59 +01:00
Michal Čihař
3936780671 Ignore po headers 2012-02-28 10:27:29 +01:00
Michal Čihař
f6bd455a2e Update stats when storing units 2012-02-28 10:17:57 +01:00
Michal Čihař
5e1d2b39f7 Fix logging of git 2012-02-28 10:17:43 +01:00
Michal Čihař
a1ba86dcf1 Cache whether entry is translated 2012-02-28 10:13:43 +01:00
Michal Čihař
b35b9d2463 Sort order for projects 2012-02-28 10:11:06 +01:00
Michal Čihař
cf0cf84d56 Better titles 2012-02-28 09:26:31 +01:00
Michal Čihař
6727585666 Some logging on git operations 2012-02-27 18:09:00 +01:00
Michal Čihař
74afdf1f3a Faster processing by avoiding two writes on creating new entry 2012-02-27 18:05:42 +01:00
Michal Čihař
3cce2540f3 Add logging to po files processing 2012-02-27 18:02:34 +01:00
Michal Čihař
e9dd7c07a9 Another place for new plurals code 2012-02-27 17:56:06 +01:00
Michal Čihař
0fa050534e Use new shared plurals code 2012-02-27 17:54:42 +01:00
Michal Čihař
e8956cfbeb Factor out plurals handling 2012-02-27 17:54:14 +01:00
Michal Čihař
941aa9747b Actual parsing of po files and loading to database 2012-02-27 17:50:47 +01:00
Michal Čihař
b68fd17259 Po file loading 2012-02-27 17:12:08 +01:00
Michal Čihař
6538ce2192 Prepare stub for actually loading po file 2012-02-27 16:29:32 +01:00
Michal Čihař
07af4e87ad Initial code for import 2012-02-27 16:09:31 +01:00
Michal Čihař
1dbb89177b Use Translation manager to process data 2012-02-27 15:44:06 +01:00
Michal Čihař
58cf8b798e Initial stub for filling up translations list 2012-02-27 15:40:31 +01:00
Michal Čihař
d815cbd002 Use git based updates, these are much faster 2012-02-27 15:40:10 +01:00
Michal Čihař
d1ccdfb151 Complete git repository setup 2012-02-27 15:03:26 +01:00
Michal Čihař
3f4de497de Auto cloning of git repo 2012-02-27 13:34:51 +01:00
Michal Čihař
baa6cf036f Fix rendering 2012-02-27 11:58:55 +01:00
Michal Čihař
802be0e27f Verbose names 2012-02-27 11:55:12 +01:00