wearerequired / traduttore

🗼 A WordPress plugin to improve the I18N workflow for your own projects based on @GlotPress.
https://wearerequired.github.io/traduttore/
72 stars 15 forks source link

Store last updated time in database #120

Closed swissspidy closed 5 years ago

swissspidy commented 5 years ago

Description

This changes the updater so that after every string import Traduttore stores that time in the database.

Makes debugging a bit easier.

Fixes #114.

Checklist:

codecov-io commented 5 years ago

Codecov Report

Merging #120 into master will increase coverage by 0.19%. The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #120      +/-   ##
============================================
+ Coverage     77.66%   77.86%   +0.19%     
- Complexity      328      332       +4     
============================================
  Files            23       23              
  Lines           788      795       +7     
============================================
+ Hits            612      619       +7     
  Misses          176      176
Impacted Files Coverage Δ Complexity Δ
inc/Project.php 100% <100%> (ø) 48 <4> (+4) :arrow_up:
inc/Updater.php 95% <100%> (+0.17%) 22 <0> (ø) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update af70e10...0571dcc. Read the comment docs.

swissspidy commented 5 years ago

There was a merge conflict, so now I need a new review approval 🙂